Loading 08_modules/0802_module_definitions_part/080203_importing_from_modules/08020305_importing_all_definitions_of_a_module/NegSem_08020305_ImportingAllDefinitionsOfAModule_001.ttcn +2 −2 Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:8.2.3.5, Ensure that when all definitions are imported and then included, a sample constant is not visible. ** @purpose 1:8.2.3.5, Ensure that when all definitions are imported and then excluded, a sample constant is not visible. ** @verdict pass reject *****************************************************************/ Loading @@ -23,7 +23,7 @@ import from NegSem_08020305_ImportingAllDefinitionsOfAModule_001_import all exce type component GeneralComp {} testcase TC_NegSem_08020305_ImportingAllDefinitionsOfAModule_001() runs on GeneralComp { if (c_myconst == 43532) { if (c_myconst == 43532) { // should not be visible due to the const all exception setverdict(fail); } else { setverdict(pass); Loading Loading
08_modules/0802_module_definitions_part/080203_importing_from_modules/08020305_importing_all_definitions_of_a_module/NegSem_08020305_ImportingAllDefinitionsOfAModule_001.ttcn +2 −2 Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:8.2.3.5, Ensure that when all definitions are imported and then included, a sample constant is not visible. ** @purpose 1:8.2.3.5, Ensure that when all definitions are imported and then excluded, a sample constant is not visible. ** @verdict pass reject *****************************************************************/ Loading @@ -23,7 +23,7 @@ import from NegSem_08020305_ImportingAllDefinitionsOfAModule_001_import all exce type component GeneralComp {} testcase TC_NegSem_08020305_ImportingAllDefinitionsOfAModule_001() runs on GeneralComp { if (c_myconst == 43532) { if (c_myconst == 43532) { // should not be visible due to the const all exception setverdict(fail); } else { setverdict(pass); Loading