Changeset 55 for trunk/t3q-examples/checkLogFormat
- Timestamp:
- 02/21/12 11:30:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/t3q-examples/checkLogFormat/checkLogFormat.ttcn3
r39 r55 6 6 //incorrect 7 7 log ( "***" ) 8 9 test(); 10 //correct 11 log("*** f_1: INFO: OK - random value = " & bit2str(v_random) & " ***"); 12 13 test(); 14 //correct - function calls are ignored 15 log("*** f_1: " & getMyStatus() & "INFO: OK - random value = " & bit2str(v_random) & " ***"); 16 17 test(); 18 //incorrect - charstring function call parameters are taken into consideration resulting in 19 //an incorrect log statement format 20 log("*** f_1: " & getMyStatus("1") & "INFO: OK - random value = " & bit2str(v_random) & " ***"); 21 8 22 } 9 23
Note: See TracChangeset
for help on using the changeset viewer.