Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
300f52fc
Commit
300f52fc
authored
Aug 02, 2012
by
Andreas Wandinger
Browse files
Minor fix.
GREEN refs 862
parent
3a7bd047
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.testing/trunk/src/org/fortiss/af3/testing/validator/platform/generic/SourcePackageGenerator.java
View file @
300f52fc
...
...
@@ -91,7 +91,7 @@ import org.fortiss.af3.testing.model.TestInput;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash:
DDDD78DAF2A6E2B023C42BD4721BF5C
7
* @ConQAT.Rating GREEN Hash:
13B3E176D065A59EFE7FAC09E5E35D9
7
*/
class
SourcePackageGenerator
{
...
...
@@ -201,7 +201,7 @@ class SourcePackageGenerator {
return
funcCall
(
"printf"
,
stringConst
(
port
.
getName
()
+
"=%i,"
),
value
);
}
if
(
type
instanceof
TDouble
)
{
return
funcCall
(
"printf"
,
stringConst
(
port
.
getName
()
+
"=%
ll
f,"
),
value
);
return
funcCall
(
"printf"
,
stringConst
(
port
.
getName
()
+
"=%f,"
),
value
);
}
if
(
type
instanceof
TBool
)
{
// use inlined if on the port value to print "true" or "false" for boolean ports
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment