... | ... | @@ -7,50 +7,50 @@ This document lists the issues with the official OOP conformance test codes. |
|
|
|
|
|
- [Missing "language" keyword issue](https://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/432)
|
|
|
|
|
|
## Sem_50101_top_level_005.ttcn
|
|
|
## Sem_50101_top_level_005.ttcn [corrected]
|
|
|
|
|
|
The purpose of the test is to check that a class can declare a port as member, but the class declaration body is empty.
|
|
|
Additionally, the testcase line misses the mandatory parentheses after the testcase name.
|
|
|
|
|
|
![image](uploads/2067a9c7b62daa542f4bfec833c4d374/image.png)
|
|
|
|
|
|
## Sem_50101_top_level_006.ttcn
|
|
|
## Sem_50101_top_level_006.ttcn [corrected]
|
|
|
|
|
|
It is unclear if a member function can return a timer. Probably it is not permitted by the standard.
|
|
|
|
|
|
![image](uploads/aae4d7ec2ac46286e43c9d98d055931e/image.png)
|
|
|
|
|
|
## Sem_5010105_Constructors_002
|
|
|
## Sem_5010105_Constructors_002 [corrected]
|
|
|
|
|
|
Field visibility cannot be public.
|
|
|
|
|
|
![image](uploads/663c3e9b8392422a6208eed36223c95d/image.png)
|
|
|
|
|
|
## NegSem_50101_top_level_011
|
|
|
## NegSem_50101_top_level_011 [corrected]
|
|
|
|
|
|
In the first testcase, the order of the **runs on** and **system** clauses is wrong. According to the standard, **runs on** should appear first.
|
|
|
|
|
|
![image](uploads/311cea4a7411a8f21ae0a799ce63c78f/image.png)
|
|
|
|
|
|
## NegSem_50101_top_level_007
|
|
|
## NegSem_50101_top_level_007 [Titan specific, needs to be checked]
|
|
|
|
|
|
Titan has a special handling for anytype. Users have to explicitly define types in the anytype union using extension attributes. Because of this, this test does not compile correcty.
|
|
|
|
|
|
![image](uploads/fc571f4d94b5a5c9c25bba448712e61d/image.png)
|
|
|
|
|
|
## NegSem_5010104_finalClasses_001
|
|
|
## NegSem_5010104_finalClasses_001 [TC NOT FOUND]
|
|
|
|
|
|
The second "not allowed" comment is wrong. Abstract classes can declare non-abstract methods with a body.
|
|
|
|
|
|
![image](uploads/c62512c0db32a8287f27b0f3b4f2ef21/image.png)
|
|
|
|
|
|
## NegSem_5010107_Methods_001
|
|
|
## NegSem_5010107_Methods_001 [corrected]
|
|
|
|
|
|
Parent constructor call with the ': ParentClass()' syntax is only valid in the class type definition, not for the constructor call.
|
|
|
|
|
|
![image](uploads/edcc83880d76e41a035bd2f15104b4da/image.png)
|
|
|
|
|
|
## NegSem_5010107_Methods_004
|
|
|
## NegSem_5010107_Methods_004 [TC NOT FOUND]
|
|
|
|
|
|
According to the standard, 'runs on', 'mtc' and 'system' clauses precedce the 'returns' clause, so in this test the order is wrong.
|
|
|
|
... | ... | |