[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-313",
"casesNumber": 0,
"description": "finally block has no effect on the value returned by the try-expression",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}
@@ -18,7 +19,8 @@
"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",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}
@@ -30,7 +32,8 @@
"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.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
],
"1": [
@@ -39,7 +42,8 @@
"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
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
},
@@ -49,19 +53,22 @@
"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.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"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.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"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.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
],
"1": [
@@ -70,21 +77,24 @@
"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
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"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
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"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
"unexpectedBehaviour": false,
"linkType": "primary"
}
],
"3": [
@@ -92,13 +102,15 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "If there are several catch blocks which match the exception type, the first one is picked.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "If there are several catch blocks which match the exception type, the first one is picked.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}
@@ -110,7 +122,8 @@
"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",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
},
@@ -120,7 +133,8 @@
"specVersion": "0.1-218",
"casesNumber": 0,
"description": "the finally block is evaluated after the evaluation of the matching catch block.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
],
"3": [
@@ -128,7 +142,8 @@
"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",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
],
"1": [
@@ -136,7 +151,8 @@
"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.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}
@@ -149,7 +165,8 @@
"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
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
},
@@ -160,21 +177,24 @@
"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
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"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
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"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
"unexpectedBehaviour": false,
"linkType": "primary"
}
]
}