diff --git a/conformance_test/OOP_tests/NOTES.txt b/conformance_test/OOP_tests/NOTES.txt index 34cf9e5fcdf92447ee56d27618db92986a1d743d..b513d2f60ac0bec61b759f27549f62d99c362041 100644 --- a/conformance_test/OOP_tests/NOTES.txt +++ b/conformance_test/OOP_tests/NOTES.txt @@ -151,41 +151,40 @@ Negative tests =============================================================== The following test cases passed: ================================ - [50101_classes.script]: 'NegSem_5010101_scopeRules_001' - [50101_classes.script]: 'NegSem_5010102_abstractClasses_001' - [50101_classes.script]: 'NegSem_5010103_externalClasses_001a' - [50101_classes.script]: 'NegSem_5010103_externalClasses_001b' - [50101_classes.script]: 'NegSem_5010103_externalClasses_002' - [50101_classes.script]: 'NegSem_5010104_finalClasses_001' - [50101_classes.script]: 'NegSem_5010107_Methods_003a' - [50101_classes.script]: 'NegSem_5010107_Methods_004' - [50101_classes.script]: 'NegSem_5010109_Visibility_001' - [50101_classes.script]: 'NegSem_5010109_Visibility_002' - [50101_classes.script]: 'NegSem_5010109_Visibility_004' - [50101_classes.script]: 'NegSem_50101_top_level_001' - [50101_classes.script]: 'NegSem_50101_top_level_002' - [50101_classes.script]: 'NegSem_50101_top_level_003' - [50101_classes.script]: 'NegSem_50101_top_level_004' - [50101_classes.script]: 'NegSem_50101_top_level_006' - [50101_classes.script]: 'NegSem_50101_top_level_006a' - [50101_classes.script]: 'NegSem_50101_top_level_007' - [50101_classes.script]: 'NegSem_50101_top_level_008' - [50101_classes.script]: 'NegSem_50101_top_level_008a' - [50101_classes.script]: 'NegSem_50101_top_level_008b' - [50101_classes.script]: 'NegSem_50101_top_level_009' - [50101_classes.script]: 'NegSem_50101_top_level_010' - [50101_classes.script]: 'NegSem_50101_top_level_011' - [50101_classes.script]: 'NegSem_50101_top_level_011a' - [50101_objects.script]: 'NegSem_5010206_Casting_001' +[50101_classes.script]: 'NegSem_5010101_scopeRules_001' + [50101_classes.script]: 'NegSem_5010102_abstractClasses_001' + [50101_classes.script]: 'NegSem_5010103_externalClasses_001a' + [50101_classes.script]: 'NegSem_5010103_externalClasses_001b' + [50101_classes.script]: 'NegSem_5010103_externalClasses_002' + [50101_classes.script]: 'NegSem_5010104_finalClasses_001' + [50101_classes.script]: 'NegSem_5010107_Methods_001' + [50101_classes.script]: 'NegSem_5010107_Methods_002' + [50101_classes.script]: 'NegSem_5010107_Methods_003a' + [50101_classes.script]: 'NegSem_5010107_Methods_004' + [50101_classes.script]: 'NegSem_5010109_Visibility_001' + [50101_classes.script]: 'NegSem_5010109_Visibility_002' + [50101_classes.script]: 'NegSem_5010109_Visibility_003' + [50101_classes.script]: 'NegSem_5010109_Visibility_004' + [50101_classes.script]: 'NegSem_50101_top_level_001' + [50101_classes.script]: 'NegSem_50101_top_level_002' + [50101_classes.script]: 'NegSem_50101_top_level_003' + [50101_classes.script]: 'NegSem_50101_top_level_004' + [50101_classes.script]: 'NegSem_50101_top_level_006' + [50101_classes.script]: 'NegSem_50101_top_level_006a' + [50101_classes.script]: 'NegSem_50101_top_level_007' + [50101_classes.script]: 'NegSem_50101_top_level_008' + [50101_classes.script]: 'NegSem_50101_top_level_008a' + [50101_classes.script]: 'NegSem_50101_top_level_008b' + [50101_classes.script]: 'NegSem_50101_top_level_009' + [50101_classes.script]: 'NegSem_50101_top_level_010' + [50101_classes.script]: 'NegSem_50101_top_level_011' + [50101_classes.script]: 'NegSem_50101_top_level_011a' + [50101_objects.script]: 'NegSem_5010206_Casting_001' The following test cases failed: ================================ - [50101_classes.script]: 'NegSem_5010107_Methods_001' - [50101_classes.script]: 'NegSem_5010107_Methods_002' - [50101_classes.script]: 'NegSem_5010109_Visibility_003' - [50101_classes.script]: 'NegSem_50101_top_level_004a' - [50101_classes.script]: 'NegSem_50101_top_level_005' - [50101_objects.script]: 'NegSem_5010202_ObjectReferences_001' - + [50101_classes.script]: 'NegSem_50101_top_level_004a' + [50101_classes.script]: 'NegSem_50101_top_level_005' + [50101_objects.script]: 'NegSem_5010202_ObjectReferences_001' The following test cases are inconclusive: ========================================== None. @@ -200,11 +199,10 @@ Abnormal termination occured during the following test cases: =============================================================== 32 test cases from 2 script files were executed Total number of executed test cases: 32 - PASSED test cases: 26 - FAILED test cases: 6 + PASSED test cases: 29 + FAILED test cases: 3 INCONCLUSIVE test cases: 0 Abnormally terminated test cases: 0 Memory leaked test cases: 0 Session saved to log file 'SA_log.report' -Elapsed time in this session: 1 seconds - +Elapsed time in this session: 2 seconds diff --git a/conformance_test/OOP_tests/negative_tests/50101_classes.script b/conformance_test/OOP_tests/negative_tests/50101_classes.script index 1514d798964bab59fded8d593b9f884aca9d20e9..a631563ab083ff0be24dfffeba6f5d1b5e7434d9 100644 --- a/conformance_test/OOP_tests/negative_tests/50101_classes.script +++ b/conformance_test/OOP_tests/negative_tests/50101_classes.script @@ -386,7 +386,6 @@ error: Final classes cannot be abstract ** @purpose 5.1.1.7, Ensure that public methods shall be overridden only by public methods. ** @verdict pass reject *****************************************************************/ -//https://bugs.eclipse.org/bugs/show_bug.cgi?id=568716 module NegSem_5010107_Methods_001 "TTCN-3:2018 Object-Oriented" { type component GeneralComp { @@ -424,7 +423,7 @@ module NegSem_5010107_Methods_001 "TTCN-3:2018 Object-Oriented" { <END_MODULE> <RESULT COUNT> -error +error: Public methods can be only overridden by public methods <END_RESULT> <END_TC> @@ -446,7 +445,6 @@ error ** @purpose 5.1.1.7, Ensure that protected methods may be overridden by public or protected methods only. ** @verdict pass reject *****************************************************************/ -//https://bugs.eclipse.org/bugs/show_bug.cgi?id=568742 module NegSem_5010107_Methods_002 "TTCN-3:2018 Object-Oriented" { type component GeneralComp { @@ -484,7 +482,7 @@ module NegSem_5010107_Methods_002 "TTCN-3:2018 Object-Oriented" { <END_MODULE> <RESULT COUNT> -error +error: Protected methods can be only overridden by public or protected methods <END_RESULT> <END_TC> @@ -733,7 +731,6 @@ error: variable `@NegSem_5010109_Visibility_002.MySubClass.v_my' shadows inherit ** @verdict pass reject *****************************************************************/ -//https://bugs.eclipse.org/bugs/show_bug.cgi?id=568743 module NegSem_5010109_Visibility_003 "TTCN-3:2018 Object-Oriented" { type component GeneralComp { @@ -771,7 +768,7 @@ module NegSem_5010109_Visibility_003 "TTCN-3:2018 Object-Oriented" { <END_MODULE> <RESULT COUNT> -error +error: Public methods can be only overridden by public methods <END_RESULT> <END_TC>