Reorganize spec tests infrastructure code

- Add the tests mute system for the diagnostic tests
- Move the code for the test info parsing to the separate package `parsers`
- Unification of the `linked` and `not linked` spec tests
- Package structure is refactored
- Change the multiline comment format with a test information
- Actualize `PrintSpecTestsStatistic`
- Other different code improvements
This commit is contained in:
victor.petukhov
2018-10-31 12:56:27 +03:00
parent 2af9efa4a0
commit 64f531fc93
348 changed files with 4722 additions and 3802 deletions
@@ -1,11 +1,11 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, integer-literals, binary-integer-literals
PARAGRAPH: 1
SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
NUMBER: 1
DESCRIPTION: Sequences with binary digit symbols.
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, binary-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* NUMBER: 1
* DESCRIPTION: Sequences with binary digit symbols.
*/
val value_1 = 0b1110001100
@@ -1,11 +1,11 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, integer-literals, binary-integer-literals
PARAGRAPH: 1
SENTENCE: [2] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
NUMBER: 1
DESCRIPTION: Sequences with binary digit symbols separated by underscores.
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, binary-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* NUMBER: 1
* DESCRIPTION: Sequences with binary digit symbols separated by underscores.
*/
val value_1 = 0b1_110110100
@@ -1,11 +1,11 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, integer-literals, decimal-integer-literals
PARAGRAPH: 1
SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
NUMBER: 1
DESCRIPTION: Sequences with decimal digit symbols.
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, decimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* NUMBER: 1
* DESCRIPTION: Sequences with decimal digit symbols.
*/
val value_1 = 1234567890
@@ -1,11 +1,11 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, integer-literals, decimal-integer-literals
PARAGRAPH: 1
SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
NUMBER: 1
DESCRIPTION: Sequences with decimal digit symbols separated by underscores.
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, decimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] Digits may be separated by an underscore symbol, but no underscore can be placed before the first digit or after the last one.
* NUMBER: 1
* DESCRIPTION: Sequences with decimal digit symbols separated by underscores.
*/
val value_1 = 1234_5678_90
@@ -1,11 +1,11 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
PARAGRAPH: 1
SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
NUMBER: 1
DESCRIPTION: Sequences with hexadecimal digit symbols.
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* NUMBER: 1
* DESCRIPTION: Sequences with hexadecimal digit symbols.
*/
val value_1 = 0x1234567890
@@ -1,11 +1,11 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
PARAGRAPH: 1
SENTENCE: [2] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
NUMBER: 1
DESCRIPTION: Sequences with hexadecimal digit symbols separated by underscores.
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, hexadecimal-integer-literals
* PARAGRAPH: 1
* SENTENCE: [2] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* NUMBER: 1
* DESCRIPTION: Sequences with hexadecimal digit symbols separated by underscores.
*/
val value_1 = 0x1_23a567b90
@@ -1,11 +1,11 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, integer-literals, long-integer-literals
PARAGRAPH: 1
SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
NUMBER: 1
DESCRIPTION: Decimal integer literals with long literal mark.
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* NUMBER: 1
* DESCRIPTION: Decimal integer literals with long literal mark.
*/
val value_1 = 0L
@@ -1,11 +1,11 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, integer-literals, long-integer-literals
PARAGRAPH: 1
SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
NUMBER: 2
DESCRIPTION: Hexadecimal integer literals with long literal mark.
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* NUMBER: 2
* DESCRIPTION: Hexadecimal integer literals with long literal mark.
*/
val value_1 = 0x0L
@@ -1,11 +1,11 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, integer-literals, long-integer-literals
PARAGRAPH: 1
SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
NUMBER: 3
DESCRIPTION: Binary integer literals with long literal mark.
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, integer-literals, long-integer-literals
* PARAGRAPH: 1
* SENTENCE: [1] A sequence of decimal digit symbols (0 though 9) is a decimal integer literal.
* NUMBER: 3
* DESCRIPTION: Binary integer literals with long literal mark.
*/
val value_1 = 0b0L