[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-253",
"casesNumber": 1,
"description": "An operator assignment A+\u003dB",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
],
"2": [
@@ -15,7 +16,8 @@
"casesNumber": 1,
"description": "An operator assignment A+\u003dB",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
],
"3": [
@@ -24,7 +26,8 @@
"casesNumber": 1,
"description": "An operator assignment A+\u003dB",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
},
@@ -34,7 +37,8 @@
"specVersion": "0.1-253",
"casesNumber": 1,
"description": "An operator assignment A+\u003dB",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
],
"2": [
@@ -43,7 +47,8 @@
"casesNumber": 1,
"description": "An operator assignment A+\u003dB",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
],
"3": [
@@ -52,7 +57,8 @@
"casesNumber": 1,
"description": "An operator assignment A+\u003dB",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
}
@@ -65,7 +71,8 @@
"casesNumber": 1,
"description": "An operator assignment A+\u003dB",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
},
@@ -76,7 +83,8 @@
"casesNumber": 1,
"description": "An operator assignment A+\u003dB",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/pos/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
}
@@ -7,14 +7,16 @@
"casesNumber": 3,
"description": "Check the expression is not assignable if a navigation expression referring to an unmutable property",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"specVersion": "0.1-222",
"casesNumber": 2,
"description": "Check the expression is not assignable if an identifier referring to an unmutable property",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
}
@@ -6,7 +6,8 @@
"specVersion": "0.1-222",
"casesNumber": 4,
"description": "Both left-hand and right-hand sides of an assignment must be expressions",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}
@@ -18,13 +19,15 @@
"specVersion": "0.1-222",
"casesNumber": 3,
"description": "Check the expression is not assignable if a navigation expression referring to an unmutable property",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-222",
"casesNumber": 2,
"description": "Check the expression is not assignable if an identifier referring to an unmutable property",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}
@@ -37,21 +40,24 @@
"casesNumber": 3,
"description": "Check the expression is not assignable if a navigation expression referring to an unmutable property",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "check unsafe prefix increment expression call for an assignable expression",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "check unsafe prefix decrement expression call for an assignable expression",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
],
"1": [
@@ -60,7 +66,8 @@
"casesNumber": 2,
"description": "Check the expression is not assignable if an identifier referring to an unmutable property",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
}
@@ -6,7 +6,8 @@
"specVersion": "0.1-253",
"casesNumber": 3,
"description": "do-while-loop statement body contains zero statements",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
],
"2": [
@@ -15,7 +16,8 @@
"casesNumber": 3,
"description": "do-while-loop statement body contains zero statements",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
},
@@ -26,7 +28,8 @@
"casesNumber": 3,
"description": "condition expression is not a subtype of kotlin.Boolean.",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
}
@@ -39,7 +42,8 @@
"casesNumber": 3,
"description": "do-while-loop statement body contains zero statements",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-1/pos/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
},
@@ -49,7 +53,8 @@
"specVersion": "0.1-253",
"casesNumber": 3,
"description": "condition expression is not a subtype of kotlin.Boolean.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}
@@ -6,7 +6,8 @@
"specVersion": "0.1-253",
"casesNumber": 3,
"description": "while-loop statement body contains zero statements",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
},
@@ -17,7 +18,8 @@
"casesNumber": 2,
"description": "condition expression is not a subtype of kotlin.Boolean.",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
}
@@ -30,7 +32,8 @@
"casesNumber": 3,
"description": "while-loop statement body contains zero statements",
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-1/pos/1.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
},
@@ -40,7 +43,8 @@
"specVersion": "0.1-253",
"casesNumber": 2,
"description": "condition expression is not a subtype of kotlin.Boolean.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}