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
03c54cf8
Commit
03c54cf8
authored
Aug 01, 2012
by
Florian Hölzl
Browse files
YELLOW
refs 862
parent
9d29ba7a
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 @
03c54cf8
...
...
@@ -91,7 +91,7 @@ import org.fortiss.af3.testing.model.TestInput;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating
RED
Hash: 7
3C7BFFE4E4283A21591B57807D7E0B8
* @ConQAT.Rating
YELLOW
Hash: 7
9A38E28E4ECB00B5B242E4DCF19411F
*/
class
SourcePackageGenerator
{
...
...
@@ -204,8 +204,7 @@ class SourcePackageGenerator {
return
funcCall
(
"printf"
,
stringConst
(
port
.
getName
()
+
"=%llf,"
),
value
);
}
if
(
type
instanceof
TBool
)
{
// TODO: the following line is a HACK
// TODO (Moudy) Ticket number is required
// use inlined if on the port value to print "true" or "false" for boolean ports
return
funcCall
(
"printf"
,
stringConst
(
port
.
getName
()
+
"=%s,\", value == 0 ? \"false\": \"true"
));
}
...
...
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