Changeset 55 for trunk/t3q-examples
- Timestamp:
- 02/21/12 11:30:46 (13 years ago)
- Location:
- trunk/t3q-examples
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/t3q-examples/CodeFormatting/Generic/formattingIssues.ttcn3
r4 r55 1 1 module formattingIssues { 2 2 import from a all; 3 import from a all;3 import from ab all; 4 4 5 group a {5 group ga { 6 6 function f_ssMsInitiateDhcpv4(){ 7 7 //blas bla blas … … 11 11 } 12 12 function f_ssMsStartDhcpv4 (){ 13 var integer a := b;13 var integer ai := b; 14 14 15 15 } -
trunk/t3q-examples/NamingConventions/NC_parameters_functions_testCases_altsteps.ttcn3
r4 r55 15 15 //altsteps, good and bad 16 16 altstep a_a1() { 17 } 17 } with {extension "Description: Does IUT behaves as UA Server ?"} 18 18 19 19 altstep a_1() { -
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.