[Spec tests] Add path element at testMaps for main links also

This commit is contained in:
anastasiia.spaseeva
2020-04-20 14:48:17 +03:00
parent d94c212a60
commit 3a46b5a45a
106 changed files with 679 additions and 6 deletions
@@ -6,6 +6,7 @@
"specVersion": "0.1-313",
"casesNumber": 0,
"description": "finally block has no effect on the value returned by the try-expression",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-7/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
}
@@ -19,6 +20,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "The value of the try-expression is the same as the value of the last expression of the try or catch block",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-6/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
}
@@ -32,6 +34,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/neg/2.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
}
@@ -53,6 +56,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
},
@@ -60,6 +64,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.3.kt",
"unexpectedBehaviour": false,
"linkType": "main"
},
@@ -67,6 +72,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/2.2.kt",
"unexpectedBehaviour": false,
"linkType": "main"
}
@@ -102,6 +108,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "If there are several catch blocks which match the exception type, the first one is picked.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
},
@@ -109,6 +116,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "If there are several catch blocks which match the exception type, the first one is picked.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-2/pos/3.2.kt",
"unexpectedBehaviour": false,
"linkType": "main"
}
@@ -122,6 +130,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "If an exception was thrown, but no catch block matched its type, the finally block is evaluated before propagating the exception up the call stack",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/neg/3.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
}
@@ -133,6 +142,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "the finally block is evaluated after the evaluation of the matching catch block.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/2.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
}
@@ -142,6 +152,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "If an exception was thrown, but no catch block matched its type, the finally block is evaluated before propagating the exception up the call stack",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/3.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
}
@@ -151,6 +162,7 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "If no exception is thrown during the evaluation of the try body, no catch blocks are executed, the finally block is evaluated after the try body, and the program execution continues as normal.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
}