Ignore:
Timestamp:
02/21/12 11:30:46 (13 years ago)
Author:
phdmakk
Message:
  • updated and improved examples
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t3q-examples/checkLogFormat/checkLogFormat.ttcn3

    r39 r55  
    66        //incorrect 
    77        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         
    822    } 
    923 
Note: See TracChangeset for help on using the changeset viewer.