[Spec tests] Change metadata structure of implementation and spec tests
This commit is contained in:
+2
-2
@@ -4,8 +4,8 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 2 -> sentence 2
|
||||
* RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2
|
||||
* PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* 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.
|
||||
* EXCEPTION: runtime
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 2 -> sentence 2
|
||||
* RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2
|
||||
* PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* 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.
|
||||
*/
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 2 -> sentence 2
|
||||
* RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2
|
||||
* PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1
|
||||
* NUMBER: 2
|
||||
* 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.
|
||||
*/
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 2 -> sentence 2
|
||||
* RELEVANT PLACES: expressions, try-expression -> paragraph 2 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2
|
||||
* PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1
|
||||
* NUMBER: 3
|
||||
* 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.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 2 -> sentence 3
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 3
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: If there are several catch blocks which match the exception type, the first one is picked.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 2 -> sentence 3
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 3
|
||||
* NUMBER: 2
|
||||
* DESCRIPTION: If there are several catch blocks which match the exception type, the first one is picked.
|
||||
*/
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 5 -> sentence 3
|
||||
* RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 3
|
||||
* PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1
|
||||
* exceptions, catching-exceptions -> paragraph 4 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* 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
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 5 -> sentence 1
|
||||
* RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 1
|
||||
* PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* 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.
|
||||
*/
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 5 -> sentence 2
|
||||
* RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 2
|
||||
* PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: the finally block is evaluated after the evaluation of the matching catch block.
|
||||
*/
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 5 -> sentence 3
|
||||
* RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 3
|
||||
* PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1
|
||||
* exceptions, catching-exceptions -> paragraph 4 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* 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
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-218
|
||||
* PLACE: expressions, try-expression -> paragraph 6 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 6 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION:The value of the try-expression is the same as the value of the last expression of the try or catch block
|
||||
*/
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
|
||||
*
|
||||
* SPEC VERSION: 0.1-313
|
||||
* PLACE: expressions, try-expression -> paragraph 7 -> sentence 1
|
||||
* MAIN LINK: expressions, try-expression -> paragraph 7 -> sentence 1
|
||||
* NUMBER: 1
|
||||
* DESCRIPTION: finally block has no effect on the value returned by the try-expression
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user