[Spec tests] Change metadata structure of implementation and spec tests

This commit is contained in:
anastasiia.spaseeva
2020-04-01 19:14:46 +03:00
parent 80cd26c9df
commit d32aca87d1
925 changed files with 2330 additions and 1657 deletions
@@ -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
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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
@@ -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.
*/
@@ -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.
*/
@@ -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
@@ -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
*/
@@ -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
*/