Commit 03c54cf8 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

YELLOW

refs 862
parent 9d29ba7a
......@@ -91,7 +91,7 @@ import org.fortiss.af3.testing.model.TestInput;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating RED Hash: 73C7BFFE4E4283A21591B57807D7E0B8
* @ConQAT.Rating YELLOW Hash: 79A38E28E4ECB00B5B242E4DCF19411F
*/
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"));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment