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,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 1
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 1
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
open class `true` {
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 10
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the companionObject.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 10
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the companionObject.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
package org.jetbrains.`true`
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 11
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the function.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 11
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the function.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
fun `true`(): Boolean {
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 12
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the setter.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 12
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the setter.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
class A {
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 13
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the simpleUserType.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 13
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the simpleUserType.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
package org.jetbrains.`true`
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 14
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeParameter.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 14
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeParameter.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
package org.jetbrains.`true`
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 15
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the parameter.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 15
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the parameter.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
fun f1(`true`: Boolean) = !!!`true`
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 16
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationComplex.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 16
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationComplex.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
@file:[org.jetbrains.`true`.`false`() `true`]
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 17
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the object.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 17
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the object.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
open class A {
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 18
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeAlias.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 18
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeAlias.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
typealias `true` = Boolean
@@ -1,12 +1,12 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 19
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the import.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 19
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the import.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
// FILE: 2_19_1.kt
@@ -1,12 +1,12 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 2
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the labelReference.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 2
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the labelReference.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
fun `true`() {
@@ -1,12 +1,12 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 20
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the infixFunctionCall.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 20
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the infixFunctionCall.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
infix fun Int.`true`(value: Int) = value > 100
@@ -1,12 +1,12 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 21
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the catchBlock.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 21
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the catchBlock.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
annotation class A
@@ -1,12 +1,12 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 22
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the labelDefinition.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 22
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the labelDefinition.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
@Retention(AnnotationRetention.SOURCE)
@@ -1,12 +1,12 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 23
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the atomicExpression.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 23
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the atomicExpression.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
fun box(): String? {
@@ -1,14 +1,14 @@
// WITH_RUNTIME
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 24
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the variableDeclarationEntry.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 24
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the variableDeclarationEntry.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
val `true` = {`false`: Boolean -> !`false` }
@@ -1,14 +1,14 @@
// WITH_RUNTIME
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 25
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the valueArgument.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 25
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the valueArgument.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
fun f1(`true`: Boolean, `false`: Boolean) = `true` && !!!`false`
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 26
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the callableReference.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 26
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the callableReference.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
val Boolean.`true`: Boolean
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 3
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeConstraint.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 3
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the typeConstraint.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
class A <`true`, `false`>
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 4
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationSimple.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 4
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the fileAnnotationSimple.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
@file:`true`
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 5
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageComplex.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 5
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageComplex.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
package org.jetbrains.`true`
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 6
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageSimple.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 6
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the packageSimple.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
package `true`
@@ -1,12 +1,12 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 7
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the enumEntry.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 7
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the enumEntry.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
enum class A(val x: Boolean) {
@@ -1,12 +1,12 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 8
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the stringTemplateElement.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 8
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the stringTemplateElement.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
fun box(): String? {
@@ -1,14 +1,14 @@
// HELPERS: REFLECT
/*
KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
SECTIONS: constant-literals, boolean-literals
PARAGRAPH: 1
SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
NUMBER: 9
DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the unescapedAnnotation.
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SECTIONS: constant-literals, boolean-literals
* PARAGRAPH: 1
* SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped.
* NUMBER: 9
* DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the unescapedAnnotation.
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
package org.jetbrains.`true`
@@ -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
@@ -1,10 +1,10 @@
/*
KOTLIN CODEGEN BOX SPEC TEST (<!TEST_TYPE!>)
SECTIONS: <!SECTIONS!>
PARAGRAPH: <!PARAGRAPH_NUMBER!>
SENTENCE: [<!SENTENCE_NUMBER!>] <!SENTENCE!>
NUMBER: <!TEST_NUMBER!>
DESCRIPTION: <!TEST_DESCRIPTION!>
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN CODEGEN BOX SPEC TEST (<!TEST_TYPE!>)
*
* SECTIONS: <!SECTIONS!>
* PARAGRAPH: <!PARAGRAPH_NUMBER!>
* SENTENCE: [<!SENTENCE_NUMBER!>] <!SENTENCE!>
* NUMBER: <!TEST_NUMBER!>
* DESCRIPTION: <!TEST_DESCRIPTION!>
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/
@@ -1,9 +1,9 @@
/*
KOTLIN NOT LINKED CODEGEN BOX SPEC TEST (<!TEST_TYPE!>)
SECTION: <!SECTION!>
CATEGORIES: <!CATEGORIES!>
NUMBER: <!TEST_NUMBER!>
DESCRIPTION: <!TEST_DESCRIPTION!>
NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
* KOTLIN NOT LINKED CODEGEN BOX SPEC TEST (<!TEST_TYPE!>)
*
* SECTION: <!SECTION!>
* CATEGORIES: <!CATEGORIES!>
* NUMBER: <!TEST_NUMBER!>
* DESCRIPTION: <!TEST_DESCRIPTION!>
* NOTE: this test data is generated by FeatureInteractionTestDataGenerator. DO NOT MODIFY CODE MANUALLY!
*/