[Spec tests] Add linkType element to testMaps

This commit is contained in:
anastasiia.spaseeva
2020-04-20 14:45:43 +03:00
parent 3a31150df4
commit d94c212a60
130 changed files with 3130 additions and 1551 deletions
@@ -6,7 +6,8 @@
"specVersion": "0.1-213",
"casesNumber": 1,
"description": "check abstract classes cannot be instantiated directly",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
],
"1": [
@@ -15,13 +16,15 @@
"casesNumber": 1,
"description": "check abstract classes cannot be instantiated directly",
"path": "compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"specVersion": "0.1-213",
"casesNumber": 1,
"description": "check abstract classes can have abstract not implemented members",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
},
@@ -31,7 +34,8 @@
"specVersion": "0.1-213",
"casesNumber": 3,
"description": "check abstract classes can have abstract not implemented members",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}
@@ -44,67 +48,78 @@
"casesNumber": 1,
"description": "check abstract classes can have abstract not implemented members",
"path": "compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 1,
"description": "Abstract classes may contain abstract members, which should be implemented in an anonymous class that inherits from that abstract type",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 1,
"description": "attempt to implement abstract members with invalid types",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 3,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": true
"unexpectedBehaviour": true,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 1,
"description": "Abstract classes may contain abstract members, which should be implemented in an inner class that inherits from that abstract type",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 1,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
},
@@ -114,25 +129,29 @@
"specVersion": "0.1-213",
"casesNumber": 1,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 4,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 3,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}
@@ -7,7 +7,8 @@
"casesNumber": 0,
"description": "Property not initialized",
"path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}