[Tests] OSIP-232 Restructure, cleanup
1. Prefix directories of internal args with "XX"
2. Prefix directories of extra args with "X"
3. Move language features to the top level
4. Remove the "_" prefixes
5. Remove unused "AndroidPlugin" directory
diff --git a/compiler/testData/cli/js/firMultiplatformCompilationWithError.args b/compiler/testData/cli/js/firMultiplatformCompilationWithError.args
index ff9f9f4..0961354 100644
--- a/compiler/testData/cli/js/firMultiplatformCompilationWithError.args
+++ b/compiler/testData/cli/js/firMultiplatformCompilationWithError.args
@@ -1,7 +1,7 @@
-$TESTDATA_DIR$/../jvm/firMultiplatformCompilationWithError/common.kt
-$TESTDATA_DIR$/../jvm/firMultiplatformCompilationWithError/jvm.kt
+$TESTDATA_DIR$/../jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/common.kt
+$TESTDATA_DIR$/../jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/jvm.kt
-Xcommon-sources
-$TESTDATA_DIR$/../jvm/firMultiplatformCompilationWithError/common.kt
+$TESTDATA_DIR$/../jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/common.kt
-ir-output-dir
$TEMP_DIR$
-ir-output-name
diff --git a/compiler/testData/cli/js/firMultiplatformCompilationWithError.out b/compiler/testData/cli/js/firMultiplatformCompilationWithError.out
index d21f33b..6604c15 100644
--- a/compiler/testData/cli/js/firMultiplatformCompilationWithError.out
+++ b/compiler/testData/cli/js/firMultiplatformCompilationWithError.out
@@ -8,11 +8,11 @@
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
-compiler/testData/cli/jvm/firMultiplatformCompilationWithError/common.kt:7:1: error: class 'CommonClass' is not abstract and does not implement abstract member:
+compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/common.kt:7:1: error: class 'CommonClass' is not abstract and does not implement abstract member:
fun foo(): Unit
class CommonClass : B
^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/firMultiplatformCompilationWithError/jvm.kt:1:18: error: 'actual interface A : Any' has no corresponding members for expected class members:
+compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/jvm.kt:1:18: error: 'actual interface A : Any' has no corresponding members for expected class members:
expect fun foo(): Unit
diff --git a/compiler/testData/cli/js/successfulHmpp.args b/compiler/testData/cli/js/successfulHmpp.args
index cf3ed91..902c611 100644
--- a/compiler/testData/cli/js/successfulHmpp.args
+++ b/compiler/testData/cli/js/successfulHmpp.args
@@ -1,15 +1,15 @@
-$TESTDATA_DIR$/../jvm/hmpp/src/a.kt
-$TESTDATA_DIR$/../jvm/hmpp/src/b.kt
-$TESTDATA_DIR$/../jvm/hmpp/src/c.kt
+$TESTDATA_DIR$/../jvm/XfragmentSources/src/a.kt
+$TESTDATA_DIR$/../jvm/XfragmentSources/src/b.kt
+$TESTDATA_DIR$/../jvm/XfragmentSources/src/c.kt
-ir-output-dir
$TEMP_DIR$/out.js
-ir-output-name
fir-hmpp
-XXLanguage\:+MultiPlatformProjects
-Xfragments=a,b,c
--Xfragment-sources=a\:$TESTDATA_DIR$/../jvm/hmpp/src/a.kt
--Xfragment-sources=b\:$TESTDATA_DIR$/../jvm/hmpp/src/b.kt
--Xfragment-sources=c\:$TESTDATA_DIR$/../jvm/hmpp/src/c.kt
+-Xfragment-sources=a\:$TESTDATA_DIR$/../jvm/XfragmentSources/src/a.kt
+-Xfragment-sources=b\:$TESTDATA_DIR$/../jvm/XfragmentSources/src/b.kt
+-Xfragment-sources=c\:$TESTDATA_DIR$/../jvm/XfragmentSources/src/c.kt
-Xfragment-refines=b\:a
-Xfragment-refines=c\:b
-libraries
diff --git a/compiler/testData/cli/js/successfulHmpp.out b/compiler/testData/cli/js/successfulHmpp.out
index cd59d19..a343414 100644
--- a/compiler/testData/cli/js/successfulHmpp.out
+++ b/compiler/testData/cli/js/successfulHmpp.out
@@ -7,16 +7,16 @@
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
-compiler/testData/cli/jvm/hmpp/src/a.kt:1:1: warning: [EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING] 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+compiler/testData/cli/jvm/XfragmentSources/src/a.kt:1:1: warning: [EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING] 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
expect class A {
^^^^^^
-compiler/testData/cli/jvm/hmpp/src/a.kt:5:1: warning: [EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING] 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+compiler/testData/cli/jvm/XfragmentSources/src/a.kt:5:1: warning: [EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING] 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
expect class B {
^^^^^^
-compiler/testData/cli/jvm/hmpp/src/b.kt:1:1: warning: [EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING] 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+compiler/testData/cli/jvm/XfragmentSources/src/b.kt:1:1: warning: [EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING] 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
actual class A {
^^^^^^
-compiler/testData/cli/jvm/hmpp/src/c.kt:1:1: warning: [EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING] 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+compiler/testData/cli/jvm/XfragmentSources/src/c.kt:1:1: warning: [EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING] 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
actual class B {
^^^^^^
OK
diff --git a/compiler/testData/cli/jvm/_explicitReturnTypes/explicitReturnTypesEnabled.args b/compiler/testData/cli/jvm/XXexplicitReturnTypes/explicitReturnTypesEnabled.args
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitReturnTypes/explicitReturnTypesEnabled.args
rename to compiler/testData/cli/jvm/XXexplicitReturnTypes/explicitReturnTypesEnabled.args
diff --git a/compiler/testData/cli/jvm/_explicitReturnTypes/explicitReturnTypesEnabled.kt b/compiler/testData/cli/jvm/XXexplicitReturnTypes/explicitReturnTypesEnabled.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitReturnTypes/explicitReturnTypesEnabled.kt
rename to compiler/testData/cli/jvm/XXexplicitReturnTypes/explicitReturnTypesEnabled.kt
diff --git a/compiler/testData/cli/jvm/XXexplicitReturnTypes/explicitReturnTypesEnabled.out b/compiler/testData/cli/jvm/XXexplicitReturnTypes/explicitReturnTypesEnabled.out
new file mode 100644
index 0000000..0641cc1
--- /dev/null
+++ b/compiler/testData/cli/jvm/XXexplicitReturnTypes/explicitReturnTypesEnabled.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XXexplicitReturnTypes/explicitReturnTypesEnabled.kt:1:5: warning: return type must be specified in explicit API mode.
+fun publicFun() = "hello"
+ ^^^^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesForJavaNotEnabled.args b/compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesForJavaNotEnabled.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesForJavaNotEnabled.args
rename to compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesForJavaNotEnabled.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesForJavaNotEnabled.kt b/compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesForJavaNotEnabled.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesForJavaNotEnabled.kt
rename to compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesForJavaNotEnabled.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesForJavaNotEnabled.out b/compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesForJavaNotEnabled.out
similarity index 73%
rename from compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesForJavaNotEnabled.out
rename to compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesForJavaNotEnabled.out
index 0bde82a..3d36588 100644
--- a/compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesForJavaNotEnabled.out
+++ b/compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesForJavaNotEnabled.out
@@ -7,7 +7,7 @@
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
-compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesForJavaNotEnabled.kt:4:49: error: the feature "enum entries" is disabled
+compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesForJavaNotEnabled.kt:4:49: error: the feature "enum entries" is disabled
val entries = java.util.concurrent.TimeUnit.entries
^^^^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesNotEnabled.args b/compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesNotEnabled.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesNotEnabled.args
rename to compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesNotEnabled.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesNotEnabled.kt b/compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesNotEnabled.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesNotEnabled.kt
rename to compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesNotEnabled.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesNotEnabled.out b/compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesNotEnabled.out
similarity index 71%
rename from compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesNotEnabled.out
rename to compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesNotEnabled.out
index 79d7f16..6ca95c2 100644
--- a/compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesNotEnabled.out
+++ b/compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesNotEnabled.out
@@ -7,7 +7,7 @@
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
-compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesNotEnabled.kt:7:26: error: the feature "enum entries" is disabled
+compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesNotEnabled.kt:7:26: error: the feature "enum entries" is disabled
val entries = MyEnum.entries
^^^^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecord.kt b/compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecord.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecord.kt
rename to compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecord.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordOk.args b/compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordOk.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordOk.args
rename to compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordOk.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordOk.out b/compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordOk.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordOk.out
rename to compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordOk.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordWrongTarget.args b/compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordWrongTarget.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordWrongTarget.args
rename to compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordWrongTarget.args
diff --git a/compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordWrongTarget.out b/compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordWrongTarget.out
new file mode 100644
index 0000000..da388aa
--- /dev/null
+++ b/compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordWrongTarget.out
@@ -0,0 +1,13 @@
+warning: ATTENTION!
+This build uses unsafe internal compiler arguments:
+
+-XXLanguage:+JvmRecordSupport
+
+This mode is not recommended for production use,
+as no stability/compatibility guarantees are given on
+compiler or generated code. Use it at your own risk!
+
+compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecord.kt:1:1: error: using @JvmRecord is only allowed with -jvm-target 16 or later (or -jvm-target 15 with the -Xjvm-enable-preview flag enabled)
+@JvmRecord
+^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError.args b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError.args
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError.args
diff --git a/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError.out b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError.out
new file mode 100644
index 0000000..6604c15
--- /dev/null
+++ b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError.out
@@ -0,0 +1,21 @@
+warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xcommon-sources=...
+warning: ATTENTION!
+This build uses unsafe internal compiler arguments:
+
+-XXLanguage:+MultiPlatformProjects
+
+This mode is not recommended for production use,
+as no stability/compatibility guarantees are given on
+compiler or generated code. Use it at your own risk!
+
+compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/common.kt:7:1: error: class 'CommonClass' is not abstract and does not implement abstract member:
+fun foo(): Unit
+class CommonClass : B
+^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/jvm.kt:1:18: error: 'actual interface A : Any' has no corresponding members for expected class members:
+
+ expect fun foo(): Unit
+
+actual interface A
+ ^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError/common.kt b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/common.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError/common.kt
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/common.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError/jvm.kt b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/jvm.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError/jvm.kt
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError/jvm.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.args b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.args
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.args
diff --git a/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.out b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.out
new file mode 100644
index 0000000..0aba4c3
--- /dev/null
+++ b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.out
@@ -0,0 +1,17 @@
+warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xcommon-sources=...
+warning: ATTENTION!
+This build uses unsafe internal compiler arguments:
+
+-XXLanguage:+MultiPlatformProjects
+
+This mode is not recommended for production use,
+as no stability/compatibility guarantees are given on
+compiler or generated code. Use it at your own risk!
+
+compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors/common.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+expect interface A {
+^^^^^^
+compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors/jvm.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+actual interface A {
+^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors.args b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors.args
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors.args
diff --git a/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors.out b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors.out
new file mode 100644
index 0000000..0aba4c3
--- /dev/null
+++ b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors.out
@@ -0,0 +1,17 @@
+warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xcommon-sources=...
+warning: ATTENTION!
+This build uses unsafe internal compiler arguments:
+
+-XXLanguage:+MultiPlatformProjects
+
+This mode is not recommended for production use,
+as no stability/compatibility guarantees are given on
+compiler or generated code. Use it at your own risk!
+
+compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors/common.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+expect interface A {
+^^^^^^
+compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors/jvm.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+actual interface A {
+^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors/common.kt b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors/common.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors/common.kt
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors/common.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors/jvm.kt b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors/jvm.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors/jvm.kt
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors/jvm.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithCommonScript.args b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithCommonScript.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithCommonScript.args
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithCommonScript.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithCommonScript.out b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithCommonScript.out
similarity index 80%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithCommonScript.out
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithCommonScript.out
index ded28cb..8d5922d 100644
--- a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithCommonScript.out
+++ b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithCommonScript.out
@@ -8,5 +8,5 @@
compiler or generated code. Use it at your own risk!
error: script files in common source roots are not supported. Misplaced files:
- compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/scripts/s1.kts
+ compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/scripts/s1.kts
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithScript.args b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithScript.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithScript.args
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithScript.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithScript.out b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithScript.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithScript.out
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithScript.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/scripts/s.kts b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/scripts/s.kts
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/scripts/s.kts
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/scripts/s.kts
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/scripts/s1.kts b/compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/scripts/s1.kts
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/scripts/s1.kts
rename to compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/scripts/s1.kts
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisableSamConversionsWithOldFlag.args b/compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisableSamConversionsWithOldFlag.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisableSamConversionsWithOldFlag.args
rename to compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisableSamConversionsWithOldFlag.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisableSamConversionsWithOldFlag.out b/compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisableSamConversionsWithOldFlag.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisableSamConversionsWithOldFlag.out
rename to compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisableSamConversionsWithOldFlag.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisabledSamConversions.args b/compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisabledSamConversions.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisabledSamConversions.args
rename to compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisabledSamConversions.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisabledSamConversions.out b/compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisabledSamConversions.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisabledSamConversions.out
rename to compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisabledSamConversions.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/newInferenceImpliesSamConversions.kt b/compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/newInferenceImpliesSamConversions.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/newInferenceImpliesSamConversions.kt
rename to compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/newInferenceImpliesSamConversions.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/internalArgWrongPrefix.args b/compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/internalArgWrongPrefix.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/internalArgWrongPrefix.args
rename to compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/internalArgWrongPrefix.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/internalArgWrongPrefix.out b/compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/internalArgWrongPrefix.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/internalArgWrongPrefix.out
rename to compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/internalArgWrongPrefix.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/legacySmartCastsAfterTry.args b/compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/legacySmartCastsAfterTry.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/legacySmartCastsAfterTry.args
rename to compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/legacySmartCastsAfterTry.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/legacySmartCastsAfterTry.kt b/compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/legacySmartCastsAfterTry.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/legacySmartCastsAfterTry.kt
rename to compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/legacySmartCastsAfterTry.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/legacySmartCastsAfterTry.out b/compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/legacySmartCastsAfterTry.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/legacySmartCastsAfterTry.out
rename to compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/legacySmartCastsAfterTry.out
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStability.kt b/compiler/testData/cli/jvm/XabiStability/abiStability.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStability.kt
rename to compiler/testData/cli/jvm/XabiStability/abiStability.kt
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityEmpty.args b/compiler/testData/cli/jvm/XabiStability/abiStabilityEmpty.args
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityEmpty.args
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityEmpty.args
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityEmpty.out b/compiler/testData/cli/jvm/XabiStability/abiStabilityEmpty.out
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityEmpty.out
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityEmpty.out
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityIncorrectValue.args b/compiler/testData/cli/jvm/XabiStability/abiStabilityIncorrectValue.args
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityIncorrectValue.args
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityIncorrectValue.args
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityIncorrectValue.out b/compiler/testData/cli/jvm/XabiStability/abiStabilityIncorrectValue.out
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityIncorrectValue.out
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityIncorrectValue.out
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityMultipleValue.args b/compiler/testData/cli/jvm/XabiStability/abiStabilityMultipleValue.args
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityMultipleValue.args
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityMultipleValue.args
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityMultipleValue.out b/compiler/testData/cli/jvm/XabiStability/abiStabilityMultipleValue.out
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityMultipleValue.out
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityMultipleValue.out
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityStable.args b/compiler/testData/cli/jvm/XabiStability/abiStabilityStable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityStable.args
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityStable.args
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityStable.out b/compiler/testData/cli/jvm/XabiStability/abiStabilityStable.out
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityStable.out
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityStable.out
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityUnstable.args b/compiler/testData/cli/jvm/XabiStability/abiStabilityUnstable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityUnstable.args
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityUnstable.args
diff --git a/compiler/testData/cli/jvm/_abiStability/abiStabilityUnstable.out b/compiler/testData/cli/jvm/XabiStability/abiStabilityUnstable.out
similarity index 100%
rename from compiler/testData/cli/jvm/_abiStability/abiStabilityUnstable.out
rename to compiler/testData/cli/jvm/XabiStability/abiStabilityUnstable.out
diff --git a/compiler/testData/cli/jvm/_backendThreads/backendThreads.kt b/compiler/testData/cli/jvm/XbackendThreads/backendThreads.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_backendThreads/backendThreads.kt
rename to compiler/testData/cli/jvm/XbackendThreads/backendThreads.kt
diff --git a/compiler/testData/cli/jvm/_backendThreads/backendThreadsValidationEmpty.args b/compiler/testData/cli/jvm/XbackendThreads/backendThreadsValidationEmpty.args
similarity index 100%
rename from compiler/testData/cli/jvm/_backendThreads/backendThreadsValidationEmpty.args
rename to compiler/testData/cli/jvm/XbackendThreads/backendThreadsValidationEmpty.args
diff --git a/compiler/testData/cli/jvm/_backendThreads/backendThreadsValidationEmpty.out b/compiler/testData/cli/jvm/XbackendThreads/backendThreadsValidationEmpty.out
similarity index 100%
rename from compiler/testData/cli/jvm/_backendThreads/backendThreadsValidationEmpty.out
rename to compiler/testData/cli/jvm/XbackendThreads/backendThreadsValidationEmpty.out
diff --git a/compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationChar.args b/compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationChar.args
similarity index 100%
rename from compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationChar.args
rename to compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationChar.args
diff --git a/compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationChar.out b/compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationChar.out
similarity index 100%
rename from compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationChar.out
rename to compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationChar.out
diff --git a/compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationInt.args b/compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationInt.args
similarity index 100%
rename from compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationInt.args
rename to compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationInt.args
diff --git a/compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationInt.out b/compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationInt.out
similarity index 100%
rename from compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationInt.out
rename to compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationInt.out
diff --git a/compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationNegative.args b/compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationNegative.args
similarity index 100%
rename from compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationNegative.args
rename to compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationNegative.args
diff --git a/compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationNegative.out b/compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationNegative.out
similarity index 100%
rename from compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationNegative.out
rename to compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationNegative.out
diff --git a/compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycle.args b/compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycle.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycle.args
rename to compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycle.args
diff --git a/compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycle.out b/compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycle.out
similarity index 100%
rename from compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycle.out
rename to compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycle.out
diff --git a/compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycle.xml b/compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycle.xml
similarity index 100%
rename from compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycle.xml
rename to compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycle.xml
diff --git a/compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycleA.kt b/compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycleA.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycleA.kt
rename to compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycleA.kt
diff --git a/compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycleB.kt b/compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycleB.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycleB.kt
rename to compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycleB.kt
diff --git a/compiler/testData/cli/jvm/_XbuildFile/nonexistentPathInModule.args b/compiler/testData/cli/jvm/XbuildFile/nonexistentPathInModule.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XbuildFile/nonexistentPathInModule.args
rename to compiler/testData/cli/jvm/XbuildFile/nonexistentPathInModule.args
diff --git a/compiler/testData/cli/jvm/_XbuildFile/nonexistentPathInModule.out b/compiler/testData/cli/jvm/XbuildFile/nonexistentPathInModule.out
similarity index 100%
rename from compiler/testData/cli/jvm/_XbuildFile/nonexistentPathInModule.out
rename to compiler/testData/cli/jvm/XbuildFile/nonexistentPathInModule.out
diff --git a/compiler/testData/cli/jvm/_XbuildFile/nonexistentPathInModule.xml b/compiler/testData/cli/jvm/XbuildFile/nonexistentPathInModule.xml
similarity index 100%
rename from compiler/testData/cli/jvm/_XbuildFile/nonexistentPathInModule.xml
rename to compiler/testData/cli/jvm/XbuildFile/nonexistentPathInModule.xml
diff --git a/compiler/testData/cli/jvm/plugins/firAllOpenPlugin.kt b/compiler/testData/cli/jvm/XcompilerPlugin/firAllOpenPlugin.kt
similarity index 100%
copy from compiler/testData/cli/jvm/plugins/firAllOpenPlugin.kt
copy to compiler/testData/cli/jvm/XcompilerPlugin/firAllOpenPlugin.kt
diff --git a/compiler/testData/cli/jvm/plugins/firAllOpenPlugin_modern.args b/compiler/testData/cli/jvm/XcompilerPlugin/firAllOpenPlugin_modern.args
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/firAllOpenPlugin_modern.args
rename to compiler/testData/cli/jvm/XcompilerPlugin/firAllOpenPlugin_modern.args
diff --git a/compiler/testData/cli/jvm/plugins/firAllOpenPlugin_modern.out b/compiler/testData/cli/jvm/XcompilerPlugin/firAllOpenPlugin_modern.out
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/firAllOpenPlugin_modern.out
rename to compiler/testData/cli/jvm/XcompilerPlugin/firAllOpenPlugin_modern.out
diff --git a/compiler/testData/cli/jvm/plugins/mixingModernAndLegacyArgs.args b/compiler/testData/cli/jvm/XcompilerPlugin/mixingModernAndLegacyArgs.args
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/mixingModernAndLegacyArgs.args
rename to compiler/testData/cli/jvm/XcompilerPlugin/mixingModernAndLegacyArgs.args
diff --git a/compiler/testData/cli/jvm/plugins/mixingModernAndLegacyArgs.kt b/compiler/testData/cli/jvm/XcompilerPlugin/mixingModernAndLegacyArgs.kt
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/mixingModernAndLegacyArgs.kt
rename to compiler/testData/cli/jvm/XcompilerPlugin/mixingModernAndLegacyArgs.kt
diff --git a/compiler/testData/cli/jvm/plugins/mixingModernAndLegacyArgs.out b/compiler/testData/cli/jvm/XcompilerPlugin/mixingModernAndLegacyArgs.out
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/mixingModernAndLegacyArgs.out
rename to compiler/testData/cli/jvm/XcompilerPlugin/mixingModernAndLegacyArgs.out
diff --git a/compiler/testData/cli/jvm/plugins/multipleOptionsForOnePlugin.args b/compiler/testData/cli/jvm/XcompilerPlugin/multipleOptionsForOnePlugin.args
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/multipleOptionsForOnePlugin.args
rename to compiler/testData/cli/jvm/XcompilerPlugin/multipleOptionsForOnePlugin.args
diff --git a/compiler/testData/cli/jvm/plugins/multipleOptionsForOnePlugin.kt b/compiler/testData/cli/jvm/XcompilerPlugin/multipleOptionsForOnePlugin.kt
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/multipleOptionsForOnePlugin.kt
rename to compiler/testData/cli/jvm/XcompilerPlugin/multipleOptionsForOnePlugin.kt
diff --git a/compiler/testData/cli/jvm/plugins/multipleOptionsForOnePlugin.out b/compiler/testData/cli/jvm/XcompilerPlugin/multipleOptionsForOnePlugin.out
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/multipleOptionsForOnePlugin.out
rename to compiler/testData/cli/jvm/XcompilerPlugin/multipleOptionsForOnePlugin.out
diff --git a/compiler/testData/cli/jvm/plugins/multiplePlugins.args b/compiler/testData/cli/jvm/XcompilerPlugin/multiplePlugins.args
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/multiplePlugins.args
rename to compiler/testData/cli/jvm/XcompilerPlugin/multiplePlugins.args
diff --git a/compiler/testData/cli/jvm/plugins/multiplePlugins.kt b/compiler/testData/cli/jvm/XcompilerPlugin/multiplePlugins.kt
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/multiplePlugins.kt
rename to compiler/testData/cli/jvm/XcompilerPlugin/multiplePlugins.kt
diff --git a/compiler/testData/cli/jvm/XcompilerPlugin/multiplePlugins.out b/compiler/testData/cli/jvm/XcompilerPlugin/multiplePlugins.out
new file mode 100644
index 0000000..a04faf3
--- /dev/null
+++ b/compiler/testData/cli/jvm/XcompilerPlugin/multiplePlugins.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XcompilerPlugin/multiplePlugins.kt:11:17: error:
+ inner class Inner(val s: String)
+ ^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/plugins/multiplePluginsInSameArg.args b/compiler/testData/cli/jvm/XcompilerPlugin/multiplePluginsInSameArg.args
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/multiplePluginsInSameArg.args
rename to compiler/testData/cli/jvm/XcompilerPlugin/multiplePluginsInSameArg.args
diff --git a/compiler/testData/cli/jvm/plugins/multiplePluginsInSameArg.kt b/compiler/testData/cli/jvm/XcompilerPlugin/multiplePluginsInSameArg.kt
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/multiplePluginsInSameArg.kt
rename to compiler/testData/cli/jvm/XcompilerPlugin/multiplePluginsInSameArg.kt
diff --git a/compiler/testData/cli/jvm/plugins/multiplePluginsInSameArg.out b/compiler/testData/cli/jvm/XcompilerPlugin/multiplePluginsInSameArg.out
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/multiplePluginsInSameArg.out
rename to compiler/testData/cli/jvm/XcompilerPlugin/multiplePluginsInSameArg.out
diff --git a/compiler/testData/cli/jvm/plugins/noPluginInClasspath.args b/compiler/testData/cli/jvm/XcompilerPlugin/noPluginInClasspath.args
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/noPluginInClasspath.args
rename to compiler/testData/cli/jvm/XcompilerPlugin/noPluginInClasspath.args
diff --git a/compiler/testData/cli/jvm/plugins/noPluginInClasspath.kt b/compiler/testData/cli/jvm/XcompilerPlugin/noPluginInClasspath.kt
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/noPluginInClasspath.kt
rename to compiler/testData/cli/jvm/XcompilerPlugin/noPluginInClasspath.kt
diff --git a/compiler/testData/cli/jvm/plugins/noPluginInClasspath.out b/compiler/testData/cli/jvm/XcompilerPlugin/noPluginInClasspath.out
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/noPluginInClasspath.out
rename to compiler/testData/cli/jvm/XcompilerPlugin/noPluginInClasspath.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextParameters.args b/compiler/testData/cli/jvm/XcontextParameters/contextParameters.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextParameters.args
rename to compiler/testData/cli/jvm/XcontextParameters/contextParameters.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextParameters.out b/compiler/testData/cli/jvm/XcontextParameters/contextParameters.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextParameters.out
rename to compiler/testData/cli/jvm/XcontextParameters/contextParameters.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceivers.kt b/compiler/testData/cli/jvm/XcontextParameters/contextReceivers.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceivers.kt
rename to compiler/testData/cli/jvm/XcontextParameters/contextReceivers.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversAndParametersAtTheSameTime.args b/compiler/testData/cli/jvm/XcontextParameters/contextReceiversAndParametersAtTheSameTime.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversAndParametersAtTheSameTime.args
rename to compiler/testData/cli/jvm/XcontextParameters/contextReceiversAndParametersAtTheSameTime.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversAndParametersAtTheSameTime.out b/compiler/testData/cli/jvm/XcontextParameters/contextReceiversAndParametersAtTheSameTime.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversAndParametersAtTheSameTime.out
rename to compiler/testData/cli/jvm/XcontextParameters/contextReceiversAndParametersAtTheSameTime.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversDeprecated.args b/compiler/testData/cli/jvm/XcontextParameters/contextReceiversDeprecated.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversDeprecated.args
rename to compiler/testData/cli/jvm/XcontextParameters/contextReceiversDeprecated.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversDeprecated.out b/compiler/testData/cli/jvm/XcontextParameters/contextReceiversDeprecated.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversDeprecated.out
rename to compiler/testData/cli/jvm/XcontextParameters/contextReceiversDeprecated.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutines.kt b/compiler/testData/cli/jvm/Xcoroutines/coroutines.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutines.kt
rename to compiler/testData/cli/jvm/Xcoroutines/coroutines.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesEnable.args b/compiler/testData/cli/jvm/Xcoroutines/coroutinesEnable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesEnable.args
rename to compiler/testData/cli/jvm/Xcoroutines/coroutinesEnable.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesEnable.out b/compiler/testData/cli/jvm/Xcoroutines/coroutinesEnable.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesEnable.out
rename to compiler/testData/cli/jvm/Xcoroutines/coroutinesEnable.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesError.args b/compiler/testData/cli/jvm/Xcoroutines/coroutinesError.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesError.args
rename to compiler/testData/cli/jvm/Xcoroutines/coroutinesError.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesError.out b/compiler/testData/cli/jvm/Xcoroutines/coroutinesError.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesError.out
rename to compiler/testData/cli/jvm/Xcoroutines/coroutinesError.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesErrorAndEnable.args b/compiler/testData/cli/jvm/Xcoroutines/coroutinesErrorAndEnable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesErrorAndEnable.args
rename to compiler/testData/cli/jvm/Xcoroutines/coroutinesErrorAndEnable.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesErrorAndEnable.out b/compiler/testData/cli/jvm/Xcoroutines/coroutinesErrorAndEnable.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesErrorAndEnable.out
rename to compiler/testData/cli/jvm/Xcoroutines/coroutinesErrorAndEnable.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesWarn.args b/compiler/testData/cli/jvm/Xcoroutines/coroutinesWarn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesWarn.args
rename to compiler/testData/cli/jvm/Xcoroutines/coroutinesWarn.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesWarn.out b/compiler/testData/cli/jvm/Xcoroutines/coroutinesWarn.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesWarn.out
rename to compiler/testData/cli/jvm/Xcoroutines/coroutinesWarn.out
diff --git a/compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppression.kt b/compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppression.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppression.kt
rename to compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppression.kt
diff --git a/compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionNoWarning.args b/compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionNoWarning.args
similarity index 100%
rename from compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionNoWarning.args
rename to compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionNoWarning.args
diff --git a/compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionNoWarning.out b/compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionNoWarning.out
similarity index 100%
rename from compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionNoWarning.out
rename to compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionNoWarning.out
diff --git a/compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionWarning.args b/compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionWarning.args
similarity index 100%
rename from compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionWarning.args
rename to compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionWarning.args
diff --git a/compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionWarning.out b/compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionWarning.out
similarity index 82%
rename from compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionWarning.out
rename to compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionWarning.out
index 378d054b..71fa300 100644
--- a/compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionWarning.out
+++ b/compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionWarning.out
@@ -1,4 +1,4 @@
-compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppression.kt:1:11: warning: this code uses error suppression for 'UNSUPPORTED'. While it might compile and work, the compiler behavior is UNSPECIFIED and WILL NOT BE PRESERVED. Please report your use case to the Kotlin issue tracker instead: https://kotl.in/issue
+compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppression.kt:1:11: warning: this code uses error suppression for 'UNSUPPORTED'. While it might compile and work, the compiler behavior is UNSPECIFIED and WILL NOT BE PRESERVED. Please report your use case to the Kotlin issue tracker instead: https://kotl.in/issue
@Suppress("UNSUPPORTED")
^^^^^^^^^^^^^
OK
diff --git a/compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceByDefault.args b/compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceByDefault.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceByDefault.args
rename to compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceByDefault.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceByDefault.kt b/compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceByDefault.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceByDefault.kt
rename to compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceByDefault.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceByDefault.out b/compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceByDefault.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceByDefault.out
rename to compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceByDefault.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceEnable.args b/compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceEnable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceEnable.args
rename to compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceEnable.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceEnable.kt b/compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceEnable.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceEnable.kt
rename to compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceEnable.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceEnable.out b/compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceEnable.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceEnable.out
rename to compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceEnable.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceErrors.args b/compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceErrors.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceErrors.args
rename to compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceErrors.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceErrors.kt b/compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceErrors.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceErrors.kt
rename to compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceErrors.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceErrors.out b/compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceErrors.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceErrors.out
rename to compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceErrors.out
diff --git a/compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull/kt49209.args b/compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull/kt49209.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull/kt49209.args
rename to compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull/kt49209.args
diff --git a/compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull/kt49209.kt b/compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull/kt49209.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull/kt49209.kt
rename to compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull/kt49209.kt
diff --git a/compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull/kt49209.out b/compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull/kt49209.out
similarity index 100%
rename from compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull/kt49209.out
rename to compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull/kt49209.out
diff --git a/compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull/kt49209/Java.java b/compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull/kt49209/Java.java
similarity index 100%
rename from compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull/kt49209/Java.java
rename to compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull/kt49209/Java.java
diff --git a/compiler/testData/cli/jvm/_explicitApi/expilicitApi.args b/compiler/testData/cli/jvm/XexplicitApi/expilicitApi.args
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitApi/expilicitApi.args
rename to compiler/testData/cli/jvm/XexplicitApi/expilicitApi.args
diff --git a/compiler/testData/cli/jvm/XexplicitApi/expilicitApi.out b/compiler/testData/cli/jvm/XexplicitApi/expilicitApi.out
new file mode 100644
index 0000000..9e61a36
--- /dev/null
+++ b/compiler/testData/cli/jvm/XexplicitApi/expilicitApi.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/XexplicitApi/explicitApi.kt:1:1: warning: visibility must be specified in explicit API mode.
+fun foo() = "hello"
+^^^^^^^
+compiler/testData/cli/jvm/XexplicitApi/explicitApi.kt:1:5: warning: return type must be specified in explicit API mode.
+fun foo() = "hello"
+ ^^^
+OK
diff --git a/compiler/testData/cli/jvm/_explicitApi/explicitApi.kt b/compiler/testData/cli/jvm/XexplicitApi/explicitApi.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitApi/explicitApi.kt
rename to compiler/testData/cli/jvm/XexplicitApi/explicitApi.kt
diff --git a/compiler/testData/cli/jvm/_explicitApi/explicitApiDisable.args b/compiler/testData/cli/jvm/XexplicitApi/explicitApiDisable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitApi/explicitApiDisable.args
rename to compiler/testData/cli/jvm/XexplicitApi/explicitApiDisable.args
diff --git a/compiler/testData/cli/jvm/_explicitApi/explicitApiDisable.out b/compiler/testData/cli/jvm/XexplicitApi/explicitApiDisable.out
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitApi/explicitApiDisable.out
rename to compiler/testData/cli/jvm/XexplicitApi/explicitApiDisable.out
diff --git a/compiler/testData/cli/jvm/_explicitApi/explicitApiInvalid.args b/compiler/testData/cli/jvm/XexplicitApi/explicitApiInvalid.args
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitApi/explicitApiInvalid.args
rename to compiler/testData/cli/jvm/XexplicitApi/explicitApiInvalid.args
diff --git a/compiler/testData/cli/jvm/_explicitApi/explicitApiInvalid.out b/compiler/testData/cli/jvm/XexplicitApi/explicitApiInvalid.out
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitApi/explicitApiInvalid.out
rename to compiler/testData/cli/jvm/XexplicitApi/explicitApiInvalid.out
diff --git a/compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesDifferent.args b/compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesDifferent.args
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesDifferent.args
rename to compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesDifferent.args
diff --git a/compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesDifferent.out b/compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesDifferent.out
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesDifferent.out
rename to compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesDifferent.out
diff --git a/compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesSame.args b/compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesSame.args
similarity index 100%
rename from compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesSame.args
rename to compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesSame.args
diff --git a/compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesSame.out b/compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesSame.out
new file mode 100644
index 0000000..bc1a765
--- /dev/null
+++ b/compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesSame.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/XexplicitApi/explicitApi.kt:1:1: error: visibility must be specified in explicit API mode.
+fun foo() = "hello"
+^^^^^^^
+compiler/testData/cli/jvm/XexplicitApi/explicitApi.kt:1:5: error: return type must be specified in explicit API mode.
+fun foo() = "hello"
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/hmpp/cycleInDependencies.args b/compiler/testData/cli/jvm/XfragmentSources/cycleInDependencies.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/cycleInDependencies.args
rename to compiler/testData/cli/jvm/XfragmentSources/cycleInDependencies.args
diff --git a/compiler/testData/cli/jvm/hmpp/cycleInDependencies.out b/compiler/testData/cli/jvm/XfragmentSources/cycleInDependencies.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/cycleInDependencies.out
rename to compiler/testData/cli/jvm/XfragmentSources/cycleInDependencies.out
diff --git a/compiler/testData/cli/jvm/hmpp/duplicatedFragments.args b/compiler/testData/cli/jvm/XfragmentSources/duplicatedFragments.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/duplicatedFragments.args
rename to compiler/testData/cli/jvm/XfragmentSources/duplicatedFragments.args
diff --git a/compiler/testData/cli/jvm/hmpp/duplicatedFragments.out b/compiler/testData/cli/jvm/XfragmentSources/duplicatedFragments.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/duplicatedFragments.out
rename to compiler/testData/cli/jvm/XfragmentSources/duplicatedFragments.out
diff --git a/compiler/testData/cli/jvm/hmpp/fragmentSourcesIncorrectSyntax.args b/compiler/testData/cli/jvm/XfragmentSources/fragmentSourcesIncorrectSyntax.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/fragmentSourcesIncorrectSyntax.args
rename to compiler/testData/cli/jvm/XfragmentSources/fragmentSourcesIncorrectSyntax.args
diff --git a/compiler/testData/cli/jvm/hmpp/fragmentSourcesIncorrectSyntax.out b/compiler/testData/cli/jvm/XfragmentSources/fragmentSourcesIncorrectSyntax.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/fragmentSourcesIncorrectSyntax.out
rename to compiler/testData/cli/jvm/XfragmentSources/fragmentSourcesIncorrectSyntax.out
diff --git a/compiler/testData/cli/jvm/hmpp/fragmentWithoutSources.args b/compiler/testData/cli/jvm/XfragmentSources/fragmentWithoutSources.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/fragmentWithoutSources.args
rename to compiler/testData/cli/jvm/XfragmentSources/fragmentWithoutSources.args
diff --git a/compiler/testData/cli/jvm/hmpp/fragmentWithoutSources.out b/compiler/testData/cli/jvm/XfragmentSources/fragmentWithoutSources.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/fragmentWithoutSources.out
rename to compiler/testData/cli/jvm/XfragmentSources/fragmentWithoutSources.out
diff --git a/compiler/testData/cli/jvm/hmpp/kmpMissingActual.args b/compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/kmpMissingActual.args
rename to compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.args
diff --git a/compiler/testData/cli/jvm/hmpp/kmpMissingActual.common.kt b/compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.common.kt
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/kmpMissingActual.common.kt
rename to compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.common.kt
diff --git a/compiler/testData/cli/jvm/hmpp/kmpMissingActual.java b/compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.java
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/kmpMissingActual.java
rename to compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.java
diff --git a/compiler/testData/cli/jvm/hmpp/kmpMissingActual.jvm.kt b/compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.jvm.kt
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/kmpMissingActual.jvm.kt
rename to compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.jvm.kt
diff --git a/compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.out b/compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.out
new file mode 100644
index 0000000..b8a83f3
--- /dev/null
+++ b/compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.common.kt:3:1: error: expected Foo has no actual declaration in module <main> for JVM
+expect interface Foo : Base1
+^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/hmpp/lowLanguageVersion.args b/compiler/testData/cli/jvm/XfragmentSources/lowLanguageVersion.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/lowLanguageVersion.args
rename to compiler/testData/cli/jvm/XfragmentSources/lowLanguageVersion.args
diff --git a/compiler/testData/cli/jvm/XfragmentSources/lowLanguageVersion.out b/compiler/testData/cli/jvm/XfragmentSources/lowLanguageVersion.out
new file mode 100644
index 0000000..ca7e29f
--- /dev/null
+++ b/compiler/testData/cli/jvm/XfragmentSources/lowLanguageVersion.out
@@ -0,0 +1,23 @@
+warning: ATTENTION!
+This build uses unsafe internal compiler arguments:
+
+-XXLanguage:+MultiPlatformProjects
+
+This mode is not recommended for production use,
+as no stability/compatibility guarantees are given on
+compiler or generated code. Use it at your own risk!
+
+warning: -Xfragments flag is not supported for language version < 2.0
+compiler/testData/cli/jvm/XfragmentSources/src/a.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+expect class A {
+^^^^^^
+compiler/testData/cli/jvm/XfragmentSources/src/a.kt:5:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+expect class B {
+^^^^^^
+compiler/testData/cli/jvm/XfragmentSources/src/b.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+actual class A {
+^^^^^^
+compiler/testData/cli/jvm/XfragmentSources/src/c.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+actual class B {
+^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/hmpp/missingFragment.args b/compiler/testData/cli/jvm/XfragmentSources/missingFragment.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/missingFragment.args
rename to compiler/testData/cli/jvm/XfragmentSources/missingFragment.args
diff --git a/compiler/testData/cli/jvm/hmpp/missingFragment.out b/compiler/testData/cli/jvm/XfragmentSources/missingFragment.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/missingFragment.out
rename to compiler/testData/cli/jvm/XfragmentSources/missingFragment.out
diff --git a/compiler/testData/cli/jvm/hmpp/refinesSingleModule.args b/compiler/testData/cli/jvm/XfragmentSources/refinesSingleModule.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/refinesSingleModule.args
rename to compiler/testData/cli/jvm/XfragmentSources/refinesSingleModule.args
diff --git a/compiler/testData/cli/jvm/hmpp/refinesSingleModule.out b/compiler/testData/cli/jvm/XfragmentSources/refinesSingleModule.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/refinesSingleModule.out
rename to compiler/testData/cli/jvm/XfragmentSources/refinesSingleModule.out
diff --git a/compiler/testData/cli/jvm/hmpp/refinesWithoutFragments.args b/compiler/testData/cli/jvm/XfragmentSources/refinesWithoutFragments.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/refinesWithoutFragments.args
rename to compiler/testData/cli/jvm/XfragmentSources/refinesWithoutFragments.args
diff --git a/compiler/testData/cli/jvm/hmpp/refinesWithoutFragments.out b/compiler/testData/cli/jvm/XfragmentSources/refinesWithoutFragments.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/refinesWithoutFragments.out
rename to compiler/testData/cli/jvm/XfragmentSources/refinesWithoutFragments.out
diff --git a/compiler/testData/cli/jvm/hmpp/refinesWithoutModules.out b/compiler/testData/cli/jvm/XfragmentSources/refinesWithoutModules.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/refinesWithoutModules.out
rename to compiler/testData/cli/jvm/XfragmentSources/refinesWithoutModules.out
diff --git a/compiler/testData/cli/jvm/hmpp/sameSourceInDifferentFragments.args b/compiler/testData/cli/jvm/XfragmentSources/sameSourceInDifferentFragments.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/sameSourceInDifferentFragments.args
rename to compiler/testData/cli/jvm/XfragmentSources/sameSourceInDifferentFragments.args
diff --git a/compiler/testData/cli/jvm/hmpp/sameSourceInDifferentFragments.out b/compiler/testData/cli/jvm/XfragmentSources/sameSourceInDifferentFragments.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/sameSourceInDifferentFragments.out
rename to compiler/testData/cli/jvm/XfragmentSources/sameSourceInDifferentFragments.out
diff --git a/compiler/testData/cli/jvm/hmpp/scriptInCommonFragment.args b/compiler/testData/cli/jvm/XfragmentSources/scriptInCommonFragment.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/scriptInCommonFragment.args
rename to compiler/testData/cli/jvm/XfragmentSources/scriptInCommonFragment.args
diff --git a/compiler/testData/cli/jvm/hmpp/scriptInCommonFragment.out b/compiler/testData/cli/jvm/XfragmentSources/scriptInCommonFragment.out
similarity index 75%
rename from compiler/testData/cli/jvm/hmpp/scriptInCommonFragment.out
rename to compiler/testData/cli/jvm/XfragmentSources/scriptInCommonFragment.out
index c33486f..725020e 100644
--- a/compiler/testData/cli/jvm/hmpp/scriptInCommonFragment.out
+++ b/compiler/testData/cli/jvm/XfragmentSources/scriptInCommonFragment.out
@@ -8,6 +8,6 @@
compiler or generated code. Use it at your own risk!
error: script files in common source roots are not supported. Misplaced files:
- compiler/testData/cli/jvm/hmpp/src/s1.kts
- compiler/testData/cli/jvm/hmpp/src/s2.kts
+ compiler/testData/cli/jvm/XfragmentSources/src/s1.kts
+ compiler/testData/cli/jvm/XfragmentSources/src/s2.kts
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/hmpp/sourceNotInAnyFragment.args b/compiler/testData/cli/jvm/XfragmentSources/sourceNotInAnyFragment.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/sourceNotInAnyFragment.args
rename to compiler/testData/cli/jvm/XfragmentSources/sourceNotInAnyFragment.args
diff --git a/compiler/testData/cli/jvm/hmpp/sourceNotInAnyFragment.out b/compiler/testData/cli/jvm/XfragmentSources/sourceNotInAnyFragment.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/sourceNotInAnyFragment.out
rename to compiler/testData/cli/jvm/XfragmentSources/sourceNotInAnyFragment.out
diff --git a/compiler/testData/cli/jvm/hmpp/src/a.kt b/compiler/testData/cli/jvm/XfragmentSources/src/a.kt
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/src/a.kt
rename to compiler/testData/cli/jvm/XfragmentSources/src/a.kt
diff --git a/compiler/testData/cli/jvm/hmpp/src/b.kt b/compiler/testData/cli/jvm/XfragmentSources/src/b.kt
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/src/b.kt
rename to compiler/testData/cli/jvm/XfragmentSources/src/b.kt
diff --git a/compiler/testData/cli/jvm/hmpp/src/c.kt b/compiler/testData/cli/jvm/XfragmentSources/src/c.kt
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/src/c.kt
rename to compiler/testData/cli/jvm/XfragmentSources/src/c.kt
diff --git a/compiler/testData/cli/jvm/hmpp/src/s.kts b/compiler/testData/cli/jvm/XfragmentSources/src/s.kts
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/src/s.kts
rename to compiler/testData/cli/jvm/XfragmentSources/src/s.kts
diff --git a/compiler/testData/cli/jvm/hmpp/src/s1.kts b/compiler/testData/cli/jvm/XfragmentSources/src/s1.kts
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/src/s1.kts
rename to compiler/testData/cli/jvm/XfragmentSources/src/s1.kts
diff --git a/compiler/testData/cli/jvm/hmpp/src/s2.kts b/compiler/testData/cli/jvm/XfragmentSources/src/s2.kts
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/src/s2.kts
rename to compiler/testData/cli/jvm/XfragmentSources/src/s2.kts
diff --git a/compiler/testData/cli/jvm/hmpp/successfulCompilation.args b/compiler/testData/cli/jvm/XfragmentSources/successfulCompilation.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/successfulCompilation.args
rename to compiler/testData/cli/jvm/XfragmentSources/successfulCompilation.args
diff --git a/compiler/testData/cli/jvm/XfragmentSources/successfulCompilation.out b/compiler/testData/cli/jvm/XfragmentSources/successfulCompilation.out
new file mode 100644
index 0000000..ce815aa
--- /dev/null
+++ b/compiler/testData/cli/jvm/XfragmentSources/successfulCompilation.out
@@ -0,0 +1,22 @@
+warning: ATTENTION!
+This build uses unsafe internal compiler arguments:
+
+-XXLanguage:+MultiPlatformProjects
+
+This mode is not recommended for production use,
+as no stability/compatibility guarantees are given on
+compiler or generated code. Use it at your own risk!
+
+compiler/testData/cli/jvm/XfragmentSources/src/a.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+expect class A {
+^^^^^^
+compiler/testData/cli/jvm/XfragmentSources/src/a.kt:5:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+expect class B {
+^^^^^^
+compiler/testData/cli/jvm/XfragmentSources/src/b.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+actual class A {
+^^^^^^
+compiler/testData/cli/jvm/XfragmentSources/src/c.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+actual class B {
+^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/hmpp/successfulCompilation2.args b/compiler/testData/cli/jvm/XfragmentSources/successfulCompilation2.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/successfulCompilation2.args
rename to compiler/testData/cli/jvm/XfragmentSources/successfulCompilation2.args
diff --git a/compiler/testData/cli/jvm/XfragmentSources/successfulCompilation2.out b/compiler/testData/cli/jvm/XfragmentSources/successfulCompilation2.out
new file mode 100644
index 0000000..ce815aa
--- /dev/null
+++ b/compiler/testData/cli/jvm/XfragmentSources/successfulCompilation2.out
@@ -0,0 +1,22 @@
+warning: ATTENTION!
+This build uses unsafe internal compiler arguments:
+
+-XXLanguage:+MultiPlatformProjects
+
+This mode is not recommended for production use,
+as no stability/compatibility guarantees are given on
+compiler or generated code. Use it at your own risk!
+
+compiler/testData/cli/jvm/XfragmentSources/src/a.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+expect class A {
+^^^^^^
+compiler/testData/cli/jvm/XfragmentSources/src/a.kt:5:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+expect class B {
+^^^^^^
+compiler/testData/cli/jvm/XfragmentSources/src/b.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+actual class A {
+^^^^^^
+compiler/testData/cli/jvm/XfragmentSources/src/c.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+actual class B {
+^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/hmpp/successfulCompilationWithScript.args b/compiler/testData/cli/jvm/XfragmentSources/successfulCompilationWithScript.args
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/successfulCompilationWithScript.args
rename to compiler/testData/cli/jvm/XfragmentSources/successfulCompilationWithScript.args
diff --git a/compiler/testData/cli/jvm/hmpp/successfulCompilationWithScript.out b/compiler/testData/cli/jvm/XfragmentSources/successfulCompilationWithScript.out
similarity index 100%
rename from compiler/testData/cli/jvm/hmpp/successfulCompilationWithScript.out
rename to compiler/testData/cli/jvm/XfragmentSources/successfulCompilationWithScript.out
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease.args b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease.kt b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease.kt
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease.kt
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease.out b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease.out
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease20WithCorruptedClass.args b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease20WithCorruptedClass.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease20WithCorruptedClass.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease20WithCorruptedClass.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease20WithCorruptedClass.out b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease20WithCorruptedClass.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease20WithCorruptedClass.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease20WithCorruptedClass.out
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk11.args b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk11.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk11.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk11.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk11.out b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk11.out
similarity index 63%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk11.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk11.out
index 8416e72..99da44e 100644
--- a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk11.out
+++ b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk11.out
@@ -1,7 +1,7 @@
-compiler/testData/cli/jvm/_jdkRelease/jdkRelease.kt:3:22: error: unresolved reference 'file'.
+compiler/testData/cli/jvm/XjdkRelease/jdkRelease.kt:3:22: error: unresolved reference 'file'.
fun path(): java.nio.file.Path? = null
^^^^
-compiler/testData/cli/jvm/_jdkRelease/jdkRelease.kt:5:26: error: unresolved reference 'stream'.
+compiler/testData/cli/jvm/XjdkRelease/jdkRelease.kt:5:26: error: unresolved reference 'stream'.
fun stream() = java.util.stream.Stream.of(42)
^^^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk8.args b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk8.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk8.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk8.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk8.out b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk8.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk8.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk8.out
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget9.args b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget9.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget9.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget9.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget9.out b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget9.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget9.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget9.out
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithoutExplicitJvmTarget.args b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithoutExplicitJvmTarget.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithoutExplicitJvmTarget.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithoutExplicitJvmTarget.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithoutExplicitJvmTarget.out b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithoutExplicitJvmTarget.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithoutExplicitJvmTarget.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithoutExplicitJvmTarget.out
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk11.args b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk11.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk11.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk11.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk11.out b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk11.out
similarity index 66%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk11.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk11.out
index e2518dd..11549c8 100644
--- a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk11.out
+++ b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk11.out
@@ -1,4 +1,4 @@
-compiler/testData/cli/jvm/_jdkRelease/jdkRelease.kt:5:26: error: unresolved reference 'stream'.
+compiler/testData/cli/jvm/XjdkRelease/jdkRelease.kt:5:26: error: unresolved reference 'stream'.
fun stream() = java.util.stream.Stream.of(42)
^^^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk8.args b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk8.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk8.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk8.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk8.out b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk8.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk8.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk8.out
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease8.args b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease8.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease8.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease8.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkRelease8.out b/compiler/testData/cli/jvm/XjdkRelease/jdkRelease8.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkRelease8.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkRelease8.out
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalid.args b/compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalid.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalid.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalid.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalid.out b/compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalid.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalid.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalid.out
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalidEmpty.args b/compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalidEmpty.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalidEmpty.args
rename to compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalidEmpty.args
diff --git a/compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalidEmpty.out b/compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalidEmpty.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalidEmpty.out
rename to compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalidEmpty.out
diff --git a/compiler/testData/cli/jvm/_XnullabilityAnnotations/jspecify/A.java b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecify/A.java
similarity index 100%
copy from compiler/testData/cli/jvm/_XnullabilityAnnotations/jspecify/A.java
copy to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecify/A.java
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyByLv16.args b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv16.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyByLv16.args
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv16.args
diff --git a/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv16.out b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv16.out
new file mode 100644
index 0000000..6c92816
--- /dev/null
+++ b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv16.out
@@ -0,0 +1,8 @@
+warning: language version 1.6 is deprecated and its support will be removed in a future version of Kotlin
+compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt:2:11: warning: type mismatch: inferred type is Nothing? but String was expected
+ a.foo(null)
+ ^^^^
+compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt:3:5: warning: unsafe use of a nullable receiver of type String?
+ a.bar().hashCode()
+ ^^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyByLv19.args b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv19.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyByLv19.args
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv19.args
diff --git a/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv19.out b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv19.out
new file mode 100644
index 0000000..cb0f4b3
--- /dev/null
+++ b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv19.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt:2:11: warning: type mismatch: inferred type is Nothing? but String was expected
+ a.foo(null)
+ ^^^^
+compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt:3:5: warning: unsafe use of a nullable receiver of type String?
+ a.bar().hashCode()
+ ^^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyDefault.args b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyDefault.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyDefault.args
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyDefault.args
diff --git a/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyDefault.out b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyDefault.out
new file mode 100644
index 0000000..101548f
--- /dev/null
+++ b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyDefault.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
+ a.foo(null)
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyEmpty.args b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyEmpty.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyEmpty.args
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyEmpty.args
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyEmpty.out b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyEmpty.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyEmpty.out
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyEmpty.out
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyIgnore.args b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyIgnore.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyIgnore.args
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyIgnore.args
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyIgnore.out b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyIgnore.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyIgnore.out
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyIgnore.out
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyInvalid.args b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyInvalid.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyInvalid.args
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyInvalid.args
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyInvalid.out b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyInvalid.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyInvalid.out
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyInvalid.out
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyStrict.args b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyStrict.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyStrict.args
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyStrict.args
diff --git a/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyStrict.out b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyStrict.out
new file mode 100644
index 0000000..101548f
--- /dev/null
+++ b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyStrict.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
+ a.foo(null)
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyWarn.args b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyWarn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jspecify/jspecifyWarn.args
rename to compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyWarn.args
diff --git a/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyWarn.out b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyWarn.out
new file mode 100644
index 0000000..007ee04
--- /dev/null
+++ b/compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyWarn.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt:2:11: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
+ a.foo(null)
+ ^^^^
+compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyUsage.kt:3:5: warning: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
+ a.bar().hashCode()
+ ^^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305/A.java b/compiler/testData/cli/jvm/Xjsr305/jsr305/A.java
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305/A.java
rename to compiler/testData/cli/jvm/Xjsr305/jsr305/A.java
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305/Annotated.java b/compiler/testData/cli/jvm/Xjsr305/jsr305/Annotated.java
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305/Annotated.java
rename to compiler/testData/cli/jvm/Xjsr305/jsr305/Annotated.java
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305/DefaultAnnotated.java b/compiler/testData/cli/jvm/Xjsr305/jsr305/DefaultAnnotated.java
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305/DefaultAnnotated.java
rename to compiler/testData/cli/jvm/Xjsr305/jsr305/DefaultAnnotated.java
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305/MyMigrationNonnull.java b/compiler/testData/cli/jvm/Xjsr305/jsr305/MyMigrationNonnull.java
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305/MyMigrationNonnull.java
rename to compiler/testData/cli/jvm/Xjsr305/jsr305/MyMigrationNonnull.java
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305/MyNonnull.java b/compiler/testData/cli/jvm/Xjsr305/jsr305/MyNonnull.java
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305/MyNonnull.java
rename to compiler/testData/cli/jvm/Xjsr305/jsr305/MyNonnull.java
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305/MyNonnullApi.java b/compiler/testData/cli/jvm/Xjsr305/jsr305/MyNonnullApi.java
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305/MyNonnullApi.java
rename to compiler/testData/cli/jvm/Xjsr305/jsr305/MyNonnullApi.java
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305/MyNullable.java b/compiler/testData/cli/jvm/Xjsr305/jsr305/MyNullable.java
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305/MyNullable.java
rename to compiler/testData/cli/jvm/Xjsr305/jsr305/MyNullable.java
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305AllIgnore.args b/compiler/testData/cli/jvm/Xjsr305/jsr305AllIgnore.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305AllIgnore.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305AllIgnore.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305AllIgnore.out b/compiler/testData/cli/jvm/Xjsr305/jsr305AllIgnore.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305AllIgnore.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305AllIgnore.out
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305DefaultMigration.args b/compiler/testData/cli/jvm/Xjsr305/jsr305DefaultMigration.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305DefaultMigration.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305DefaultMigration.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305DefaultMigration.kt b/compiler/testData/cli/jvm/Xjsr305/jsr305DefaultMigration.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305DefaultMigration.kt
rename to compiler/testData/cli/jvm/Xjsr305/jsr305DefaultMigration.kt
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305DefaultMigration.out b/compiler/testData/cli/jvm/Xjsr305/jsr305DefaultMigration.out
similarity index 67%
rename from compiler/testData/cli/jvm/_jsr305/jsr305DefaultMigration.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305DefaultMigration.out
index 9cc0401..f3bca45 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305DefaultMigration.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305DefaultMigration.out
@@ -1,4 +1,4 @@
-compiler/testData/cli/jvm/_jsr305/jsr305DefaultMigration.kt:2:19: error: null cannot be a value of a non-null type 'kotlin.String'.
+compiler/testData/cli/jvm/Xjsr305/jsr305DefaultMigration.kt:2:19: error: null cannot be a value of a non-null type 'kotlin.String'.
annotated.foo(null)
^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedEnable.args b/compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedEnable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedEnable.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedEnable.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedEnable.out b/compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedEnable.out
similarity index 80%
rename from compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedEnable.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedEnable.out
index 5ff0cfe..098d270 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedEnable.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedEnable.out
@@ -1,6 +1,6 @@
warning: argument -Xjsr305-annotations is deprecated. Please use -Xjsr305 instead
warning: option 'enable' for -Xjsr305 flag is deprecated. Please use 'strict' instead
-compiler/testData/cli/jvm/_jsr305/jsr305Usage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
+compiler/testData/cli/jvm/Xjsr305/jsr305Usage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
a.foo(null)
^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedIgnore.args b/compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedIgnore.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedIgnore.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedIgnore.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedIgnore.out b/compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedIgnore.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedIgnore.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedIgnore.out
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedWarn.args b/compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedWarn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedWarn.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedWarn.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedWarn.out b/compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedWarn.out
similarity index 76%
rename from compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedWarn.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedWarn.out
index 13419fc..058c42a 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedWarn.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedWarn.out
@@ -1,5 +1,5 @@
warning: argument -Xjsr305-annotations is deprecated. Please use -Xjsr305 instead
-compiler/testData/cli/jvm/_jsr305/jsr305Usage.kt:2:11: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
+compiler/testData/cli/jvm/Xjsr305/jsr305Usage.kt:2:11: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
a.foo(null)
^^^^
OK
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305FqNameIgnore.args b/compiler/testData/cli/jvm/Xjsr305/jsr305FqNameIgnore.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305FqNameIgnore.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305FqNameIgnore.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305FqNameIgnore.out b/compiler/testData/cli/jvm/Xjsr305/jsr305FqNameIgnore.out
similarity index 66%
rename from compiler/testData/cli/jvm/_jsr305/jsr305FqNameIgnore.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305FqNameIgnore.out
index e445e0e..b1e601a 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305FqNameIgnore.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305FqNameIgnore.out
@@ -1,4 +1,4 @@
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:3:19: error: null cannot be a value of a non-null type 'kotlin.String'.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:3:19: error: null cannot be a value of a non-null type 'kotlin.String'.
annotated.bar(null)
^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305FqNameStrict.args b/compiler/testData/cli/jvm/Xjsr305/jsr305FqNameStrict.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305FqNameStrict.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305FqNameStrict.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305FqNameStrict.out b/compiler/testData/cli/jvm/Xjsr305/jsr305FqNameStrict.out
similarity index 64%
rename from compiler/testData/cli/jvm/_jsr305/jsr305FqNameStrict.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305FqNameStrict.out
index 3820d4b..52b2bdb 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305FqNameStrict.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305FqNameStrict.out
@@ -1,7 +1,7 @@
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:2:19: error: null cannot be a value of a non-null type 'kotlin.String'.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:2:19: error: null cannot be a value of a non-null type 'kotlin.String'.
annotated.foo(null)
^^^^
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:3:19: error: null cannot be a value of a non-null type 'kotlin.String'.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:3:19: error: null cannot be a value of a non-null type 'kotlin.String'.
annotated.bar(null)
^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305Ignore.args b/compiler/testData/cli/jvm/Xjsr305/jsr305Ignore.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305Ignore.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305Ignore.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305Ignore.out b/compiler/testData/cli/jvm/Xjsr305/jsr305Ignore.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305Ignore.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305Ignore.out
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt b/compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt
rename to compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationDefault.args b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationDefault.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305MigrationDefault.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305MigrationDefault.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationDefault.out b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationDefault.out
similarity index 66%
rename from compiler/testData/cli/jvm/_jsr305/jsr305MigrationDefault.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305MigrationDefault.out
index e445e0e..b1e601a 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationDefault.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationDefault.out
@@ -1,4 +1,4 @@
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:3:19: error: null cannot be a value of a non-null type 'kotlin.String'.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:3:19: error: null cannot be a value of a non-null type 'kotlin.String'.
annotated.bar(null)
^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationFqNameIgnore.args b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationFqNameIgnore.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305MigrationFqNameIgnore.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305MigrationFqNameIgnore.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationFqNameIgnore.out b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationFqNameIgnore.out
similarity index 71%
rename from compiler/testData/cli/jvm/_jsr305/jsr305MigrationFqNameIgnore.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305MigrationFqNameIgnore.out
index 39d384e..cf8a3cf 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationFqNameIgnore.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationFqNameIgnore.out
@@ -1,7 +1,7 @@
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:2:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:2:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
annotated.foo(null)
^^^^
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:4:5: warning: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:4:5: warning: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
annotated.nullable().length
^^^^^^^^^^^^^^^^^^^^
OK
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationIgnore.args b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationIgnore.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305MigrationIgnore.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305MigrationIgnore.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationIgnore.out b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationIgnore.out
similarity index 71%
rename from compiler/testData/cli/jvm/_jsr305/jsr305MigrationIgnore.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305MigrationIgnore.out
index 39d384e..cf8a3cf 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationIgnore.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationIgnore.out
@@ -1,7 +1,7 @@
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:2:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:2:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
annotated.foo(null)
^^^^
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:4:5: warning: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:4:5: warning: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
annotated.nullable().length
^^^^^^^^^^^^^^^^^^^^
OK
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationWarn.args b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationWarn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305MigrationWarn.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305MigrationWarn.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationWarn.out b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationWarn.out
similarity index 70%
rename from compiler/testData/cli/jvm/_jsr305/jsr305MigrationWarn.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305MigrationWarn.out
index c008377..41b7765 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305MigrationWarn.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305MigrationWarn.out
@@ -1,10 +1,10 @@
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:2:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:2:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
annotated.foo(null)
^^^^
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:3:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:3:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
annotated.bar(null)
^^^^
-compiler/testData/cli/jvm/_jsr305/jsr305Migration.kt:4:5: warning: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
+compiler/testData/cli/jvm/Xjsr305/jsr305Migration.kt:4:5: warning: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
annotated.nullable().length
^^^^^^^^^^^^^^^^^^^^
OK
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305NoFlag.args b/compiler/testData/cli/jvm/Xjsr305/jsr305NoFlag.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305NoFlag.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305NoFlag.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305NoFlag.out b/compiler/testData/cli/jvm/Xjsr305/jsr305NoFlag.out
similarity index 66%
rename from compiler/testData/cli/jvm/_jsr305/jsr305NoFlag.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305NoFlag.out
index 7a582a5..3b2ae9b 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305NoFlag.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305NoFlag.out
@@ -1,4 +1,4 @@
-compiler/testData/cli/jvm/_jsr305/jsr305Usage.kt:2:11: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
+compiler/testData/cli/jvm/Xjsr305/jsr305Usage.kt:2:11: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
a.foo(null)
^^^^
OK
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305PassedInObsoleteForm.args b/compiler/testData/cli/jvm/Xjsr305/jsr305PassedInObsoleteForm.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305PassedInObsoleteForm.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305PassedInObsoleteForm.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305PassedInObsoleteForm.out b/compiler/testData/cli/jvm/Xjsr305/jsr305PassedInObsoleteForm.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305PassedInObsoleteForm.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305PassedInObsoleteForm.out
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305Strict.args b/compiler/testData/cli/jvm/Xjsr305/jsr305Strict.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305Strict.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305Strict.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305Strict.out b/compiler/testData/cli/jvm/Xjsr305/jsr305Strict.out
similarity index 62%
rename from compiler/testData/cli/jvm/_jsr305/jsr305Strict.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305Strict.out
index 2f9000e..48c532f 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305Strict.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305Strict.out
@@ -1,4 +1,4 @@
-compiler/testData/cli/jvm/_jsr305/jsr305Usage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
+compiler/testData/cli/jvm/Xjsr305/jsr305Usage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
a.foo(null)
^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305Usage.kt b/compiler/testData/cli/jvm/Xjsr305/jsr305Usage.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305Usage.kt
rename to compiler/testData/cli/jvm/Xjsr305/jsr305Usage.kt
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305Warn.args b/compiler/testData/cli/jvm/Xjsr305/jsr305Warn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/jsr305Warn.args
rename to compiler/testData/cli/jvm/Xjsr305/jsr305Warn.args
diff --git a/compiler/testData/cli/jvm/_jsr305/jsr305Warn.out b/compiler/testData/cli/jvm/Xjsr305/jsr305Warn.out
similarity index 66%
rename from compiler/testData/cli/jvm/_jsr305/jsr305Warn.out
rename to compiler/testData/cli/jvm/Xjsr305/jsr305Warn.out
index 7a582a5..3b2ae9b 100644
--- a/compiler/testData/cli/jvm/_jsr305/jsr305Warn.out
+++ b/compiler/testData/cli/jvm/Xjsr305/jsr305Warn.out
@@ -1,4 +1,4 @@
-compiler/testData/cli/jvm/_jsr305/jsr305Usage.kt:2:11: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
+compiler/testData/cli/jvm/Xjsr305/jsr305Usage.kt:2:11: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
a.foo(null)
^^^^
OK
diff --git a/compiler/testData/cli/jvm/_jsr305/wrongXjsr305.args b/compiler/testData/cli/jvm/Xjsr305/wrongXjsr305.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/wrongXjsr305.args
rename to compiler/testData/cli/jvm/Xjsr305/wrongXjsr305.args
diff --git a/compiler/testData/cli/jvm/_jsr305/wrongXjsr305.out b/compiler/testData/cli/jvm/Xjsr305/wrongXjsr305.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jsr305/wrongXjsr305.out
rename to compiler/testData/cli/jvm/Xjsr305/wrongXjsr305.out
diff --git a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefault.kt b/compiler/testData/cli/jvm/XjvmDefault/jvmDefault.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XjvmDefault/jvmDefault.kt
rename to compiler/testData/cli/jvm/XjvmDefault/jvmDefault.kt
diff --git a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAll.args b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAll.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAll.args
rename to compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAll.args
diff --git a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAll.out b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAll.out
similarity index 100%
rename from compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAll.out
rename to compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAll.out
diff --git a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAllCompatibility.args b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAllCompatibility.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAllCompatibility.args
rename to compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAllCompatibility.args
diff --git a/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAllCompatibility.out b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAllCompatibility.out
new file mode 100644
index 0000000..c19af7f
--- /dev/null
+++ b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAllCompatibility.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XjvmDefault/jvmDefault.kt:1:1: error: usage of '@JvmDefaultWithCompatibility' is only allowed with '-Xjvm-default=all' option.
+@JvmDefaultWithCompatibility
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultDisable.args b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultDisable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultDisable.args
rename to compiler/testData/cli/jvm/XjvmDefault/jvmDefaultDisable.args
diff --git a/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultDisable.out b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultDisable.out
new file mode 100644
index 0000000..acbbc99
--- /dev/null
+++ b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultDisable.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/XjvmDefault/jvmDefault.kt:1:1: error: usage of '@JvmDefaultWithCompatibility' is only allowed with '-Xjvm-default=all' option.
+@JvmDefaultWithCompatibility
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/XjvmDefault/jvmDefault.kt:4:1: error: usage of '@JvmDefaultWithoutCompatibility' is only allowed with '-Xjvm-default' option.
+@JvmDefaultWithoutCompatibility
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultIncorrectValue.args b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultIncorrectValue.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultIncorrectValue.args
rename to compiler/testData/cli/jvm/XjvmDefault/jvmDefaultIncorrectValue.args
diff --git a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultIncorrectValue.out b/compiler/testData/cli/jvm/XjvmDefault/jvmDefaultIncorrectValue.out
similarity index 100%
rename from compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultIncorrectValue.out
rename to compiler/testData/cli/jvm/XjvmDefault/jvmDefaultIncorrectValue.out
diff --git a/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.args b/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.args
rename to compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.args
diff --git a/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt b/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt
rename to compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt
diff --git a/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.out b/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.out
new file mode 100644
index 0000000..39cfcf1
--- /dev/null
+++ b/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.out
@@ -0,0 +1,41 @@
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$p(LA;)I):
+ fun `access$getFoo$p`(`$this`: A): Int defined in A
+ fun `access$getFoo$p`(a: A): Int defined in A
+class A {
+^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$p(LA;I)V):
+ fun `access$setFoo$p`(`$this`: A, `<set-?>`: Int): Unit defined in A
+ fun `access$setFoo$p`(a: A, d: Int): Unit defined in A
+class A {
+^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$cp()I):
+ fun `access$getFoo$cp`(): Int defined in A
+ fun `access$getFoo$cp`(): Int defined in A
+class A {
+^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$cp(I)V):
+ fun `access$setFoo$cp`(`<set-?>`: Int): Unit defined in A
+ fun `access$setFoo$cp`(d: Int): Unit defined in A
+class A {
+^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:6:5: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$p(LA;)I):
+ fun `access$getFoo$p`(`$this`: A): Int defined in A
+ fun `access$getFoo$p`(a: A): Int defined in A
+ fun `access$getFoo$p`(a: A): Int = 1
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:7:5: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$p(LA;I)V):
+ fun `access$setFoo$p`(`$this`: A, `<set-?>`: Int): Unit defined in A
+ fun `access$setFoo$p`(a: A, d: Int): Unit defined in A
+ fun `access$setFoo$p`(a: A, d: Int) {}
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:10:5: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$cp()I):
+ fun `access$getFoo$cp`(): Int defined in A
+ fun `access$getFoo$cp`(): Int defined in A
+ fun `access$getFoo$cp`(): Int = 1
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:11:5: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$cp(I)V):
+ fun `access$setFoo$cp`(`<set-?>`: Int): Unit defined in A
+ fun `access$setFoo$cp`(d: Int): Unit defined in A
+ fun `access$setFoo$cp`(d: Int) {}
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.args b/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.args
rename to compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.args
diff --git a/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt b/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt
rename to compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt
diff --git a/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.out b/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.out
new file mode 100644
index 0000000..180e4e7
--- /dev/null
+++ b/compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.out
@@ -0,0 +1,41 @@
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$p(LA;)I):
+ fun `access$getFoo$p`(`$this`: A): Int defined in A
+ fun `access$getFoo$p`(a: A): Int defined in A
+class A {
+^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$p(LA;I)V):
+ fun `access$setFoo$p`(`$this`: A, `<set-?>`: Int): Unit defined in A
+ fun `access$setFoo$p`(a: A, d: Int): Unit defined in A
+class A {
+^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo(LA;)I):
+ fun `access$getFoo`(`$this`: A): Int defined in A
+ fun `access$getFoo`(a: A): Int defined in A
+class A {
+^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo(LA;I)V):
+ fun `access$setFoo`(`$this`: A, i: Int): Unit defined in A
+ fun `access$setFoo`(a: A, d: Int): Unit defined in A
+class A {
+^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:6:5: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$p(LA;)I):
+ fun `access$getFoo$p`(`$this`: A): Int defined in A
+ fun `access$getFoo$p`(a: A): Int defined in A
+ fun `access$getFoo$p`(a: A): Int = 1
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:7:5: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$p(LA;I)V):
+ fun `access$setFoo$p`(`$this`: A, `<set-?>`: Int): Unit defined in A
+ fun `access$setFoo$p`(a: A, d: Int): Unit defined in A
+ fun `access$setFoo$p`(a: A, d: Int) {}
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:12:5: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo(LA;)I):
+ fun `access$getFoo`(`$this`: A): Int defined in A
+ fun `access$getFoo`(a: A): Int defined in A
+ fun `access$getFoo`(a: A): Int = 1
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:13:5: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo(LA;I)V):
+ fun `access$setFoo`(`$this`: A, i: Int): Unit defined in A
+ fun `access$setFoo`(a: A, d: Int): Unit defined in A
+ fun `access$setFoo`(a: A, d: Int) {}
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_metadataVersion/invalidMetadataVersion.args b/compiler/testData/cli/jvm/XmetadataVersion/invalidMetadataVersion.args
similarity index 100%
rename from compiler/testData/cli/jvm/_metadataVersion/invalidMetadataVersion.args
rename to compiler/testData/cli/jvm/XmetadataVersion/invalidMetadataVersion.args
diff --git a/compiler/testData/cli/jvm/_metadataVersion/invalidMetadataVersion.out b/compiler/testData/cli/jvm/XmetadataVersion/invalidMetadataVersion.out
similarity index 100%
rename from compiler/testData/cli/jvm/_metadataVersion/invalidMetadataVersion.out
rename to compiler/testData/cli/jvm/XmetadataVersion/invalidMetadataVersion.out
diff --git a/compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass.args b/compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass.args
rename to compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass.args
diff --git a/compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass.out b/compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass.out
new file mode 100644
index 0000000..6e65b24
--- /dev/null
+++ b/compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass/common.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+expect class AtomicRef<T> {
+^^^^^^
+compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass/jvm.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
+actual class AtomicRef<T> constructor(value: T) {
+^^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass/common.kt b/compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass/common.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass/common.kt
rename to compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass/common.kt
diff --git a/compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass/jvm.kt b/compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass/jvm.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass/jvm.kt
rename to compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass/jvm.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args b/compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args
rename to compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.kt b/compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.kt
rename to compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.out b/compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.out
rename to compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args b/compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args
rename to compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.out b/compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.out
rename to compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInference.args b/compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInference.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInference.args
rename to compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInference.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInference.kt b/compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInference.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInference.kt
rename to compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInference.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInference.out b/compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInference.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInference.out
rename to compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInference.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args b/compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args
rename to compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.out b/compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.out
rename to compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.out
diff --git a/compiler/testData/cli/jvm/_noInline/nonLocalDisabled.args b/compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.args
similarity index 100%
rename from compiler/testData/cli/jvm/_noInline/nonLocalDisabled.args
rename to compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.args
diff --git a/compiler/testData/cli/jvm/_noInline/nonLocalDisabled.kt b/compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_noInline/nonLocalDisabled.kt
rename to compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.kt
diff --git a/compiler/testData/cli/jvm/_noInline/nonLocalDisabled.out b/compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.out
similarity index 61%
rename from compiler/testData/cli/jvm/_noInline/nonLocalDisabled.out
rename to compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.out
index cd0d08e..20270c4 100644
--- a/compiler/testData/cli/jvm/_noInline/nonLocalDisabled.out
+++ b/compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.out
@@ -1,7 +1,7 @@
-compiler/testData/cli/jvm/_noInline/nonLocalDisabled.kt:3:9: error: non-local returns are not allowed with inlining disabled
+compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.kt:3:9: error: non-local returns are not allowed with inlining disabled
return
^^^^^^
-compiler/testData/cli/jvm/_noInline/nonLocalDisabled.kt:7:9: error: non-local returns are not allowed with inlining disabled
+compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.kt:7:9: error: non-local returns are not allowed with inlining disabled
return@a
^^^^^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XnullabilityAnnotations/compatqual/B.java b/compiler/testData/cli/jvm/XnullabilityAnnotations/compatqual/B.java
similarity index 100%
rename from compiler/testData/cli/jvm/_XnullabilityAnnotations/compatqual/B.java
rename to compiler/testData/cli/jvm/XnullabilityAnnotations/compatqual/B.java
diff --git a/compiler/testData/cli/jvm/_XnullabilityAnnotations/jspecify/A.java b/compiler/testData/cli/jvm/XnullabilityAnnotations/jspecify/A.java
similarity index 100%
rename from compiler/testData/cli/jvm/_XnullabilityAnnotations/jspecify/A.java
rename to compiler/testData/cli/jvm/XnullabilityAnnotations/jspecify/A.java
diff --git a/compiler/testData/cli/jvm/_XnullabilityAnnotations/nullabilityAnnotations.args b/compiler/testData/cli/jvm/XnullabilityAnnotations/nullabilityAnnotations.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XnullabilityAnnotations/nullabilityAnnotations.args
rename to compiler/testData/cli/jvm/XnullabilityAnnotations/nullabilityAnnotations.args
diff --git a/compiler/testData/cli/jvm/XnullabilityAnnotations/nullabilityAnnotations.out b/compiler/testData/cli/jvm/XnullabilityAnnotations/nullabilityAnnotations.out
new file mode 100644
index 0000000..6384994
--- /dev/null
+++ b/compiler/testData/cli/jvm/XnullabilityAnnotations/nullabilityAnnotations.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XnullabilityAnnotations/severalAnnotations.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
+ a.foo(null)
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XnullabilityAnnotations/severalAnnotations.kt b/compiler/testData/cli/jvm/XnullabilityAnnotations/severalAnnotations.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XnullabilityAnnotations/severalAnnotations.kt
rename to compiler/testData/cli/jvm/XnullabilityAnnotations/severalAnnotations.kt
diff --git a/compiler/testData/cli/jvm/plugins/firAllOpenPlugin.kt b/compiler/testData/cli/jvm/Xplugin/firAllOpenPlugin.kt
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/firAllOpenPlugin.kt
rename to compiler/testData/cli/jvm/Xplugin/firAllOpenPlugin.kt
diff --git a/compiler/testData/cli/jvm/plugins/firAllOpenPlugin_legacy.args b/compiler/testData/cli/jvm/Xplugin/firAllOpenPlugin_legacy.args
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/firAllOpenPlugin_legacy.args
rename to compiler/testData/cli/jvm/Xplugin/firAllOpenPlugin_legacy.args
diff --git a/compiler/testData/cli/jvm/plugins/firAllOpenPlugin_legacy.out b/compiler/testData/cli/jvm/Xplugin/firAllOpenPlugin_legacy.out
similarity index 100%
rename from compiler/testData/cli/jvm/plugins/firAllOpenPlugin_legacy.out
rename to compiler/testData/cli/jvm/Xplugin/firAllOpenPlugin_legacy.out
diff --git a/compiler/testData/cli/jvm/_plugin/nonExistingPluginClassPath.args b/compiler/testData/cli/jvm/Xplugin/nonExistingPluginClassPath.args
similarity index 100%
rename from compiler/testData/cli/jvm/_plugin/nonExistingPluginClassPath.args
rename to compiler/testData/cli/jvm/Xplugin/nonExistingPluginClassPath.args
diff --git a/compiler/testData/cli/jvm/_plugin/nonExistingPluginClassPath.out b/compiler/testData/cli/jvm/Xplugin/nonExistingPluginClassPath.out
similarity index 100%
rename from compiler/testData/cli/jvm/_plugin/nonExistingPluginClassPath.out
rename to compiler/testData/cli/jvm/Xplugin/nonExistingPluginClassPath.out
diff --git a/compiler/testData/cli/jvm/_plugin/simple.kt b/compiler/testData/cli/jvm/Xplugin/simple.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_plugin/simple.kt
rename to compiler/testData/cli/jvm/Xplugin/simple.kt
diff --git a/compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.args b/compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.args
similarity index 100%
rename from compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.args
rename to compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.args
diff --git a/compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.kt b/compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.kt
rename to compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.kt
diff --git a/compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.out b/compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.out
similarity index 70%
rename from compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.out
rename to compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.out
index e84dfd2..59473c7 100644
--- a/compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.out
+++ b/compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.out
@@ -1,7 +1,7 @@
-compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.kt:2:21: error: [INITIALIZER_TYPE_MISMATCH] Initializer type mismatch: expected 'kotlin.String', actual 'kotlin.Int'.
+compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.kt:2:21: error: [INITIALIZER_TYPE_MISMATCH] Initializer type mismatch: expected 'kotlin.String', actual 'kotlin.Int'.
val x: String = 1
^
-compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.kt:3:1: error: [NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY] Missing return statement.
+compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.kt:3:1: error: [NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY] Missing return statement.
}
^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.args b/compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.args
similarity index 100%
rename from compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.args
rename to compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.args
diff --git a/compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.kt b/compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.kt
rename to compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.kt
diff --git a/compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.out b/compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.out
new file mode 100644
index 0000000..0871640
--- /dev/null
+++ b/compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.out
@@ -0,0 +1,10 @@
+compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.kt:1:26: error: unresolved reference 'g'.
+fun foo(a: Int, b: Int) {g
+ ^
+compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.kt:2:13: warning: division by zero.
+ println(a / 0)
+ ^^^^^
+compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.kt:3:13: warning: division by zero.
+ println(b / 0)
+ ^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6/selfUpperBoundInference.args b/compiler/testData/cli/jvm/XselfUpperBoundInference/selfUpperBoundInference.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6/selfUpperBoundInference.args
rename to compiler/testData/cli/jvm/XselfUpperBoundInference/selfUpperBoundInference.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6/selfUpperBoundInference.kt b/compiler/testData/cli/jvm/XselfUpperBoundInference/selfUpperBoundInference.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6/selfUpperBoundInference.kt
rename to compiler/testData/cli/jvm/XselfUpperBoundInference/selfUpperBoundInference.kt
diff --git a/compiler/testData/cli/jvm/XselfUpperBoundInference/selfUpperBoundInference.out b/compiler/testData/cli/jvm/XselfUpperBoundInference/selfUpperBoundInference.out
new file mode 100644
index 0000000..480703f
--- /dev/null
+++ b/compiler/testData/cli/jvm/XselfUpperBoundInference/selfUpperBoundInference.out
@@ -0,0 +1,5 @@
+warning: language version 1.7 is deprecated and its support will be removed in a future version of Kotlin
+compiler/testData/cli/jvm/XselfUpperBoundInference/selfUpperBoundInference.kt:40:25: warning: unchecked cast: WriterAppender.Builder1<B> to B
+ return this as B
+ ^^^^
+OK
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqual/B.java b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqual/B.java
similarity index 100%
rename from compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqual/B.java
rename to compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqual/B.java
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDefault.args b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDefault.args
similarity index 100%
rename from compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDefault.args
rename to compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDefault.args
diff --git a/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDefault.out b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDefault.out
new file mode 100644
index 0000000..f17cc81
--- /dev/null
+++ b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDefault.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualUsage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
+ b.foo(null)
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDisable.args b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDisable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDisable.args
rename to compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDisable.args
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDisable.out b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDisable.out
similarity index 100%
rename from compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDisable.out
rename to compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDisable.out
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualEnable.args b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualEnable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualEnable.args
rename to compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualEnable.args
diff --git a/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualEnable.out b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualEnable.out
new file mode 100644
index 0000000..f17cc81
--- /dev/null
+++ b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualEnable.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualUsage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
+ b.foo(null)
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualUsage.kt b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualUsage.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualUsage.kt
rename to compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualUsage.kt
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualWrong.args b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualWrong.args
similarity index 100%
rename from compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualWrong.args
rename to compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualWrong.args
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualWrong.out b/compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualWrong.out
similarity index 100%
rename from compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualWrong.out
rename to compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualWrong.out
diff --git a/compiler/testData/cli/jvm/_suppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.args b/compiler/testData/cli/jvm/XsuppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.args
rename to compiler/testData/cli/jvm/XsuppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.args
diff --git a/compiler/testData/cli/jvm/_suppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.out b/compiler/testData/cli/jvm/XsuppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.out
rename to compiler/testData/cli/jvm/XsuppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.out
diff --git a/compiler/testData/cli/jvm/_suppressVersionWarnings/kt48833_doNotSuppressVersionErrors.args b/compiler/testData/cli/jvm/XsuppressVersionWarnings/kt48833_doNotSuppressVersionErrors.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressVersionWarnings/kt48833_doNotSuppressVersionErrors.args
rename to compiler/testData/cli/jvm/XsuppressVersionWarnings/kt48833_doNotSuppressVersionErrors.args
diff --git a/compiler/testData/cli/jvm/_suppressVersionWarnings/kt48833_doNotSuppressVersionErrors.out b/compiler/testData/cli/jvm/XsuppressVersionWarnings/kt48833_doNotSuppressVersionErrors.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressVersionWarnings/kt48833_doNotSuppressVersionErrors.out
rename to compiler/testData/cli/jvm/XsuppressVersionWarnings/kt48833_doNotSuppressVersionErrors.out
diff --git a/compiler/testData/cli/jvm/_suppressVersionWarnings/simple.kt b/compiler/testData/cli/jvm/XsuppressVersionWarnings/simple.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressVersionWarnings/simple.kt
rename to compiler/testData/cli/jvm/XsuppressVersionWarnings/simple.kt
diff --git a/compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarnings.args b/compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarnings.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarnings.args
rename to compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarnings.args
diff --git a/compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarnings.out b/compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarnings.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarnings.out
rename to compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarnings.out
diff --git a/compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.args b/compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.args
rename to compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.args
diff --git a/compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.out b/compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.out
rename to compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.out
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/multipleWarningSuppression.args b/compiler/testData/cli/jvm/XsuppressWarnings/multipleWarningSuppression.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/multipleWarningSuppression.args
rename to compiler/testData/cli/jvm/XsuppressWarnings/multipleWarningSuppression.args
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/multipleWarningSuppression.out b/compiler/testData/cli/jvm/XsuppressWarnings/multipleWarningSuppression.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/multipleWarningSuppression.out
rename to compiler/testData/cli/jvm/XsuppressWarnings/multipleWarningSuppression.out
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/src/warningSuppression.kt b/compiler/testData/cli/jvm/XsuppressWarnings/src/warningSuppression.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/src/warningSuppression.kt
rename to compiler/testData/cli/jvm/XsuppressWarnings/src/warningSuppression.kt
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/src/warningSuppressionInvalid.kt b/compiler/testData/cli/jvm/XsuppressWarnings/src/warningSuppressionInvalid.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/src/warningSuppressionInvalid.kt
rename to compiler/testData/cli/jvm/XsuppressWarnings/src/warningSuppressionInvalid.kt
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/suppressAllWarningsJvm.args b/compiler/testData/cli/jvm/XsuppressWarnings/suppressAllWarningsJvm.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/suppressAllWarningsJvm.args
rename to compiler/testData/cli/jvm/XsuppressWarnings/suppressAllWarningsJvm.args
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/suppressAllWarningsJvm.out b/compiler/testData/cli/jvm/XsuppressWarnings/suppressAllWarningsJvm.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/suppressAllWarningsJvm.out
rename to compiler/testData/cli/jvm/XsuppressWarnings/suppressAllWarningsJvm.out
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppression.args b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppression.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppression.args
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppression.args
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppression.out b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppression.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppression.out
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppression.out
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionInvalid.args b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionInvalid.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionInvalid.args
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionInvalid.args
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionInvalid.out b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionInvalid.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionInvalid.out
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionInvalid.out
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithError.args b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithError.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithError.args
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithError.args
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithError.out b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithError.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithError.out
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithError.out
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithNowarn.args b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithNowarn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithNowarn.args
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithNowarn.args
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithNowarn.out b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithNowarn.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithNowarn.out
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithNowarn.out
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithReportAllWarn.args b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithReportAllWarn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithReportAllWarn.args
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithReportAllWarn.args
diff --git a/compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithReportAllWarn.out b/compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithReportAllWarn.out
similarity index 100%
rename from compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithReportAllWarn.out
rename to compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithReportAllWarn.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/unrestrictedBuilderInference_1_6/unrestrictedBuilderInference.args b/compiler/testData/cli/jvm/XunrestrictedBuilderInference/unrestrictedBuilderInference.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/unrestrictedBuilderInference_1_6/unrestrictedBuilderInference.args
rename to compiler/testData/cli/jvm/XunrestrictedBuilderInference/unrestrictedBuilderInference.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/unrestrictedBuilderInference_1_6/unrestrictedBuilderInference.kt b/compiler/testData/cli/jvm/XunrestrictedBuilderInference/unrestrictedBuilderInference.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/unrestrictedBuilderInference_1_6/unrestrictedBuilderInference.kt
rename to compiler/testData/cli/jvm/XunrestrictedBuilderInference/unrestrictedBuilderInference.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/unrestrictedBuilderInference_1_6/unrestrictedBuilderInference.out b/compiler/testData/cli/jvm/XunrestrictedBuilderInference/unrestrictedBuilderInference.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/unrestrictedBuilderInference_1_6/unrestrictedBuilderInference.out
rename to compiler/testData/cli/jvm/XunrestrictedBuilderInference/unrestrictedBuilderInference.out
diff --git a/compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsDisabledAfterK2.args b/compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsDisabledAfterK2.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsDisabledAfterK2.args
rename to compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsDisabledAfterK2.args
diff --git a/compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsDisabledAfterK2.kt b/compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsDisabledAfterK2.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsDisabledAfterK2.kt
rename to compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsDisabledAfterK2.kt
diff --git a/compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsDisabledAfterK2.out b/compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsDisabledAfterK2.out
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsDisabledAfterK2.out
rename to compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsDisabledAfterK2.out
diff --git a/compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.args b/compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.args
rename to compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.args
diff --git a/compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.kt b/compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.kt
rename to compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.kt
diff --git a/compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.out b/compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.out
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.out
rename to compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.out
diff --git a/compiler/testData/cli/jvm/_useFirExperimentalCheckers/experimentalCheckers.args b/compiler/testData/cli/jvm/XuseFirExperimentalCheckers/experimentalCheckers.args
similarity index 100%
rename from compiler/testData/cli/jvm/_useFirExperimentalCheckers/experimentalCheckers.args
rename to compiler/testData/cli/jvm/XuseFirExperimentalCheckers/experimentalCheckers.args
diff --git a/compiler/testData/cli/jvm/_useFirExperimentalCheckers/experimentalCheckers.kt b/compiler/testData/cli/jvm/XuseFirExperimentalCheckers/experimentalCheckers.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_useFirExperimentalCheckers/experimentalCheckers.kt
rename to compiler/testData/cli/jvm/XuseFirExperimentalCheckers/experimentalCheckers.kt
diff --git a/compiler/testData/cli/jvm/XuseFirExperimentalCheckers/experimentalCheckers.out b/compiler/testData/cli/jvm/XuseFirExperimentalCheckers/experimentalCheckers.out
new file mode 100644
index 0000000..f4f1196
--- /dev/null
+++ b/compiler/testData/cli/jvm/XuseFirExperimentalCheckers/experimentalCheckers.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/XuseFirExperimentalCheckers/experimentalCheckers.kt:2:12: warning: redundant explicit type.
+ val i: Int = 1
+ ^^^
+OK
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.args b/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.args
rename to compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.args
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.kt b/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.kt
rename to compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.kt
diff --git a/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.out b/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.out
new file mode 100644
index 0000000..42af9f5
--- /dev/null
+++ b/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.kt:1:9: error: 'this' is not defined in this context.
+val x = this
+ ^^^^
+compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.kt:2:9: error: 'this' is not defined in this context.
+val y = this // EOL AFTER THIS LINE!
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.args b/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.args
rename to compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.args
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.kt b/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.kt
rename to compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.kt
diff --git a/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.out b/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.out
new file mode 100644
index 0000000..3f81088
--- /dev/null
+++ b/compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.kt:1:9: error: 'this' is not defined in this context.
+val x = this
+ ^^^^
+compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.kt:2:9: error: 'this' is not defined in this context.
+val y = this // *NO* EOL AFTER THIS LINE!
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt b/compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt
rename to compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOff.args b/compiler/testData/cli/jvm/XuseFirLt/firLightTreeOff.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOff.args
rename to compiler/testData/cli/jvm/XuseFirLt/firLightTreeOff.args
diff --git a/compiler/testData/cli/jvm/XuseFirLt/firLightTreeOff.out b/compiler/testData/cli/jvm/XuseFirLt/firLightTreeOff.out
new file mode 100644
index 0000000..41a6c16
--- /dev/null
+++ b/compiler/testData/cli/jvm/XuseFirLt/firLightTreeOff.out
@@ -0,0 +1,13 @@
+compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt:2:5: error: variable expected.
+ this += "Alpha"
+ ^^^^
+compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt:3:15: error: classifier 'class System : Any' does not have a companion object, so it cannot be used as an expression.
+ java.lang.System = null
+ ^^^^^^
+compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt:3:15: error: variable expected.
+ java.lang.System = null
+ ^^^^^^
+compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt:3:24: error: null cannot be a value of a non-null type 'kotlin.Unit'.
+ java.lang.System = null
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOn.args b/compiler/testData/cli/jvm/XuseFirLt/firLightTreeOn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOn.args
rename to compiler/testData/cli/jvm/XuseFirLt/firLightTreeOn.args
diff --git a/compiler/testData/cli/jvm/XuseFirLt/firLightTreeOn.out b/compiler/testData/cli/jvm/XuseFirLt/firLightTreeOn.out
new file mode 100644
index 0000000..41a6c16
--- /dev/null
+++ b/compiler/testData/cli/jvm/XuseFirLt/firLightTreeOn.out
@@ -0,0 +1,13 @@
+compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt:2:5: error: variable expected.
+ this += "Alpha"
+ ^^^^
+compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt:3:15: error: classifier 'class System : Any' does not have a companion object, so it cannot be used as an expression.
+ java.lang.System = null
+ ^^^^^^
+compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt:3:15: error: variable expected.
+ java.lang.System = null
+ ^^^^^^
+compiler/testData/cli/jvm/XuseFirLt/firLightTree.kt:3:24: error: null cannot be a value of a non-null type 'kotlin.Unit'.
+ java.lang.System = null
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.args b/compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.args
rename to compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.args
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.kt b/compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.kt
rename to compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.kt
diff --git a/compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.out b/compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.out
new file mode 100644
index 0000000..24d769a
--- /dev/null
+++ b/compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.out
@@ -0,0 +1,9 @@
+compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.kt:11:1: error: class 'C' is not abstract and does not implement abstract members:
+fun <T> foo(): Unit
+fun foo(): Unit
+class C : I1, I2
+^^^^^^^
+compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.kt:11:1: error: 'C' inherits conflicting members: 'fun <T> foo(): Unit' defined in 'test/I1', 'fun foo(): Unit' defined in 'test/I2'.
+class C : I1, I2
+^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseK2/firHello20WithFlag.args b/compiler/testData/cli/jvm/XuseK2/firHello20WithFlag.args
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseK2/firHello20WithFlag.args
rename to compiler/testData/cli/jvm/XuseK2/firHello20WithFlag.args
diff --git a/compiler/testData/cli/jvm/_XuseK2/firHello20WithFlag.out b/compiler/testData/cli/jvm/XuseK2/firHello20WithFlag.out
similarity index 100%
rename from compiler/testData/cli/jvm/_XuseK2/firHello20WithFlag.out
rename to compiler/testData/cli/jvm/XuseK2/firHello20WithFlag.out
diff --git a/compiler/testData/cli/jvm/_useOldBackend/hello.kts b/compiler/testData/cli/jvm/XuseOldBackend/hello.kts
similarity index 100%
rename from compiler/testData/cli/jvm/_useOldBackend/hello.kts
rename to compiler/testData/cli/jvm/XuseOldBackend/hello.kts
diff --git a/compiler/testData/cli/jvm/_useOldBackend/oldBackend.args b/compiler/testData/cli/jvm/XuseOldBackend/oldBackend.args
similarity index 100%
rename from compiler/testData/cli/jvm/_useOldBackend/oldBackend.args
rename to compiler/testData/cli/jvm/XuseOldBackend/oldBackend.args
diff --git a/compiler/testData/cli/jvm/_useOldBackend/oldBackend.out b/compiler/testData/cli/jvm/XuseOldBackend/oldBackend.out
similarity index 100%
rename from compiler/testData/cli/jvm/_useOldBackend/oldBackend.out
rename to compiler/testData/cli/jvm/XuseOldBackend/oldBackend.out
diff --git a/compiler/testData/cli/jvm/_useOldBackend/oldBackendWithScript.args b/compiler/testData/cli/jvm/XuseOldBackend/oldBackendWithScript.args
similarity index 100%
rename from compiler/testData/cli/jvm/_useOldBackend/oldBackendWithScript.args
rename to compiler/testData/cli/jvm/XuseOldBackend/oldBackendWithScript.args
diff --git a/compiler/testData/cli/jvm/_useOldBackend/oldBackendWithScript.out b/compiler/testData/cli/jvm/XuseOldBackend/oldBackendWithScript.out
similarity index 100%
rename from compiler/testData/cli/jvm/_useOldBackend/oldBackendWithScript.out
rename to compiler/testData/cli/jvm/XuseOldBackend/oldBackendWithScript.out
diff --git a/compiler/testData/cli/jvm/_useOldBackend/simple.kt b/compiler/testData/cli/jvm/XuseOldBackend/simple.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_useOldBackend/simple.kt
rename to compiler/testData/cli/jvm/XuseOldBackend/simple.kt
diff --git a/compiler/testData/cli/jvm/_verbosePhases/nonExistingPhaseName.args b/compiler/testData/cli/jvm/XverbosePhases/nonExistingPhaseName.args
similarity index 100%
rename from compiler/testData/cli/jvm/_verbosePhases/nonExistingPhaseName.args
rename to compiler/testData/cli/jvm/XverbosePhases/nonExistingPhaseName.args
diff --git a/compiler/testData/cli/jvm/_verbosePhases/nonExistingPhaseName.out b/compiler/testData/cli/jvm/XverbosePhases/nonExistingPhaseName.out
similarity index 100%
rename from compiler/testData/cli/jvm/_verbosePhases/nonExistingPhaseName.out
rename to compiler/testData/cli/jvm/XverbosePhases/nonExistingPhaseName.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/whenGuards/src/whenGuards.kt b/compiler/testData/cli/jvm/XwhenGuards/src/whenGuards.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/whenGuards/src/whenGuards.kt
rename to compiler/testData/cli/jvm/XwhenGuards/src/whenGuards.kt
diff --git a/compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsEnable.args b/compiler/testData/cli/jvm/XwhenGuards/whenGuardsEnable.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsEnable.args
rename to compiler/testData/cli/jvm/XwhenGuards/whenGuardsEnable.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsEnable.out b/compiler/testData/cli/jvm/XwhenGuards/whenGuardsEnable.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsEnable.out
rename to compiler/testData/cli/jvm/XwhenGuards/whenGuardsEnable.out
diff --git a/compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsError.args b/compiler/testData/cli/jvm/XwhenGuards/whenGuardsError.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsError.args
rename to compiler/testData/cli/jvm/XwhenGuards/whenGuardsError.args
diff --git a/compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsError.out b/compiler/testData/cli/jvm/XwhenGuards/whenGuardsError.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsError.out
rename to compiler/testData/cli/jvm/XwhenGuards/whenGuardsError.out
diff --git a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAllCompatibility.out b/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAllCompatibility.out
deleted file mode 100644
index 6bbe4c0..0000000
--- a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAllCompatibility.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_XjvmDefault/jvmDefault.kt:1:1: error: usage of '@JvmDefaultWithCompatibility' is only allowed with '-Xjvm-default=all' option.
-@JvmDefaultWithCompatibility
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultDisable.out b/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultDisable.out
deleted file mode 100644
index 00a97b6..0000000
--- a/compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultDisable.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_XjvmDefault/jvmDefault.kt:1:1: error: usage of '@JvmDefaultWithCompatibility' is only allowed with '-Xjvm-default=all' option.
-@JvmDefaultWithCompatibility
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_XjvmDefault/jvmDefault.kt:4:1: error: usage of '@JvmDefaultWithoutCompatibility' is only allowed with '-Xjvm-default' option.
-@JvmDefaultWithoutCompatibility
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.out b/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.out
deleted file mode 100644
index deabcb7..0000000
--- a/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.out
+++ /dev/null
@@ -1,41 +0,0 @@
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$p(LA;)I):
- fun `access$getFoo$p`(`$this`: A): Int defined in A
- fun `access$getFoo$p`(a: A): Int defined in A
-class A {
-^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$p(LA;I)V):
- fun `access$setFoo$p`(`$this`: A, `<set-?>`: Int): Unit defined in A
- fun `access$setFoo$p`(a: A, d: Int): Unit defined in A
-class A {
-^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$cp()I):
- fun `access$getFoo$cp`(): Int defined in A
- fun `access$getFoo$cp`(): Int defined in A
-class A {
-^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$cp(I)V):
- fun `access$setFoo$cp`(`<set-?>`: Int): Unit defined in A
- fun `access$setFoo$cp`(d: Int): Unit defined in A
-class A {
-^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:6:5: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$p(LA;)I):
- fun `access$getFoo$p`(`$this`: A): Int defined in A
- fun `access$getFoo$p`(a: A): Int defined in A
- fun `access$getFoo$p`(a: A): Int = 1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:7:5: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$p(LA;I)V):
- fun `access$setFoo$p`(`$this`: A, `<set-?>`: Int): Unit defined in A
- fun `access$setFoo$p`(a: A, d: Int): Unit defined in A
- fun `access$setFoo$p`(a: A, d: Int) {}
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:10:5: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$cp()I):
- fun `access$getFoo$cp`(): Int defined in A
- fun `access$getFoo$cp`(): Int defined in A
- fun `access$getFoo$cp`(): Int = 1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.kt:11:5: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$cp(I)V):
- fun `access$setFoo$cp`(`<set-?>`: Int): Unit defined in A
- fun `access$setFoo$cp`(d: Int): Unit defined in A
- fun `access$setFoo$cp`(d: Int) {}
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.out b/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.out
deleted file mode 100644
index 18936f1..0000000
--- a/compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.out
+++ /dev/null
@@ -1,41 +0,0 @@
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$p(LA;)I):
- fun `access$getFoo$p`(`$this`: A): Int defined in A
- fun `access$getFoo$p`(a: A): Int defined in A
-class A {
-^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$p(LA;I)V):
- fun `access$setFoo$p`(`$this`: A, `<set-?>`: Int): Unit defined in A
- fun `access$setFoo$p`(a: A, d: Int): Unit defined in A
-class A {
-^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo(LA;)I):
- fun `access$getFoo`(`$this`: A): Int defined in A
- fun `access$getFoo`(a: A): Int defined in A
-class A {
-^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:3:1: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo(LA;I)V):
- fun `access$setFoo`(`$this`: A, i: Int): Unit defined in A
- fun `access$setFoo`(a: A, d: Int): Unit defined in A
-class A {
-^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:6:5: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo$p(LA;)I):
- fun `access$getFoo$p`(`$this`: A): Int defined in A
- fun `access$getFoo$p`(a: A): Int defined in A
- fun `access$getFoo$p`(a: A): Int = 1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:7:5: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo$p(LA;I)V):
- fun `access$setFoo$p`(`$this`: A, `<set-?>`: Int): Unit defined in A
- fun `access$setFoo$p`(a: A, d: Int): Unit defined in A
- fun `access$setFoo$p`(a: A, d: Int) {}
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:12:5: error: platform declaration clash: The following declarations have the same JVM signature (access$getFoo(LA;)I):
- fun `access$getFoo`(`$this`: A): Int defined in A
- fun `access$getFoo`(a: A): Int defined in A
- fun `access$getFoo`(a: A): Int = 1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.kt:13:5: error: platform declaration clash: The following declarations have the same JVM signature (access$setFoo(LA;I)V):
- fun `access$setFoo`(`$this`: A, i: Int): Unit defined in A
- fun `access$setFoo`(a: A, d: Int): Unit defined in A
- fun `access$setFoo`(a: A, d: Int) {}
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass.out b/compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass.out
deleted file mode 100644
index 166b64b..0000000
--- a/compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass/common.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-expect class AtomicRef<T> {
-^^^^^^
-compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass/jvm.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-actual class AtomicRef<T> constructor(value: T) {
-^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_XnullabilityAnnotations/nullabilityAnnotations.out b/compiler/testData/cli/jvm/_XnullabilityAnnotations/nullabilityAnnotations.out
deleted file mode 100644
index 92e9914..0000000
--- a/compiler/testData/cli/jvm/_XnullabilityAnnotations/nullabilityAnnotations.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_XnullabilityAnnotations/severalAnnotations.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
- a.foo(null)
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.out b/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.out
deleted file mode 100644
index 0f2cfc6..0000000
--- a/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.kt:1:9: error: 'this' is not defined in this context.
-val x = this
- ^^^^
-compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.kt:2:9: error: 'this' is not defined in this context.
-val y = this // EOL AFTER THIS LINE!
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.out b/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.out
deleted file mode 100644
index cf0c55d..0000000
--- a/compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.kt:1:9: error: 'this' is not defined in this context.
-val x = this
- ^^^^
-compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.kt:2:9: error: 'this' is not defined in this context.
-val y = this // *NO* EOL AFTER THIS LINE!
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOff.out b/compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOff.out
deleted file mode 100644
index b1e15bb..0000000
--- a/compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOff.out
+++ /dev/null
@@ -1,13 +0,0 @@
-compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt:2:5: error: variable expected.
- this += "Alpha"
- ^^^^
-compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt:3:15: error: classifier 'class System : Any' does not have a companion object, so it cannot be used as an expression.
- java.lang.System = null
- ^^^^^^
-compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt:3:15: error: variable expected.
- java.lang.System = null
- ^^^^^^
-compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt:3:24: error: null cannot be a value of a non-null type 'kotlin.Unit'.
- java.lang.System = null
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOn.out b/compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOn.out
deleted file mode 100644
index b1e15bb..0000000
--- a/compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOn.out
+++ /dev/null
@@ -1,13 +0,0 @@
-compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt:2:5: error: variable expected.
- this += "Alpha"
- ^^^^
-compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt:3:15: error: classifier 'class System : Any' does not have a companion object, so it cannot be used as an expression.
- java.lang.System = null
- ^^^^^^
-compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt:3:15: error: variable expected.
- java.lang.System = null
- ^^^^^^
-compiler/testData/cli/jvm/_XuseFirLt/firLightTree.kt:3:24: error: null cannot be a value of a non-null type 'kotlin.Unit'.
- java.lang.System = null
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.out b/compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.out
deleted file mode 100644
index fae7a8d..0000000
--- a/compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.out
+++ /dev/null
@@ -1,9 +0,0 @@
-compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.kt:11:1: error: class 'C' is not abstract and does not implement abstract members:
-fun <T> foo(): Unit
-fun foo(): Unit
-class C : I1, I2
-^^^^^^^
-compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.kt:11:1: error: 'C' inherits conflicting members: 'fun <T> foo(): Unit' defined in 'test/I1', 'fun foo(): Unit' defined in 'test/I2'.
-class C : I1, I2
-^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionAndSinceNewerKotlin.out b/compiler/testData/cli/jvm/_apiVersion/apiVersionAndSinceNewerKotlin.out
deleted file mode 100644
index f4e09ba..0000000
--- a/compiler/testData/cli/jvm/_apiVersion/apiVersionAndSinceNewerKotlin.out
+++ /dev/null
@@ -1,8 +0,0 @@
-warning: API version 1.7 is deprecated and its support will be removed in a future version of Kotlin
-compiler/testData/cli/jvm/_apiVersion/src/apiVersionAndSinceNewerKotlin.kt:1:14: warning: the version is greater than the specified API version 1.7.
-@SinceKotlin("1.8")
- ^^^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersionAndSinceNewerKotlin.kt:4:14: warning: the version is greater than the specified API version 1.7.
-@SinceKotlin("1.9")
- ^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguageUsingArgfile.out b/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguageUsingArgfile.out
deleted file mode 100644
index 8ebb944..0000000
--- a/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguageUsingArgfile.out
+++ /dev/null
@@ -1,94 +0,0 @@
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:5: warning: parameter 'p00' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:13: warning: parameter 'p01' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:21: warning: parameter 'p02' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:29: warning: parameter 'p03' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:37: warning: parameter 'p04' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:45: warning: parameter 'p05' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:53: warning: parameter 'p06' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:61: warning: parameter 'p07' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:69: warning: parameter 'p08' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:77: warning: parameter 'p09' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:5: warning: parameter 'p10' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:13: warning: parameter 'p11' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:21: warning: parameter 'p12' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:29: warning: parameter 'p13' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:37: warning: parameter 'p14' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:45: warning: parameter 'p15' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:53: warning: parameter 'p16' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:61: warning: parameter 'p17' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:69: warning: parameter 'p18' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:77: warning: parameter 'p19' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:5: warning: parameter 'p20' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:13: warning: parameter 'p21' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:21: warning: parameter 'p22' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:29: warning: parameter 'p23' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:37: warning: parameter 'p24' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:45: warning: parameter 'p25' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:53: warning: parameter 'p26' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:61: warning: parameter 'p27' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:69: warning: parameter 'p28' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:77: warning: parameter 'p29' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:9:9: warning: parameter 'x' is never used
-fun bar(x: Any) {}
- ^
-OK
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEscaping.out b/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEscaping.out
deleted file mode 100644
index a66166e..0000000
--- a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEscaping.out
+++ /dev/null
@@ -1,97 +0,0 @@
-warning: flag is not supported by this version of the compiler: -Xdouble ' quote ' escaped " sequence /
-warning: flag is not supported by this version of the compiler: -Xsingle " quote " escaped ' sequence /
-warning: language version 1.7 is deprecated and its support will be removed in a future version of Kotlin
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:5: warning: parameter 'p00' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:13: warning: parameter 'p01' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:21: warning: parameter 'p02' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:29: warning: parameter 'p03' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:37: warning: parameter 'p04' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:45: warning: parameter 'p05' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:53: warning: parameter 'p06' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:61: warning: parameter 'p07' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:69: warning: parameter 'p08' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:77: warning: parameter 'p09' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:5: warning: parameter 'p10' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:13: warning: parameter 'p11' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:21: warning: parameter 'p12' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:29: warning: parameter 'p13' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:37: warning: parameter 'p14' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:45: warning: parameter 'p15' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:53: warning: parameter 'p16' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:61: warning: parameter 'p17' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:69: warning: parameter 'p18' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:77: warning: parameter 'p19' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:5: warning: parameter 'p20' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:13: warning: parameter 'p21' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:21: warning: parameter 'p22' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:29: warning: parameter 'p23' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:37: warning: parameter 'p24' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:45: warning: parameter 'p25' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:53: warning: parameter 'p26' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:61: warning: parameter 'p27' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:69: warning: parameter 'p28' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:77: warning: parameter 'p29' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:9:9: warning: parameter 'x' is never used
-fun bar(x: Any) {}
- ^
-OK
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/mixingArgfilesAndUsualArgs.out b/compiler/testData/cli/jvm/_argfileCommonChecks/mixingArgfilesAndUsualArgs.out
deleted file mode 100644
index 74605aa..0000000
--- a/compiler/testData/cli/jvm/_argfileCommonChecks/mixingArgfilesAndUsualArgs.out
+++ /dev/null
@@ -1,94 +0,0 @@
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:5: warning: parameter 'p00' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:13: warning: parameter 'p01' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:21: warning: parameter 'p02' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:29: warning: parameter 'p03' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:37: warning: parameter 'p04' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:45: warning: parameter 'p05' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:53: warning: parameter 'p06' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:61: warning: parameter 'p07' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:69: warning: parameter 'p08' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:4:77: warning: parameter 'p09' is never used
- p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:5: warning: parameter 'p10' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:13: warning: parameter 'p11' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:21: warning: parameter 'p12' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:29: warning: parameter 'p13' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:37: warning: parameter 'p14' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:45: warning: parameter 'p15' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:53: warning: parameter 'p16' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:61: warning: parameter 'p17' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:69: warning: parameter 'p18' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:5:77: warning: parameter 'p19' is never used
- p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:5: warning: parameter 'p20' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:13: warning: parameter 'p21' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:21: warning: parameter 'p22' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:29: warning: parameter 'p23' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:37: warning: parameter 'p24' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:45: warning: parameter 'p25' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:53: warning: parameter 'p26' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:61: warning: parameter 'p27' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:69: warning: parameter 'p28' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:6:77: warning: parameter 'p29' is never used
- p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
- ^^^
-compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt:9:9: warning: parameter 'x' is never used
-fun bar(x: Any) {}
- ^
-OK
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersion.out b/compiler/testData/cli/jvm/_classPath/wrongAbiVersion.out
deleted file mode 100644
index 7610475..0000000
--- a/compiler/testData/cli/jvm/_classPath/wrongAbiVersion.out
+++ /dev/null
@@ -1,16 +0,0 @@
-error: incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
-compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/META-INF/main.kotlin_module: error: module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 0.30.0, expected version is $ABI_VERSION$.
-compiler/testData/cli/jvm/_classPath/wrongAbiVersion.kt:3:12: error: class 'ClassWithWrongAbiVersion' was compiled with an incompatible version of Kotlin. The actual metadata version is 0.30.0, but the compiler version $ABI_VERSION$ can read versions up to $ABI_VERSION_NEXT$.
-The class is loaded from $TESTDATA_DIR$/wrongAbiVersionLib/bin/ClassWithWrongAbiVersion.class
-fun foo(x: ClassWithWrongAbiVersion) {
- ^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_classPath/wrongAbiVersion.kt:4:5: error: unresolved reference 'bar'.
- bar()
- ^^^
-compiler/testData/cli/jvm/_classPath/wrongAbiVersion.kt:6:21: error: argument type mismatch: actual type is 'kotlin.Int', but 'kotlin.String' was expected.
- 1.replaceIndent(2, 3)
- ^
-compiler/testData/cli/jvm/_classPath/wrongAbiVersion.kt:6:24: error: too many arguments for 'fun String.replaceIndent(newIndent: String = ...): String'.
- 1.replaceIndent(2, 3)
- ^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDefault.out b/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDefault.out
deleted file mode 100644
index 97d7b68..0000000
--- a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDefault.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualUsage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
- b.foo(null)
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualEnable.out b/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualEnable.out
deleted file mode 100644
index 97d7b68..0000000
--- a/compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualEnable.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualUsage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
- b.foo(null)
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.out b/compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.out
deleted file mode 100644
index 0451e09..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.kt:1:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, Foo
-@file:JvmName("Foo")
-^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.kt:6:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, Foo
-class Foo {}
-^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash.out b/compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash.out
deleted file mode 100644
index cc2610c..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash1.kt:1:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, Foo
-@file:JvmName("Foo")
-^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash2.kt:3:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, Foo
-class Foo
-^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.out b/compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.out
deleted file mode 100644
index 3497216..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.kt:1:1: error: duplicate JVM class name 'test/ClassAndPartClashKt' generated from: ClassAndPartClashKt, ClassAndPartClashKt
-package test
-^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.kt:5:1: error: duplicate JVM class name 'test/ClassAndPartClashKt' generated from: ClassAndPartClashKt, ClassAndPartClashKt
-class ClassAndPartClashKt
-^^^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.out b/compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.out
deleted file mode 100644
index 3dad6de..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.kt:3:1: error: duplicate JVM class name 'test/T1$DefaultImpls' generated from: `T1$DefaultImpls`, DefaultImpls
-interface T1 {
-^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.kt:7:1: error: duplicate JVM class name 'test/T1$DefaultImpls' generated from: `T1$DefaultImpls`, DefaultImpls
-class `T1$DefaultImpls` {
-^^^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.out b/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.out
deleted file mode 100644
index c799532..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.out
+++ /dev/null
@@ -1,13 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.kt:3:9: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
- fun `<get-x>`(): Int defined in Foo
- fun getX(): Int defined in Foo
- fun getY(): Int defined in Foo
- get() = 42
- ^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.kt:8:5: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
- fun `<get-x>`(): Int defined in Foo
- fun getX(): Int defined in Foo
- fun getY(): Int defined in Foo
- @JvmName("getX")
- ^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarationsK2.out b/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarationsK2.out
deleted file mode 100644
index c799532..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarationsK2.out
+++ /dev/null
@@ -1,13 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.kt:3:9: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
- fun `<get-x>`(): Int defined in Foo
- fun getX(): Int defined in Foo
- fun getY(): Int defined in Foo
- get() = 42
- ^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.kt:8:5: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
- fun `<get-x>`(): Int defined in Foo
- fun getX(): Int defined in Foo
- fun getY(): Int defined in Foo
- @JvmName("getX")
- ^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.out b/compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.out
deleted file mode 100644
index 5fb9c3e..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.out
+++ /dev/null
@@ -1,9 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.kt:1:1: error: conflicting overloads:
-fun a(): List<String>
-fun a(): List<Int> = null!!
-^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.kt:2:1: error: conflicting overloads:
-fun a(): List<Int>
-fun a(): List<String> = null!!
-^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.out b/compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.out
deleted file mode 100644
index 0721376..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.out
+++ /dev/null
@@ -1,16 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.kt:10:19: error: projection is conflicting with variance of the corresponding type parameter of 'Out<in kotlin.Int>'. Remove the projection or replace it with '*'.
-fun a8(value: Out<in Int>) {}
- ^^
-compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.kt:17:15: error: variance annotations are only allowed for type parameters of classes and interfaces.
-typealias A13<in K> = In<K>
- ^^
-compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.kt:18:15: error: variance annotations are only allowed for type parameters of classes and interfaces.
-typealias A14<in K> = In<in K>
- ^^
-compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.kt:19:15: error: variance annotations are only allowed for type parameters of classes and interfaces.
-typealias A15<in K> = In<out K>
- ^^
-compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.kt:19:26: error: projection is conflicting with variance of the corresponding type parameter of 'In<out K (of typealias A15<in K>)>'. Remove the projection or replace it with '*'.
-typealias A15<in K> = In<out K>
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder.out b/compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder.out
deleted file mode 100644
index 3814c73..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder.out
+++ /dev/null
@@ -1,72 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder1.kt:1:5: error: conflicting declarations:
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x = 5
- ^
-compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder1.kt:2:5: error: conflicting declarations:
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x = 5
- ^
-compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder1.kt:3:5: error: conflicting declarations:
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x = 5
- ^
-compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder1.kt:4:5: error: conflicting declarations:
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x = 5
- ^
-compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder1.kt:5:5: error: conflicting declarations:
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x = 5
- ^
-compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder1.kt:6:5: error: conflicting declarations:
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x = 5
- ^
-compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder1.kt:7:5: error: conflicting declarations:
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x: Int
-val x = 5
- ^
-compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder2.kt:1:5: error: conflicting declarations:
-val y: Int
-val y = 5
- ^
-compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder2.kt:2:5: error: conflicting declarations:
-val y: Int
-val y = 5
- ^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash.out b/compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash.out
deleted file mode 100644
index 329254c..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash1.kt:1:1: error: duplicate JVM class name 'test/Util' generated from: Util, Util
-@file:JvmName("Util")
-^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles.out b/compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles.out
deleted file mode 100644
index 18caa9f..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles1.kt:1:1: error: duplicate JVM class name 'test/Util' generated from: Util, Util
-@file:JvmName("Util")
-^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles2.kt:1:1: error: duplicate JVM class name 'test/Util' generated from: Util, Util
-@file:JvmName("Util")
-^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.out b/compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.out
deleted file mode 100644
index 0ec189a..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.out
+++ /dev/null
@@ -1,10 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.kt:3:12: warning: 'fun stop(): Unit' is deprecated. Deprecated in Java.
- thread.stop()
- ^^^^
-compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.kt:4:17: warning: 'fun bar(a: String!, b: Int, c: Double): String!' is deprecated. Deprecated in Java.
- JavaClass().bar("", 1, 2.0)
- ^^^
-compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.kt:5:27: warning: 'field baz: (Mutable)List<String!>!' is deprecated. Deprecated in Java.
- val baz = JavaClass().baz
- ^^^
-OK
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firError.out b/compiler/testData/cli/jvm/_diagnosticTests/firError.out
deleted file mode 100644
index 40bc997..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/firError.out
+++ /dev/null
@@ -1,19 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/firError.kt:1:13: error: 'val' on function parameter is prohibited.
-fun println(val x: Int) {}
- ^^^
-compiler/testData/cli/jvm/_diagnosticTests/firError.kt:5:13: error: variable 'x' must be initialized.
- println(x)
- ^
-compiler/testData/cli/jvm/_diagnosticTests/firError.kt:10:16: error: 'public' subclass exposes its 'private-in-file' supertype 'Private'.
-class Public : Private() {
- ^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/firError.kt:10:16: error: this type is final, so it cannot be extended.
-class Public : Private() {
- ^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/firError.kt:11:5: error: property must be initialized or be abstract.
- val x: Private
- ^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/firError.kt:11:9: error: 'public' property exposes its 'private-in-file' type 'Private'.
- val x: Private
- ^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firSyntaxError.out b/compiler/testData/cli/jvm/_diagnosticTests/firSyntaxError.out
deleted file mode 100644
index c5aa064..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/firSyntaxError.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/firSyntaxError.kt:1:10: error: syntax error: Expecting '}'.
-fun a() {
- ^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK1.out b/compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK1.out
deleted file mode 100644
index ba36c8a..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK1.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackage.kt:4:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
-package kotlin.internal
-^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK2.out b/compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK2.out
deleted file mode 100644
index ba36c8a..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK2.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackage.kt:4:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
-package kotlin.internal
-^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.out b/compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.out
deleted file mode 100644
index 2f0d409..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.out
+++ /dev/null
@@ -1,28 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt:6:1: error: 'lateinit' modifier is not allowed on delegated properties.
-lateinit var kest by Delegate
-^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt:9:5: error: 'lateinit' modifier is allowed only on mutable properties.
- lateinit val fest = "10"
- ^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt:9:5: error: 'lateinit' modifier is not allowed on properties with initializer.
- lateinit val fest = "10"
- ^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt:11:5: error: 'lateinit' modifier is not allowed on properties of a type with nullable upper bound.
- lateinit var xest: String?
- ^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt:12:5: error: 'lateinit' modifier is not allowed on properties of primitive types.
- lateinit var nest: Int
- ^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt:13:5: error: 'lateinit' modifier is allowed only on mutable properties.
- lateinit val dest: String
- ^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt:13:5: error: 'lateinit' modifier is not allowed on properties with a custom getter or setter.
- lateinit val dest: String
- ^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt:18:5: error: 'lateinit' modifier is not allowed on properties of a type with nullable upper bound.
- lateinit var best: T
- ^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt:23:5: error: 'lateinit' modifier is not allowed on local variables with initializer.
- lateinit var b: B<String> = B()
- ^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.out b/compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.out
deleted file mode 100644
index 54ac5b8..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.kt:2:5: error: the 'b' invocation is a part of inline cycle
- b(q)
- ^^^^
-compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.kt:18:5: error: the 'a' invocation is a part of inline cycle
- a(p)
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.out b/compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.out
deleted file mode 100644
index 1b009ae..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.out
+++ /dev/null
@@ -1,19 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.kt:2:26: error: cannot access '<this>' before the instance has been initialized.
- constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
- ^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.kt:2:51: error: cannot access '<this>' before the instance has been initialized.
- constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
- ^^^^
-compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.kt:2:74: error: cannot access '<this>' before the instance has been initialized.
- constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
- ^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.kt:7:20: error: 'this' is not defined in this context.
-class B(other: B = this)
- ^^^^
-compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.kt:10:32: error: argument type mismatch: actual type is 'kotlin.Function0<ERROR CLASS: Unknown return lambda parameter type>', but 'kotlin.Int' was expected.
- constructor(x: Int) : this({
- ^
-compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.kt:12:9: error: cannot access '<this>' before the instance has been initialized.
- this
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.out b/compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.out
deleted file mode 100644
index e56aa77..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.kt:1:24: error: return type mismatch: expected 'A.Nested', actual 'foo.A.Nested!'.
-fun test(): A.Nested = A().nested()
- ^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.kt:1:28: error: cannot access class 'foo.A.Nested'. Check your module classpath for missing or conflicting dependencies.
-fun test(): A.Nested = A().nested()
- ^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.out b/compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.out
deleted file mode 100644
index 7e1e7f8..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.out
+++ /dev/null
@@ -1,13 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.kt:5:29: error: unresolved reference 'CollapsedStringAdapter'.
- @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
- ^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.kt:5:29: error: annotation argument must be a compile-time constant.
- @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.kt:8:29: error: unresolved reference 'CollapsedStringAdapter'.
- @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
- ^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.kt:8:29: error: annotation argument must be a compile-time constant.
- @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.out b/compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.out
deleted file mode 100644
index 67ca6af..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.out
+++ /dev/null
@@ -1,16 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:5: error: modifier 'override' is incompatible with 'private'.
- override protected private val c: Int
- ^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:14: error: cannot weaken access privilege private for 'accessor' in 'A'.
- override protected private val c: Int
- ^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:14: error: abstract property in interface cannot be private.
- override protected private val c: Int
- ^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:14: error: modifier 'protected' is not applicable inside 'interface'.
- override protected private val c: Int
- ^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:24: error: modifier 'private' is incompatible with 'override'.
- override protected private val c: Int
- ^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/recordAsSingleFileRoot.out b/compiler/testData/cli/jvm/_diagnosticTests/recordAsSingleFileRoot.out
deleted file mode 100644
index 9ad003c..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/recordAsSingleFileRoot.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/recordAsSingleFileRoot.kt:5:14: error: unresolved reference 'Unresolved'.
-fun error(): Unresolved? = null
- ^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.out b/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.out
deleted file mode 100644
index 30c1418..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.kt:12:8: error: 'class Foo : Any' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$.
-import test.access.Foo
- ^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.kt:15:5: error: 'constructor(): Foo' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$.
- Foo()
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersionK2.out b/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersionK2.out
deleted file mode 100644
index 30c1418..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersionK2.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.kt:12:8: error: 'class Foo : Any' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$.
-import test.access.Foo
- ^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.kt:15:5: error: 'constructor(): Foo' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$.
- Foo()
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/returnAsWhenKey.out b/compiler/testData/cli/jvm/_diagnosticTests/returnAsWhenKey.out
deleted file mode 100644
index 6998250..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/returnAsWhenKey.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/returnAsWhenKey.kt:4:5: error: 'when' expression must be exhaustive. Add the 'true', 'false' branches or an 'else' branch.
- when (true) {
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.out b/compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.out
deleted file mode 100644
index 781edc7..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.kt:1:1: error: duplicate JVM class name 'Sanitized_name_clashKt' generated from: Sanitized_name_clashKt, Sanitized_name_clashKt
-class SanitizedNameClash
-^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.kt:3:1: error: duplicate JVM class name 'Sanitized_name_clashKt' generated from: Sanitized_name_clashKt, Sanitized_name_clashKt
-class Sanitized_name_clashKt
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/signatureClash.out b/compiler/testData/cli/jvm/_diagnosticTests/signatureClash.out
deleted file mode 100644
index 1fc3f2c..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/signatureClash.out
+++ /dev/null
@@ -1,41 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt:6:5: error: accidental override: The following declarations have the same JVM signature (getX()I):
- fun `<get-x>`(): Int defined in A
- fun getX(): Int defined in A
- fun getX() = 1
- ^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt:8:5: error: platform declaration clash: The following declarations have the same JVM signature (getA()I):
- fun `<get-a>`(): Int defined in A
- fun getA(): Int defined in A
- fun getA(): Int = 1
- ^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt:9:5: error: platform declaration clash: The following declarations have the same JVM signature (getA()I):
- fun `<get-a>`(): Int defined in A
- fun getA(): Int defined in A
- val a: Int = 1
- ^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt:12:1: error: platform declaration clash: The following declarations have the same JVM signature (getB()I):
- fun `<get-b>`(): Int defined in root package
- fun getB(): Int defined in root package
-fun getB(): Int = 1
-^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt:13:1: error: platform declaration clash: The following declarations have the same JVM signature (getB()I):
- fun `<get-b>`(): Int defined in root package
- fun getB(): Int defined in root package
-val b: Int = 1
-^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt:20:5: error: accidental override: The following declarations have the same JVM signature (getTr()I):
- fun `<get-tr>`(): Int defined in SubTr
- fun getTr(): Int defined in SubTr
- val tr = 1
- ^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt:24:1: error: platform declaration clash: The following declarations have the same JVM signature (access$f(LC;)V):
- fun `access$f`(`$this`: C): Unit defined in C
- fun `access$f`(c: C): Unit defined in C
-class C {
-^
-compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt:26:5: error: platform declaration clash: The following declarations have the same JVM signature (access$f(LC;)V):
- fun `access$f`(`$this`: C): Unit defined in C
- fun `access$f`(c: C): Unit defined in C
- fun `access$f`(c: C) {}
- ^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots.out b/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots.out
deleted file mode 100644
index 4d22381..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots.out
+++ /dev/null
@@ -1,13 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/test.kt:7:9: error: cannot access class 'C'. Check your module classpath for missing or conflicting dependencies.
- B().c()
- ^
-compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/test.kt:8:5: error: unresolved reference 'C'.
- C().a()
- ^
-compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/test.kt:12:5: error: cannot access 'constructor(): PackageLocal1': it is package-private in 'lib/ext/PackageLocal1'.
- PackageLocal1()
- ^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/test.kt:13:5: error: cannot access 'constructor(): PackageLocal2': it is package-private in 'lib/ext/PackageLocal2'.
- PackageLocal2()
- ^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.out b/compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.out
deleted file mode 100644
index de05a9e..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.kt:26:13: error: the 'suspensionPoint' suspension point is inside a critical section.
- suspensionPoint()
- ^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.kt:60:17: error: the 'suspensionPoint' suspension point is inside a critical section.
- suspensionPoint()
- ^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.out b/compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.out
deleted file mode 100644
index 6c132ad..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.out
+++ /dev/null
@@ -1,31 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$foo(LDerived;)V):
- fun `access$foo`(d: Derived): Unit defined in Derived
- fun `access$foo`(`$this`: Derived): Unit defined in Derived
-class Derived : Base() {
-^
-compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$getBar$p(LDerived;)I):
- fun `access$getBar$p`(d: Derived): Int defined in Derived
- fun `access$getBar$p`(`$this`: Derived): Int defined in Derived
-class Derived : Base() {
-^
-compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$setBar$p(LDerived;I)V):
- fun `access$setBar$p`(d: Derived, i: Int): Unit defined in Derived
- fun `access$setBar$p`(`$this`: Derived, `<set-?>`: Int): Unit defined in Derived
-class Derived : Base() {
-^
-compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$getBaz$p(LDerived;)I):
- fun `access$getBaz$p`(d: Derived): Int defined in Derived
- fun `access$getBaz$p`(`$this`: Derived): Int defined in Derived
-class Derived : Base() {
-^
-compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$getBoo$p(LDerived;)I):
- fun `access$getBoo$p`(d: Derived): Int defined in Derived
- fun `access$getBoo$p`(`$this`: Derived): Int defined in Derived
-class Derived : Base() {
-^
-compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$setBar1$p(LDerived;I)V):
- fun `access$setBar1$p`(d: Derived, i: Int): Unit defined in Derived
- fun `access$setBar1$p`(`$this`: Derived, `<set-?>`: Int): Unit defined in Derived
-class Derived : Base() {
-^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.out b/compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.out
deleted file mode 100644
index 7c45919..0000000
--- a/compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.out
+++ /dev/null
@@ -1,10 +0,0 @@
-compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.kt:4:32: error: too many arguments for 'constructor(): Anno'.
-class UnresolvedArgument(@Anno(BLA) val s: Int)
- ^^^
-compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.kt:4:32: error: unresolved reference 'BLA'.
-class UnresolvedArgument(@Anno(BLA) val s: Int)
- ^^^
-compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.kt:6:24: error: no value passed for parameter 'message'.
-class WithoutArguments(@Deprecated val s: Int)
- ^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_explicitApi/expilicitApi.out b/compiler/testData/cli/jvm/_explicitApi/expilicitApi.out
deleted file mode 100644
index 550fc36..0000000
--- a/compiler/testData/cli/jvm/_explicitApi/expilicitApi.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_explicitApi/explicitApi.kt:1:1: warning: visibility must be specified in explicit API mode.
-fun foo() = "hello"
-^^^^^^^
-compiler/testData/cli/jvm/_explicitApi/explicitApi.kt:1:5: warning: return type must be specified in explicit API mode.
-fun foo() = "hello"
- ^^^
-OK
diff --git a/compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesSame.out b/compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesSame.out
deleted file mode 100644
index 25715e5..0000000
--- a/compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesSame.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_explicitApi/explicitApi.kt:1:1: error: visibility must be specified in explicit API mode.
-fun foo() = "hello"
-^^^^^^^
-compiler/testData/cli/jvm/_explicitApi/explicitApi.kt:1:5: error: return type must be specified in explicit API mode.
-fun foo() = "hello"
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_explicitReturnTypes/explicitReturnTypesEnabled.out b/compiler/testData/cli/jvm/_explicitReturnTypes/explicitReturnTypesEnabled.out
deleted file mode 100644
index 96023d8..0000000
--- a/compiler/testData/cli/jvm/_explicitReturnTypes/explicitReturnTypesEnabled.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_explicitReturnTypes/explicitReturnTypesEnabled.kt:1:5: warning: return type must be specified in explicit API mode.
-fun publicFun() = "hello"
- ^^^^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionMultiple.out b/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionMultiple.out
deleted file mode 100644
index 97af381..0000000
--- a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionMultiple.out
+++ /dev/null
@@ -1,8 +0,0 @@
-warning: argument -Xexplicit-api is passed multiple times. Only the last value will be used: strict
-compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOption.kt:1:1: error: visibility must be specified in explicit API mode.
-fun foo() = "hello"
-^^^^^^^
-compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOption.kt:1:5: error: return type must be specified in explicit API mode.
-fun foo() = "hello"
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionObsoleteForm.out b/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionObsoleteForm.out
deleted file mode 100644
index 3e71701..0000000
--- a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionObsoleteForm.out
+++ /dev/null
@@ -1,8 +0,0 @@
-warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xexplicit-api=...
-compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOption.kt:1:1: warning: visibility must be specified in explicit API mode.
-fun foo() = "hello"
-^^^^^^^
-compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOption.kt:1:5: warning: return type must be specified in explicit API mode.
-fun foo() = "hello"
- ^^^
-OK
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsFalse.out b/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsFalse.out
deleted file mode 100644
index f5ad73c..0000000
--- a/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsFalse.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsFalse.kt:1:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
-package kotlin
-^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEnableLanguageFeature.out b/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEnableLanguageFeature.out
deleted file mode 100644
index 3aaa64a..0000000
--- a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEnableLanguageFeature.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEnableLanguageFeature.kt:9:1: error: class 'Impl' overrides 'var' property 'var a: String' defined in '/Interface' with inherited 'val' property 'val a: String' defined in '/Open'.
-class Impl : Open(), Interface
-^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideOffLanguageFeature.out b/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideOffLanguageFeature.out
deleted file mode 100644
index edff9ca..0000000
--- a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideOffLanguageFeature.out
+++ /dev/null
@@ -1,13 +0,0 @@
-warning: ATTENTION!
-This build uses unsafe internal compiler arguments:
-
--XXLanguage:-GenericInlineClassParameter
-
-This mode is not recommended for production use,
-as no stability/compatibility guarantees are given on
-compiler or generated code. Use it at your own risk!
-
-compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.kt:2:34: error: the feature "generic inline class parameter" is disabled
-value class Holder<T>(val value: T)
- ^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecify/A.java b/compiler/testData/cli/jvm/_jspecify/jspecify/A.java
deleted file mode 100644
index c176b2e..0000000
--- a/compiler/testData/cli/jvm/_jspecify/jspecify/A.java
+++ /dev/null
@@ -1,7 +0,0 @@
-@org.jspecify.annotations.NullMarked
-public class A {
- public void foo(String x) {}
-
- @org.jspecify.annotations.Nullable
- public String bar() { return null; }
-}
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyByLv16.out b/compiler/testData/cli/jvm/_jspecify/jspecifyByLv16.out
deleted file mode 100644
index 881297e..0000000
--- a/compiler/testData/cli/jvm/_jspecify/jspecifyByLv16.out
+++ /dev/null
@@ -1,8 +0,0 @@
-warning: language version 1.6 is deprecated and its support will be removed in a future version of Kotlin
-compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt:2:11: warning: type mismatch: inferred type is Nothing? but String was expected
- a.foo(null)
- ^^^^
-compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt:3:5: warning: unsafe use of a nullable receiver of type String?
- a.bar().hashCode()
- ^^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyByLv19.out b/compiler/testData/cli/jvm/_jspecify/jspecifyByLv19.out
deleted file mode 100644
index 7058369..0000000
--- a/compiler/testData/cli/jvm/_jspecify/jspecifyByLv19.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt:2:11: warning: type mismatch: inferred type is Nothing? but String was expected
- a.foo(null)
- ^^^^
-compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt:3:5: warning: unsafe use of a nullable receiver of type String?
- a.bar().hashCode()
- ^^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyDefault.out b/compiler/testData/cli/jvm/_jspecify/jspecifyDefault.out
deleted file mode 100644
index 04406a5..0000000
--- a/compiler/testData/cli/jvm/_jspecify/jspecifyDefault.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
- a.foo(null)
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyStrict.out b/compiler/testData/cli/jvm/_jspecify/jspecifyStrict.out
deleted file mode 100644
index 04406a5..0000000
--- a/compiler/testData/cli/jvm/_jspecify/jspecifyStrict.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt:2:11: error: null cannot be a value of a non-null type 'kotlin.String'.
- a.foo(null)
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_jspecify/jspecifyWarn.out b/compiler/testData/cli/jvm/_jspecify/jspecifyWarn.out
deleted file mode 100644
index 120a524..0000000
--- a/compiler/testData/cli/jvm/_jspecify/jspecifyWarn.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt:2:11: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
- a.foo(null)
- ^^^^
-compiler/testData/cli/jvm/_jspecify/jspecifyUsage.kt:3:5: warning: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
- a.bar().hashCode()
- ^^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordWrongTarget.out b/compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordWrongTarget.out
deleted file mode 100644
index d845196..0000000
--- a/compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordWrongTarget.out
+++ /dev/null
@@ -1,13 +0,0 @@
-warning: ATTENTION!
-This build uses unsafe internal compiler arguments:
-
--XXLanguage:+JvmRecordSupport
-
-This mode is not recommended for production use,
-as no stability/compatibility guarantees are given on
-compiler or generated code. Use it at your own risk!
-
-compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecord.kt:1:1: error: using @JvmRecord is only allowed with -jvm-target 16 or later (or -jvm-target 15 with the -Xjvm-enable-preview flag enabled)
-@JvmRecord
-^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError.out b/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError.out
deleted file mode 100644
index 40a09d4..0000000
--- a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError.out
+++ /dev/null
@@ -1,21 +0,0 @@
-warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xcommon-sources=...
-warning: ATTENTION!
-This build uses unsafe internal compiler arguments:
-
--XXLanguage:+MultiPlatformProjects
-
-This mode is not recommended for production use,
-as no stability/compatibility guarantees are given on
-compiler or generated code. Use it at your own risk!
-
-compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError/common.kt:7:1: error: class 'CommonClass' is not abstract and does not implement abstract member:
-fun foo(): Unit
-class CommonClass : B
-^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError/jvm.kt:1:18: error: 'actual interface A : Any' has no corresponding members for expected class members:
-
- expect fun foo(): Unit
-
-actual interface A
- ^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.out b/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.out
deleted file mode 100644
index 692af79..0000000
--- a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.out
+++ /dev/null
@@ -1,17 +0,0 @@
-warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xcommon-sources=...
-warning: ATTENTION!
-This build uses unsafe internal compiler arguments:
-
--XXLanguage:+MultiPlatformProjects
-
-This mode is not recommended for production use,
-as no stability/compatibility guarantees are given on
-compiler or generated code. Use it at your own risk!
-
-compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors/common.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-expect interface A {
-^^^^^^
-compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors/jvm.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-actual interface A {
-^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors.out b/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors.out
deleted file mode 100644
index 692af79..0000000
--- a/compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors.out
+++ /dev/null
@@ -1,17 +0,0 @@
-warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xcommon-sources=...
-warning: ATTENTION!
-This build uses unsafe internal compiler arguments:
-
--XXLanguage:+MultiPlatformProjects
-
-This mode is not recommended for production use,
-as no stability/compatibility guarantees are given on
-compiler or generated code. Use it at your own risk!
-
-compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors/common.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-expect interface A {
-^^^^^^
-compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors/jvm.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-actual interface A {
-^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6/selfUpperBoundInference.out b/compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6/selfUpperBoundInference.out
deleted file mode 100644
index ea4d184..0000000
--- a/compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6/selfUpperBoundInference.out
+++ /dev/null
@@ -1,5 +0,0 @@
-warning: language version 1.7 is deprecated and its support will be removed in a future version of Kotlin
-compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6/selfUpperBoundInference.kt:40:25: warning: unchecked cast: WriterAppender.Builder1<B> to B
- return this as B
- ^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionDeprecated.out b/compiler/testData/cli/jvm/_languageVersion/languageVersionDeprecated.out
deleted file mode 100644
index 7e9350a..0000000
--- a/compiler/testData/cli/jvm/_languageVersion/languageVersionDeprecated.out
+++ /dev/null
@@ -1,5 +0,0 @@
-warning: language version 1.7 is deprecated and its support will be removed in a future version of Kotlin
-compiler/testData/cli/jvm/_languageVersion/src/languageVersion.kt:4:34: error: the feature "generic inline class parameter" is only available since language version 1.8
-value class Holder<T>(val value: T)
- ^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.out b/compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.out
deleted file mode 100644
index 0e7c0b7..0000000
--- a/compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.kt:2:11: error: unresolved reference 'NullPointerException'.
- throw NullPointerException()
- ^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.kt:2:11: error: type mismatch: inferred type is 'ERROR CLASS: Unresolved name: NullPointerException', but 'kotlin.Throwable' was expected.
- throw NullPointerException()
- ^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_noJdk/noJdkAvoidFailure.out b/compiler/testData/cli/jvm/_noJdk/noJdkAvoidFailure.out
deleted file mode 100644
index d96a3e8..0000000
--- a/compiler/testData/cli/jvm/_noJdk/noJdkAvoidFailure.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_noJdk/usingStdlibJavaExtension.kt:5:23: error: cannot access class 'java.lang.Class'. Check your module classpath for missing or conflicting dependencies.
- foo(String::class.java)
- ^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_noReflect/noReflect.out b/compiler/testData/cli/jvm/_noReflect/noReflect.out
deleted file mode 100644
index 2225052..0000000
--- a/compiler/testData/cli/jvm/_noReflect/noReflect.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_noReflect/noReflect.kt:4:19: error: unresolved reference 'primaryConstructor'.
- String::class.primaryConstructor
- ^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_noStdlib/noStdlibK1.out b/compiler/testData/cli/jvm/_noStdlib/noStdlibK1.out
deleted file mode 100644
index f2f0da0..0000000
--- a/compiler/testData/cli/jvm/_noStdlib/noStdlibK1.out
+++ /dev/null
@@ -1,16 +0,0 @@
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:4:5: error: cannot access built-in declaration 'kotlin.String'. Ensure that you have a dependency on the Kotlin standard library
- String::class.primaryConstructor
- ^^^^^^
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:4:19: error: unresolved reference: primaryConstructor
- String::class.primaryConstructor
- ^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:6:7: error: cannot access built-in declaration 'kotlin.Unit'. Ensure that you have a dependency on the Kotlin standard library
- ::foo.name
- ^^^
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:6:11: error: cannot access built-in declaration 'kotlin.reflect.KFunction0'. Ensure that you have a dependency on the Kotlin standard library
- ::foo.name
- ^^^^
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:7:5: error: unresolved reference: listOf
- listOf(42)
- ^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_noStdlib/noStdlibK2.out b/compiler/testData/cli/jvm/_noStdlib/noStdlibK2.out
deleted file mode 100644
index e43e507..0000000
--- a/compiler/testData/cli/jvm/_noStdlib/noStdlibK2.out
+++ /dev/null
@@ -1,16 +0,0 @@
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:4:5: error: cannot access built-in declaration 'kotlin.String'. Ensure that you have a dependency on the Kotlin standard library.
- String::class.primaryConstructor
- ^^^^^^
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:4:19: error: unresolved reference 'primaryConstructor'.
- String::class.primaryConstructor
- ^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:6:7: error: cannot access built-in declaration 'kotlin.Unit'. Ensure that you have a dependency on the Kotlin standard library.
- ::foo.name
- ^^^
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:6:11: error: cannot access built-in declaration 'kotlin.String'. Ensure that you have a dependency on the Kotlin standard library.
- ::foo.name
- ^^^^
-compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt:7:5: error: unresolved reference 'listOf'.
- listOf(42)
- ^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/optInEmptyMessage.out b/compiler/testData/cli/jvm/_optIn/optInEmptyMessage.out
deleted file mode 100644
index 476baa5..0000000
--- a/compiler/testData/cli/jvm/_optIn/optInEmptyMessage.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_optIn/optInEmptyMessage.kt:8:5: error: this declaration needs opt-in. Its usage must be marked with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
- foo()
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/optInEmptyMessageFir.out b/compiler/testData/cli/jvm/_optIn/optInEmptyMessageFir.out
deleted file mode 100644
index 9042398..0000000
--- a/compiler/testData/cli/jvm/_optIn/optInEmptyMessageFir.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_optIn/optInEmptyMessageFir.kt:8:5: error: this declaration needs opt-in. Its usage must be marked with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
- foo()
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/optInOverrideMessage.out b/compiler/testData/cli/jvm/_optIn/optInOverrideMessage.out
deleted file mode 100644
index 318300d..0000000
--- a/compiler/testData/cli/jvm/_optIn/optInOverrideMessage.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_optIn/optInOverrideMessage.kt:16:18: error: base declaration of supertype 'Base' needs opt-in. This API is experimental and can change at any time, please use with care. The declaration override must be annotated with '@Marker' or '@OptIn(Marker::class)'
- override fun foo() {}
- ^^^
-compiler/testData/cli/jvm/_optIn/optInOverrideMessage.kt:18:18: error: base declaration of supertype 'Base' needs opt-in. The declaration override must be annotated with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
- override fun bar() {}
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.out b/compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.out
deleted file mode 100644
index 214ea77..0000000
--- a/compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.out
+++ /dev/null
@@ -1,7 +0,0 @@
-compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.kt:16:18: error: base declaration of supertype 'Base' needs opt-in. This API is experimental and can change at any time, please use with care. The declaration override must be annotated with '@Marker' or '@OptIn(Marker::class)'
- override fun foo() {}
- ^^^
-compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.kt:18:18: error: base declaration of supertype 'Base' needs opt-in. The declaration override must be annotated with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
- override fun bar() {}
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutMarker.out b/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutMarker.out
deleted file mode 100644
index b182706..0000000
--- a/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutMarker.out
+++ /dev/null
@@ -1,5 +0,0 @@
-warning: API version 1.6 is deprecated and its support will be removed in a future version of Kotlin
-compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutMarker.kt:2:15: error: this declaration needs opt-in. Its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)'
- Regex("").matchAt("123", 0)
- ^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_progressive/kt19628_progressive.out b/compiler/testData/cli/jvm/_progressive/kt19628_progressive.out
deleted file mode 100644
index 296269f..0000000
--- a/compiler/testData/cli/jvm/_progressive/kt19628_progressive.out
+++ /dev/null
@@ -1,13 +0,0 @@
-compiler/testData/cli/jvm/_progressive/kt19628_progressive.kt:5:29: error: unresolved reference 'CollapsedStringAdapter'.
- @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
- ^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_progressive/kt19628_progressive.kt:5:29: error: annotation argument must be a compile-time constant.
- @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_progressive/kt19628_progressive.kt:8:29: error: unresolved reference 'CollapsedStringAdapter'.
- @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
- ^^^^^^^^^^^^^^^^^^^^^^
-compiler/testData/cli/jvm/_progressive/kt19628_progressive.kt:8:29: error: annotation argument must be a compile-time constant.
- @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_progressive/progressiveModeOffForDeprecatedVersion.args b/compiler/testData/cli/jvm/_progressive/progressiveModeOffForDeprecatedVersion.args
deleted file mode 100644
index 08313cc..0000000
--- a/compiler/testData/cli/jvm/_progressive/progressiveModeOffForDeprecatedVersion.args
+++ /dev/null
@@ -1,5 +0,0 @@
-$TESTDATA_DIR$/progressive
--d
-$TEMP_DIR$
--language-version
-1.7
diff --git a/compiler/testData/cli/jvm/_progressive/progressiveModeOffForDeprecatedVersion.out b/compiler/testData/cli/jvm/_progressive/progressiveModeOffForDeprecatedVersion.out
deleted file mode 100644
index 5962990..0000000
--- a/compiler/testData/cli/jvm/_progressive/progressiveModeOffForDeprecatedVersion.out
+++ /dev/null
@@ -1,8 +0,0 @@
-warning: language version 1.7 is deprecated and its support will be removed in a future version of Kotlin
-compiler/testData/cli/jvm/_progressive/progressive/tailrecOnVirtualMember.kt:2:5: error: tailrec is not allowed on open members
- tailrec open fun foo(x: Int) {}
- ^^^^^^^
-compiler/testData/cli/jvm/_progressive/progressive/typeParametersInAnonymousObjects.kt:2:19: error: type parameters are not allowed for objects
- val x = object<T> { }
- ^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.out b/compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.out
deleted file mode 100644
index ca5642b..0000000
--- a/compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.out
+++ /dev/null
@@ -1,10 +0,0 @@
-compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.kt:1:26: error: unresolved reference 'g'.
-fun foo(a: Int, b: Int) {g
- ^
-compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.kt:2:13: warning: division by zero.
- println(a / 0)
- ^^^^^
-compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.kt:3:13: warning: division by zero.
- println(b / 0)
- ^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_script/script/simple.kt b/compiler/testData/cli/jvm/_script/script/simple.kt
deleted file mode 100644
index f2accc4..0000000
--- a/compiler/testData/cli/jvm/_script/script/simple.kt
+++ /dev/null
@@ -1 +0,0 @@
-class SimpleKt
\ No newline at end of file
diff --git a/compiler/testData/cli/jvm/_script/wrongScriptWithDirectory.args b/compiler/testData/cli/jvm/_script/wrongScriptWithDirectory.args
deleted file mode 100644
index a436b8e..0000000
--- a/compiler/testData/cli/jvm/_script/wrongScriptWithDirectory.args
+++ /dev/null
@@ -1,2 +0,0 @@
--script
-$TESTDATA_DIR$/script
diff --git a/compiler/testData/cli/jvm/_script/wrongScriptWithDirectory.out b/compiler/testData/cli/jvm/_script/wrongScriptWithDirectory.out
deleted file mode 100644
index 39b54ca..0000000
--- a/compiler/testData/cli/jvm/_script/wrongScriptWithDirectory.out
+++ /dev/null
@@ -1,2 +0,0 @@
-error: script argument points to a directory: $TESTDATA_DIR$/script; Specify path to the script file as the first argument
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_script/wrongScriptWithKtSource.args b/compiler/testData/cli/jvm/_script/wrongScriptWithKtSource.args
deleted file mode 100644
index b032236..0000000
--- a/compiler/testData/cli/jvm/_script/wrongScriptWithKtSource.args
+++ /dev/null
@@ -1,2 +0,0 @@
--script
-$TESTDATA_DIR$/script/simple.kt
diff --git a/compiler/testData/cli/jvm/_useFirExperimentalCheckers/experimentalCheckers.out b/compiler/testData/cli/jvm/_useFirExperimentalCheckers/experimentalCheckers.out
deleted file mode 100644
index 0518169..0000000
--- a/compiler/testData/cli/jvm/_useFirExperimentalCheckers/experimentalCheckers.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_useFirExperimentalCheckers/experimentalCheckers.kt:2:12: warning: redundant explicit type.
- val i: Int = 1
- ^^^
-OK
diff --git a/compiler/testData/cli/jvm/_werror/werror.out b/compiler/testData/cli/jvm/_werror/werror.out
deleted file mode 100644
index 97e9b0c..0000000
--- a/compiler/testData/cli/jvm/_werror/werror.out
+++ /dev/null
@@ -1,8 +0,0 @@
-error: warnings found and -Werror specified
-compiler/testData/cli/jvm/_werror/werror.kt:2:13: warning: division by zero.
- println(a / 0)
- ^^^^^
-compiler/testData/cli/jvm/_werror/werror.kt:3:13: warning: division by zero.
- println(b / 0)
- ^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_werror/werrorWithExplicitError.out b/compiler/testData/cli/jvm/_werror/werrorWithExplicitError.out
deleted file mode 100644
index ee28634..0000000
--- a/compiler/testData/cli/jvm/_werror/werrorWithExplicitError.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_werror/werrorWithExplicitError.kt:4:6: error: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
- t.length
- ^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_werror/werrorWithNoWarn.out b/compiler/testData/cli/jvm/_werror/werrorWithNoWarn.out
deleted file mode 100644
index 97e9b0c..0000000
--- a/compiler/testData/cli/jvm/_werror/werrorWithNoWarn.out
+++ /dev/null
@@ -1,8 +0,0 @@
-error: warnings found and -Werror specified
-compiler/testData/cli/jvm/_werror/werror.kt:2:13: warning: division by zero.
- println(a / 0)
- ^^^^^
-compiler/testData/cli/jvm/_werror/werror.kt:3:13: warning: division by zero.
- println(b / 0)
- ^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_wextra/extraCheckers.out b/compiler/testData/cli/jvm/_wextra/extraCheckers.out
deleted file mode 100644
index 8566500..0000000
--- a/compiler/testData/cli/jvm/_wextra/extraCheckers.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/_wextra/extraCheckers.kt:2:9: warning: variable is unused.
- val a = a + 1
- ^
-OK
diff --git a/compiler/testData/cli/jvm/androidPlugin/AndroidManifest.xml b/compiler/testData/cli/jvm/androidPlugin/AndroidManifest.xml
deleted file mode 100644
index a24ec73..0000000
--- a/compiler/testData/cli/jvm/androidPlugin/AndroidManifest.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.myapp"
- android:versionCode="1"
- android:versionName="1.0" >
-
-</manifest>
\ No newline at end of file
diff --git a/compiler/testData/cli/jvm/androidPlugin/android/widget/TextView.java b/compiler/testData/cli/jvm/androidPlugin/android/widget/TextView.java
deleted file mode 100644
index 835b349..0000000
--- a/compiler/testData/cli/jvm/androidPlugin/android/widget/TextView.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package android.widget;
-
-public class TextView extends android.view.View {
- public void setText(String text) {}
-}
\ No newline at end of file
diff --git a/compiler/testData/cli/jvm/androidPlugin/androidApp.kt b/compiler/testData/cli/jvm/androidPlugin/androidApp.kt
deleted file mode 100644
index 7bcff1c..0000000
--- a/compiler/testData/cli/jvm/androidPlugin/androidApp.kt
+++ /dev/null
@@ -1,13 +0,0 @@
-package android.app
-
-public open class Activity {
- public open fun findViewById(@Suppress("UNUSED_PARAMETER") id: Int): android.view.View = null!!
-}
-
-public open class Fragment {
- public open fun getView(): android.view.View = null!!
-}
-
-open class Dialog {
- open fun findViewById(id: Int): android.view.View? = null
-}
diff --git a/compiler/testData/cli/jvm/androidPlugin/androidView.kt b/compiler/testData/cli/jvm/androidPlugin/androidView.kt
deleted file mode 100644
index 5a53ffa..0000000
--- a/compiler/testData/cli/jvm/androidPlugin/androidView.kt
+++ /dev/null
@@ -1,5 +0,0 @@
-package android.view
-
-public open class View {
- public open fun findViewById(@Suppress("UNUSED_PARAMETER") id: Int): android.view.View = null!!
-}
\ No newline at end of file
diff --git a/compiler/testData/cli/jvm/androidPlugin/res/layout/layout.xml b/compiler/testData/cli/jvm/androidPlugin/res/layout/layout.xml
deleted file mode 100644
index b091801..0000000
--- a/compiler/testData/cli/jvm/androidPlugin/res/layout/layout.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<TextView
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/textView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
\ No newline at end of file
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiAndLanguageVersionsUnsupported.args b/compiler/testData/cli/jvm/apiVersion/apiAndLanguageVersionsUnsupported.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiAndLanguageVersionsUnsupported.args
rename to compiler/testData/cli/jvm/apiVersion/apiAndLanguageVersionsUnsupported.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiAndLanguageVersionsUnsupported.out b/compiler/testData/cli/jvm/apiVersion/apiAndLanguageVersionsUnsupported.out
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiAndLanguageVersionsUnsupported.out
rename to compiler/testData/cli/jvm/apiVersion/apiAndLanguageVersionsUnsupported.out
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersion.args b/compiler/testData/cli/jvm/apiVersion/apiVersion.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersion.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersion.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersion.out b/compiler/testData/cli/jvm/apiVersion/apiVersion.out
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersion.out
rename to compiler/testData/cli/jvm/apiVersion/apiVersion.out
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionAndSinceNewerKotlin.args b/compiler/testData/cli/jvm/apiVersion/apiVersionAndSinceNewerKotlin.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionAndSinceNewerKotlin.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionAndSinceNewerKotlin.args
diff --git a/compiler/testData/cli/jvm/apiVersion/apiVersionAndSinceNewerKotlin.out b/compiler/testData/cli/jvm/apiVersion/apiVersionAndSinceNewerKotlin.out
new file mode 100644
index 0000000..cb7f501
--- /dev/null
+++ b/compiler/testData/cli/jvm/apiVersion/apiVersionAndSinceNewerKotlin.out
@@ -0,0 +1,8 @@
+warning: API version 1.7 is deprecated and its support will be removed in a future version of Kotlin
+compiler/testData/cli/jvm/apiVersion/src/apiVersionAndSinceNewerKotlin.kt:1:14: warning: the version is greater than the specified API version 1.7.
+@SinceKotlin("1.8")
+ ^^^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersionAndSinceNewerKotlin.kt:4:14: warning: the version is greater than the specified API version 1.7.
+@SinceKotlin("1.9")
+ ^^^^^
+OK
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionDeprecated.args b/compiler/testData/cli/jvm/apiVersion/apiVersionDeprecated.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionDeprecated.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionDeprecated.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionDeprecated.out b/compiler/testData/cli/jvm/apiVersion/apiVersionDeprecated.out
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionDeprecated.out
rename to compiler/testData/cli/jvm/apiVersion/apiVersionDeprecated.out
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionEmpty.args b/compiler/testData/cli/jvm/apiVersion/apiVersionEmpty.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionEmpty.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionEmpty.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionEmpty.out b/compiler/testData/cli/jvm/apiVersion/apiVersionEmpty.out
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionEmpty.out
rename to compiler/testData/cli/jvm/apiVersion/apiVersionEmpty.out
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguage.args b/compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguage.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguage.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguage.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguage.out b/compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguage.out
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguage.out
rename to compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguage.out
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppress.args b/compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppress.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppress.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppress.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppress.out b/compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppress.out
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppress.out
rename to compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppress.out
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppressUseless.args b/compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppressUseless.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppressUseless.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppressUseless.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppressUseless.out b/compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppressUseless.out
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppressUseless.out
rename to compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppressUseless.out
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionInvalid.args b/compiler/testData/cli/jvm/apiVersion/apiVersionInvalid.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionInvalid.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionInvalid.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionInvalid.out b/compiler/testData/cli/jvm/apiVersion/apiVersionInvalid.out
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionInvalid.out
rename to compiler/testData/cli/jvm/apiVersion/apiVersionInvalid.out
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.argfile b/compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguage.argfile
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.argfile
rename to compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguage.argfile
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.args b/compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguage.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguage.args
diff --git a/compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguage.out b/compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguage.out
new file mode 100644
index 0000000..31060c8
--- /dev/null
+++ b/compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguage.out
@@ -0,0 +1,94 @@
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:5: warning: parameter 'p00' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:13: warning: parameter 'p01' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:21: warning: parameter 'p02' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:29: warning: parameter 'p03' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:37: warning: parameter 'p04' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:45: warning: parameter 'p05' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:53: warning: parameter 'p06' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:61: warning: parameter 'p07' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:69: warning: parameter 'p08' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:77: warning: parameter 'p09' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:5: warning: parameter 'p10' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:13: warning: parameter 'p11' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:21: warning: parameter 'p12' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:29: warning: parameter 'p13' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:37: warning: parameter 'p14' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:45: warning: parameter 'p15' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:53: warning: parameter 'p16' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:61: warning: parameter 'p17' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:69: warning: parameter 'p18' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:77: warning: parameter 'p19' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:5: warning: parameter 'p20' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:13: warning: parameter 'p21' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:21: warning: parameter 'p22' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:29: warning: parameter 'p23' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:37: warning: parameter 'p24' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:45: warning: parameter 'p25' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:53: warning: parameter 'p26' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:61: warning: parameter 'p27' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:69: warning: parameter 'p28' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:77: warning: parameter 'p29' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:9:9: warning: parameter 'x' is never used
+fun bar(x: Any) {}
+ ^
+OK
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguageUsingArgfile.args b/compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguageUsingArgfile.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguageUsingArgfile.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguageUsingArgfile.args
diff --git a/compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguageUsingArgfile.out b/compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguageUsingArgfile.out
new file mode 100644
index 0000000..31060c8
--- /dev/null
+++ b/compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguageUsingArgfile.out
@@ -0,0 +1,94 @@
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:5: warning: parameter 'p00' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:13: warning: parameter 'p01' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:21: warning: parameter 'p02' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:29: warning: parameter 'p03' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:37: warning: parameter 'p04' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:45: warning: parameter 'p05' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:53: warning: parameter 'p06' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:61: warning: parameter 'p07' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:69: warning: parameter 'p08' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:4:77: warning: parameter 'p09' is never used
+ p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:5: warning: parameter 'p10' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:13: warning: parameter 'p11' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:21: warning: parameter 'p12' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:29: warning: parameter 'p13' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:37: warning: parameter 'p14' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:45: warning: parameter 'p15' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:53: warning: parameter 'p16' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:61: warning: parameter 'p17' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:69: warning: parameter 'p18' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:5:77: warning: parameter 'p19' is never used
+ p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:5: warning: parameter 'p20' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:13: warning: parameter 'p21' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:21: warning: parameter 'p22' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:29: warning: parameter 'p23' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:37: warning: parameter 'p24' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:45: warning: parameter 'p25' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:53: warning: parameter 'p26' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:61: warning: parameter 'p27' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:69: warning: parameter 'p28' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:6:77: warning: parameter 'p29' is never used
+ p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
+ ^^^
+compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt:9:9: warning: parameter 'x' is never used
+fun bar(x: Any) {}
+ ^
+OK
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionUnsupported.args b/compiler/testData/cli/jvm/apiVersion/apiVersionUnsupported.args
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionUnsupported.args
rename to compiler/testData/cli/jvm/apiVersion/apiVersionUnsupported.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionUnsupported.out b/compiler/testData/cli/jvm/apiVersion/apiVersionUnsupported.out
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionUnsupported.out
rename to compiler/testData/cli/jvm/apiVersion/apiVersionUnsupported.out
diff --git a/compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt b/compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt
rename to compiler/testData/cli/jvm/apiVersion/src/apiVersion.kt
diff --git a/compiler/testData/cli/jvm/_apiVersion/src/apiVersionAndSinceNewerKotlin.kt b/compiler/testData/cli/jvm/apiVersion/src/apiVersionAndSinceNewerKotlin.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/src/apiVersionAndSinceNewerKotlin.kt
rename to compiler/testData/cli/jvm/apiVersion/src/apiVersionAndSinceNewerKotlin.kt
diff --git a/compiler/testData/cli/jvm/_apiVersion/src/apiVersionGreaterThanLanguageSuppress.kt b/compiler/testData/cli/jvm/apiVersion/src/apiVersionGreaterThanLanguageSuppress.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_apiVersion/src/apiVersionGreaterThanLanguageSuppress.kt
rename to compiler/testData/cli/jvm/apiVersion/src/apiVersionGreaterThanLanguageSuppress.kt
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEmptyArgument.argfile b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEmptyArgument.argfile
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEmptyArgument.argfile
rename to compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEmptyArgument.argfile
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEmptyArgument.args b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEmptyArgument.args
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEmptyArgument.args
rename to compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEmptyArgument.args
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEmptyArgument.out b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEmptyArgument.out
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEmptyArgument.out
rename to compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEmptyArgument.out
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEscaping.argfile b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEscaping.argfile
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEscaping.argfile
rename to compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEscaping.argfile
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEscaping.args b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEscaping.args
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEscaping.args
rename to compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEscaping.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.out b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEscaping.out
similarity index 68%
copy from compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.out
copy to compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEscaping.out
index 8ebb944..1afad95 100644
--- a/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.out
+++ b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEscaping.out
@@ -1,94 +1,97 @@
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:5: warning: parameter 'p00' is never used
+warning: flag is not supported by this version of the compiler: -Xdouble ' quote ' escaped " sequence /
+warning: flag is not supported by this version of the compiler: -Xsingle " quote " escaped ' sequence /
+warning: language version 1.7 is deprecated and its support will be removed in a future version of Kotlin
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:5: warning: parameter 'p00' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:13: warning: parameter 'p01' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:13: warning: parameter 'p01' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:21: warning: parameter 'p02' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:21: warning: parameter 'p02' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:29: warning: parameter 'p03' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:29: warning: parameter 'p03' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:37: warning: parameter 'p04' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:37: warning: parameter 'p04' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:45: warning: parameter 'p05' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:45: warning: parameter 'p05' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:53: warning: parameter 'p06' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:53: warning: parameter 'p06' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:61: warning: parameter 'p07' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:61: warning: parameter 'p07' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:69: warning: parameter 'p08' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:69: warning: parameter 'p08' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:77: warning: parameter 'p09' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:77: warning: parameter 'p09' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:5: warning: parameter 'p10' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:5: warning: parameter 'p10' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:13: warning: parameter 'p11' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:13: warning: parameter 'p11' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:21: warning: parameter 'p12' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:21: warning: parameter 'p12' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:29: warning: parameter 'p13' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:29: warning: parameter 'p13' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:37: warning: parameter 'p14' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:37: warning: parameter 'p14' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:45: warning: parameter 'p15' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:45: warning: parameter 'p15' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:53: warning: parameter 'p16' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:53: warning: parameter 'p16' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:61: warning: parameter 'p17' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:61: warning: parameter 'p17' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:69: warning: parameter 'p18' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:69: warning: parameter 'p18' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:77: warning: parameter 'p19' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:77: warning: parameter 'p19' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:5: warning: parameter 'p20' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:5: warning: parameter 'p20' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:13: warning: parameter 'p21' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:13: warning: parameter 'p21' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:21: warning: parameter 'p22' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:21: warning: parameter 'p22' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:29: warning: parameter 'p23' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:29: warning: parameter 'p23' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:37: warning: parameter 'p24' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:37: warning: parameter 'p24' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:45: warning: parameter 'p25' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:45: warning: parameter 'p25' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:53: warning: parameter 'p26' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:53: warning: parameter 'p26' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:61: warning: parameter 'p27' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:61: warning: parameter 'p27' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:69: warning: parameter 'p28' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:69: warning: parameter 'p28' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:77: warning: parameter 'p29' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:77: warning: parameter 'p29' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:9:9: warning: parameter 'x' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:9:9: warning: parameter 'x' is never used
fun bar(x: Any) {}
^
OK
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.argfile b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.argfile
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.argfile
rename to compiler/testData/cli/jvm/argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.argfile
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.args b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.args
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.args
rename to compiler/testData/cli/jvm/argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.args
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.out b/compiler/testData/cli/jvm/argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.out
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.out
rename to compiler/testData/cli/jvm/argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.out
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argumentPassedMultipleTimes.args b/compiler/testData/cli/jvm/argfileCommonChecks/argumentPassedMultipleTimes.args
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argumentPassedMultipleTimes.args
rename to compiler/testData/cli/jvm/argfileCommonChecks/argumentPassedMultipleTimes.args
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/argumentPassedMultipleTimes.out b/compiler/testData/cli/jvm/argfileCommonChecks/argumentPassedMultipleTimes.out
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/argumentPassedMultipleTimes.out
rename to compiler/testData/cli/jvm/argfileCommonChecks/argumentPassedMultipleTimes.out
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/mixingArgfilesAndUsualArgs.argfile b/compiler/testData/cli/jvm/argfileCommonChecks/mixingArgfilesAndUsualArgs.argfile
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/mixingArgfilesAndUsualArgs.argfile
rename to compiler/testData/cli/jvm/argfileCommonChecks/mixingArgfilesAndUsualArgs.argfile
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/mixingArgfilesAndUsualArgs.args b/compiler/testData/cli/jvm/argfileCommonChecks/mixingArgfilesAndUsualArgs.args
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/mixingArgfilesAndUsualArgs.args
rename to compiler/testData/cli/jvm/argfileCommonChecks/mixingArgfilesAndUsualArgs.args
diff --git a/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.out b/compiler/testData/cli/jvm/argfileCommonChecks/mixingArgfilesAndUsualArgs.out
similarity index 71%
rename from compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.out
rename to compiler/testData/cli/jvm/argfileCommonChecks/mixingArgfilesAndUsualArgs.out
index 8ebb944..b96b292 100644
--- a/compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.out
+++ b/compiler/testData/cli/jvm/argfileCommonChecks/mixingArgfilesAndUsualArgs.out
@@ -1,94 +1,94 @@
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:5: warning: parameter 'p00' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:5: warning: parameter 'p00' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:13: warning: parameter 'p01' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:13: warning: parameter 'p01' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:21: warning: parameter 'p02' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:21: warning: parameter 'p02' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:29: warning: parameter 'p03' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:29: warning: parameter 'p03' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:37: warning: parameter 'p04' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:37: warning: parameter 'p04' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:45: warning: parameter 'p05' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:45: warning: parameter 'p05' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:53: warning: parameter 'p06' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:53: warning: parameter 'p06' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:61: warning: parameter 'p07' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:61: warning: parameter 'p07' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:69: warning: parameter 'p08' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:69: warning: parameter 'p08' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:4:77: warning: parameter 'p09' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:4:77: warning: parameter 'p09' is never used
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:5: warning: parameter 'p10' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:5: warning: parameter 'p10' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:13: warning: parameter 'p11' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:13: warning: parameter 'p11' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:21: warning: parameter 'p12' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:21: warning: parameter 'p12' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:29: warning: parameter 'p13' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:29: warning: parameter 'p13' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:37: warning: parameter 'p14' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:37: warning: parameter 'p14' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:45: warning: parameter 'p15' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:45: warning: parameter 'p15' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:53: warning: parameter 'p16' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:53: warning: parameter 'p16' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:61: warning: parameter 'p17' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:61: warning: parameter 'p17' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:69: warning: parameter 'p18' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:69: warning: parameter 'p18' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:5:77: warning: parameter 'p19' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:5:77: warning: parameter 'p19' is never used
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:5: warning: parameter 'p20' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:5: warning: parameter 'p20' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:13: warning: parameter 'p21' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:13: warning: parameter 'p21' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:21: warning: parameter 'p22' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:21: warning: parameter 'p22' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:29: warning: parameter 'p23' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:29: warning: parameter 'p23' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:37: warning: parameter 'p24' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:37: warning: parameter 'p24' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:45: warning: parameter 'p25' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:45: warning: parameter 'p25' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:53: warning: parameter 'p26' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:53: warning: parameter 'p26' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:61: warning: parameter 'p27' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:61: warning: parameter 'p27' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:69: warning: parameter 'p28' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:69: warning: parameter 'p28' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:6:77: warning: parameter 'p29' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:6:77: warning: parameter 'p29' is never used
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A
^^^
-compiler/testData/cli/jvm/_apiVersion/src/apiVersion.kt:9:9: warning: parameter 'x' is never used
+compiler/testData/cli/jvm/argfileCommonChecks/simple.kt:9:9: warning: parameter 'x' is never used
fun bar(x: Any) {}
^
OK
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/nonexistingArgfile.args b/compiler/testData/cli/jvm/argfileCommonChecks/nonexistingArgfile.args
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/nonexistingArgfile.args
rename to compiler/testData/cli/jvm/argfileCommonChecks/nonexistingArgfile.args
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/nonexistingArgfile.out b/compiler/testData/cli/jvm/argfileCommonChecks/nonexistingArgfile.out
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/nonexistingArgfile.out
rename to compiler/testData/cli/jvm/argfileCommonChecks/nonexistingArgfile.out
diff --git a/compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt b/compiler/testData/cli/jvm/argfileCommonChecks/simple.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_argfileCommonChecks/simple.kt
rename to compiler/testData/cli/jvm/argfileCommonChecks/simple.kt
diff --git a/compiler/testData/cli/jvm/_classPath/classPath.args b/compiler/testData/cli/jvm/classPath/classPath.args
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/classPath.args
rename to compiler/testData/cli/jvm/classPath/classPath.args
diff --git a/compiler/testData/cli/jvm/_classPath/classPath.kt b/compiler/testData/cli/jvm/classPath/classPath.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/classPath.kt
rename to compiler/testData/cli/jvm/classPath/classPath.kt
diff --git a/compiler/testData/cli/jvm/_classPath/classPath.out b/compiler/testData/cli/jvm/classPath/classPath.out
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/classPath.out
rename to compiler/testData/cli/jvm/classPath/classPath.out
diff --git a/compiler/testData/cli/jvm/_classPath/emptyClassPath.args b/compiler/testData/cli/jvm/classPath/emptyClassPath.args
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/emptyClassPath.args
rename to compiler/testData/cli/jvm/classPath/emptyClassPath.args
diff --git a/compiler/testData/cli/jvm/_classPath/emptyClassPath.out b/compiler/testData/cli/jvm/classPath/emptyClassPath.out
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/emptyClassPath.out
rename to compiler/testData/cli/jvm/classPath/emptyClassPath.out
diff --git a/compiler/testData/cli/jvm/_classPath/invalidClassPath.args b/compiler/testData/cli/jvm/classPath/invalidClassPath.args
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/invalidClassPath.args
rename to compiler/testData/cli/jvm/classPath/invalidClassPath.args
diff --git a/compiler/testData/cli/jvm/_classPath/invalidClassPath.out b/compiler/testData/cli/jvm/classPath/invalidClassPath.out
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/invalidClassPath.out
rename to compiler/testData/cli/jvm/classPath/invalidClassPath.out
diff --git a/compiler/testData/cli/jvm/_classPath/invalidClassPath.test b/compiler/testData/cli/jvm/classPath/invalidClassPath.test
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/invalidClassPath.test
rename to compiler/testData/cli/jvm/classPath/invalidClassPath.test
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersion.args b/compiler/testData/cli/jvm/classPath/wrongAbiVersion.args
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersion.args
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersion.args
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersion.kt b/compiler/testData/cli/jvm/classPath/wrongAbiVersion.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersion.kt
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersion.kt
diff --git a/compiler/testData/cli/jvm/classPath/wrongAbiVersion.out b/compiler/testData/cli/jvm/classPath/wrongAbiVersion.out
new file mode 100644
index 0000000..0a30140
--- /dev/null
+++ b/compiler/testData/cli/jvm/classPath/wrongAbiVersion.out
@@ -0,0 +1,16 @@
+error: incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
+compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/META-INF/main.kotlin_module: error: module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 0.30.0, expected version is $ABI_VERSION$.
+compiler/testData/cli/jvm/classPath/wrongAbiVersion.kt:3:12: error: class 'ClassWithWrongAbiVersion' was compiled with an incompatible version of Kotlin. The actual metadata version is 0.30.0, but the compiler version $ABI_VERSION$ can read versions up to $ABI_VERSION_NEXT$.
+The class is loaded from $TESTDATA_DIR$/wrongAbiVersionLib/bin/ClassWithWrongAbiVersion.class
+fun foo(x: ClassWithWrongAbiVersion) {
+ ^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/classPath/wrongAbiVersion.kt:4:5: error: unresolved reference 'bar'.
+ bar()
+ ^^^
+compiler/testData/cli/jvm/classPath/wrongAbiVersion.kt:6:21: error: argument type mismatch: actual type is 'kotlin.Int', but 'kotlin.String' was expected.
+ 1.replaceIndent(2, 3)
+ ^
+compiler/testData/cli/jvm/classPath/wrongAbiVersion.kt:6:24: error: too many arguments for 'fun String.replaceIndent(newIndent: String = ...): String'.
+ 1.replaceIndent(2, 3)
+ ^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/ClassWithWrongAbiVersion.class b/compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/ClassWithWrongAbiVersion.class
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/ClassWithWrongAbiVersion.class
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/ClassWithWrongAbiVersion.class
Binary files differ
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/META-INF/main.kotlin_module b/compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/META-INF/main.kotlin_module
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/META-INF/main.kotlin_module
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/META-INF/main.kotlin_module
Binary files differ
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/wrong/ClassWithInnerLambda$other$1.class b/compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/wrong/ClassWithInnerLambda$other$1.class
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/wrong/ClassWithInnerLambda$other$1.class
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/wrong/ClassWithInnerLambda$other$1.class
Binary files differ
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/wrong/ClassWithInnerLambda.class b/compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/wrong/ClassWithInnerLambda.class
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/wrong/ClassWithInnerLambda.class
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/wrong/ClassWithInnerLambda.class
Binary files differ
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/wrong/Wrong_packageKt.class b/compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/wrong/Wrong_packageKt.class
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/bin/wrong/Wrong_packageKt.class
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/bin/wrong/Wrong_packageKt.class
Binary files differ
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/readme.txt b/compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/readme.txt
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/readme.txt
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/readme.txt
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/src/ClassWithInnerLambda.kt b/compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/src/ClassWithInnerLambda.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/src/ClassWithInnerLambda.kt
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/src/ClassWithInnerLambda.kt
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/src/ClassWithWrongAbiVersion.kt b/compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/src/ClassWithWrongAbiVersion.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/src/ClassWithWrongAbiVersion.kt
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/src/ClassWithWrongAbiVersion.kt
diff --git a/compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/src/wrong-package.kt b/compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/src/wrong-package.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_classPath/wrongAbiVersionLib/src/wrong-package.kt
rename to compiler/testData/cli/jvm/classPath/wrongAbiVersionLib/src/wrong-package.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/Record.java b/compiler/testData/cli/jvm/diagnosticTests/Record.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/Record.java
rename to compiler/testData/cli/jvm/diagnosticTests/Record.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.args b/compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.args
rename to compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.kt b/compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.kt
rename to compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.out b/compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.out
new file mode 100644
index 0000000..0ba819c
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.kt:1:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, Foo
+@file:JvmName("Foo")
+^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.kt:6:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, Foo
+class Foo {}
+^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash.args b/compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash.args
rename to compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash.args
diff --git a/compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash.out b/compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash.out
new file mode 100644
index 0000000..cf20357
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash1.kt:1:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, Foo
+@file:JvmName("Foo")
+^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash2.kt:3:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, Foo
+class Foo
+^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash1.kt b/compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash1.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash1.kt
rename to compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash1.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash2.kt b/compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash2.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash2.kt
rename to compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash2.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.args b/compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.args
rename to compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.kt b/compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.kt
rename to compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.out b/compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.out
new file mode 100644
index 0000000..59cecf1
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.kt:1:1: error: duplicate JVM class name 'test/ClassAndPartClashKt' generated from: ClassAndPartClashKt, ClassAndPartClashKt
+package test
+^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.kt:5:1: error: duplicate JVM class name 'test/ClassAndPartClashKt' generated from: ClassAndPartClashKt, ClassAndPartClashKt
+class ClassAndPartClashKt
+^^^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.args b/compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.args
rename to compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.kt b/compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.kt
rename to compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.out b/compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.out
new file mode 100644
index 0000000..ae6d0cc
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.kt:3:1: error: duplicate JVM class name 'test/T1$DefaultImpls' generated from: `T1$DefaultImpls`, DefaultImpls
+interface T1 {
+^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.kt:7:1: error: duplicate JVM class name 'test/T1$DefaultImpls' generated from: `T1$DefaultImpls`, DefaultImpls
+class `T1$DefaultImpls` {
+^^^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classpath.args b/compiler/testData/cli/jvm/diagnosticTests/classpath.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classpath.args
rename to compiler/testData/cli/jvm/diagnosticTests/classpath.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classpath.kt b/compiler/testData/cli/jvm/diagnosticTests/classpath.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classpath.kt
rename to compiler/testData/cli/jvm/diagnosticTests/classpath.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/classpath.out b/compiler/testData/cli/jvm/diagnosticTests/classpath.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/classpath.out
rename to compiler/testData/cli/jvm/diagnosticTests/classpath.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.args b/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.args
rename to compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.kt b/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.kt
rename to compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.out b/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.out
new file mode 100644
index 0000000..2bd82c7
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.out
@@ -0,0 +1,13 @@
+compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.kt:3:9: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
+ fun `<get-x>`(): Int defined in Foo
+ fun getX(): Int defined in Foo
+ fun getY(): Int defined in Foo
+ get() = 42
+ ^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.kt:8:5: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
+ fun `<get-x>`(): Int defined in Foo
+ fun getX(): Int defined in Foo
+ fun getY(): Int defined in Foo
+ @JvmName("getX")
+ ^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.test b/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.test
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.test
rename to compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.test
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarationsK2.args b/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarationsK2.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarationsK2.args
rename to compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarationsK2.args
diff --git a/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarationsK2.out b/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarationsK2.out
new file mode 100644
index 0000000..2bd82c7
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarationsK2.out
@@ -0,0 +1,13 @@
+compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.kt:3:9: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
+ fun `<get-x>`(): Int defined in Foo
+ fun getX(): Int defined in Foo
+ fun getY(): Int defined in Foo
+ get() = 42
+ ^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.kt:8:5: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
+ fun `<get-x>`(): Int defined in Foo
+ fun getX(): Int defined in Foo
+ fun getY(): Int defined in Foo
+ @JvmName("getX")
+ ^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarationsK2.test b/compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarationsK2.test
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarationsK2.test
rename to compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarationsK2.test
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.args b/compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.args
rename to compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.kt b/compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.kt
rename to compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.out b/compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.out
new file mode 100644
index 0000000..c66d115
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.out
@@ -0,0 +1,9 @@
+compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.kt:1:1: error: conflicting overloads:
+fun a(): List<String>
+fun a(): List<Int> = null!!
+^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.kt:2:1: error: conflicting overloads:
+fun a(): List<Int>
+fun a(): List<String> = null!!
+^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.args b/compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.args
rename to compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.kt b/compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.kt
rename to compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.out b/compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.out
new file mode 100644
index 0000000..ba6d034
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.out
@@ -0,0 +1,16 @@
+compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.kt:10:19: error: projection is conflicting with variance of the corresponding type parameter of 'Out<in kotlin.Int>'. Remove the projection or replace it with '*'.
+fun a8(value: Out<in Int>) {}
+ ^^
+compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.kt:17:15: error: variance annotations are only allowed for type parameters of classes and interfaces.
+typealias A13<in K> = In<K>
+ ^^
+compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.kt:18:15: error: variance annotations are only allowed for type parameters of classes and interfaces.
+typealias A14<in K> = In<in K>
+ ^^
+compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.kt:19:15: error: variance annotations are only allowed for type parameters of classes and interfaces.
+typealias A15<in K> = In<out K>
+ ^^
+compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.kt:19:26: error: projection is conflicting with variance of the corresponding type parameter of 'In<out K (of typealias A15<in K>)>'. Remove the projection or replace it with '*'.
+typealias A15<in K> = In<out K>
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder.args b/compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder.args
rename to compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder.args
diff --git a/compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder.out b/compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder.out
new file mode 100644
index 0000000..54145c3
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder.out
@@ -0,0 +1,72 @@
+compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder1.kt:1:5: error: conflicting declarations:
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x = 5
+ ^
+compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder1.kt:2:5: error: conflicting declarations:
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x = 5
+ ^
+compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder1.kt:3:5: error: conflicting declarations:
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x = 5
+ ^
+compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder1.kt:4:5: error: conflicting declarations:
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x = 5
+ ^
+compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder1.kt:5:5: error: conflicting declarations:
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x = 5
+ ^
+compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder1.kt:6:5: error: conflicting declarations:
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x = 5
+ ^
+compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder1.kt:7:5: error: conflicting declarations:
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x: Int
+val x = 5
+ ^
+compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder2.kt:1:5: error: conflicting declarations:
+val y: Int
+val y = 5
+ ^
+compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder2.kt:2:5: error: conflicting declarations:
+val y: Int
+val y = 5
+ ^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder1.kt b/compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder1.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder1.kt
rename to compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder1.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder2.kt b/compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder2.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder2.kt
rename to compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder2.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash.args b/compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash.args
rename to compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash.args
diff --git a/compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash.out b/compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash.out
new file mode 100644
index 0000000..49ae1e0
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash1.kt:1:1: error: duplicate JVM class name 'test/Util' generated from: Util, Util
+@file:JvmName("Util")
+^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash1.kt b/compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash1.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash1.kt
rename to compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash1.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash2.kt b/compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash2.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash2.kt
rename to compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash2.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassAndTImplClash.args b/compiler/testData/cli/jvm/diagnosticTests/fileClassAndTImplClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fileClassAndTImplClash.args
rename to compiler/testData/cli/jvm/diagnosticTests/fileClassAndTImplClash.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassAndTImplClash.kt b/compiler/testData/cli/jvm/diagnosticTests/fileClassAndTImplClash.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fileClassAndTImplClash.kt
rename to compiler/testData/cli/jvm/diagnosticTests/fileClassAndTImplClash.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassAndTImplClash.out b/compiler/testData/cli/jvm/diagnosticTests/fileClassAndTImplClash.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fileClassAndTImplClash.out
rename to compiler/testData/cli/jvm/diagnosticTests/fileClassAndTImplClash.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles.args b/compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles.args
rename to compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles.args
diff --git a/compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles.out b/compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles.out
new file mode 100644
index 0000000..d84c5d5
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles1.kt:1:1: error: duplicate JVM class name 'test/Util' generated from: Util, Util
+@file:JvmName("Util")
+^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles2.kt:1:1: error: duplicate JVM class name 'test/Util' generated from: Util, Util
+@file:JvmName("Util")
+^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles1.kt b/compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles1.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles1.kt
rename to compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles1.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles2.kt b/compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles2.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles2.kt
rename to compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles2.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.args b/compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.args
rename to compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.kt b/compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.kt
rename to compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.out b/compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.out
new file mode 100644
index 0000000..249ec0e1
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.out
@@ -0,0 +1,10 @@
+compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.kt:3:12: warning: 'fun stop(): Unit' is deprecated. Deprecated in Java.
+ thread.stop()
+ ^^^^
+compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.kt:4:17: warning: 'fun bar(a: String!, b: Int, c: Double): String!' is deprecated. Deprecated in Java.
+ JavaClass().bar("", 1, 2.0)
+ ^^^
+compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.kt:5:27: warning: 'field baz: (Mutable)List<String!>!' is deprecated. Deprecated in Java.
+ val baz = JavaClass().baz
+ ^^^
+OK
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava/JavaClass.java b/compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava/JavaClass.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava/JavaClass.java
rename to compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava/JavaClass.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firDfa.args b/compiler/testData/cli/jvm/diagnosticTests/firDfa.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firDfa.args
rename to compiler/testData/cli/jvm/diagnosticTests/firDfa.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firDfa.kt b/compiler/testData/cli/jvm/diagnosticTests/firDfa.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firDfa.kt
rename to compiler/testData/cli/jvm/diagnosticTests/firDfa.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firDfa.out b/compiler/testData/cli/jvm/diagnosticTests/firDfa.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firDfa.out
rename to compiler/testData/cli/jvm/diagnosticTests/firDfa.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firError.args b/compiler/testData/cli/jvm/diagnosticTests/firError.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firError.args
rename to compiler/testData/cli/jvm/diagnosticTests/firError.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firError.kt b/compiler/testData/cli/jvm/diagnosticTests/firError.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firError.kt
rename to compiler/testData/cli/jvm/diagnosticTests/firError.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/firError.out b/compiler/testData/cli/jvm/diagnosticTests/firError.out
new file mode 100644
index 0000000..939ac82
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/firError.out
@@ -0,0 +1,19 @@
+compiler/testData/cli/jvm/diagnosticTests/firError.kt:1:13: error: 'val' on function parameter is prohibited.
+fun println(val x: Int) {}
+ ^^^
+compiler/testData/cli/jvm/diagnosticTests/firError.kt:5:13: error: variable 'x' must be initialized.
+ println(x)
+ ^
+compiler/testData/cli/jvm/diagnosticTests/firError.kt:10:16: error: 'public' subclass exposes its 'private-in-file' supertype 'Private'.
+class Public : Private() {
+ ^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/firError.kt:10:16: error: this type is final, so it cannot be extended.
+class Public : Private() {
+ ^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/firError.kt:11:5: error: property must be initialized or be abstract.
+ val x: Private
+ ^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/firError.kt:11:9: error: 'public' property exposes its 'private-in-file' type 'Private'.
+ val x: Private
+ ^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firHello.args b/compiler/testData/cli/jvm/diagnosticTests/firHello.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firHello.args
rename to compiler/testData/cli/jvm/diagnosticTests/firHello.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firHello.kt b/compiler/testData/cli/jvm/diagnosticTests/firHello.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firHello.kt
rename to compiler/testData/cli/jvm/diagnosticTests/firHello.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firHello.out b/compiler/testData/cli/jvm/diagnosticTests/firHello.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firHello.out
rename to compiler/testData/cli/jvm/diagnosticTests/firHello.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firHello20.args b/compiler/testData/cli/jvm/diagnosticTests/firHello20.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firHello20.args
rename to compiler/testData/cli/jvm/diagnosticTests/firHello20.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firHello20.kt b/compiler/testData/cli/jvm/diagnosticTests/firHello20.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firHello20.kt
rename to compiler/testData/cli/jvm/diagnosticTests/firHello20.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firHello20.out b/compiler/testData/cli/jvm/diagnosticTests/firHello20.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firHello20.out
rename to compiler/testData/cli/jvm/diagnosticTests/firHello20.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firSyntaxError.args b/compiler/testData/cli/jvm/diagnosticTests/firSyntaxError.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firSyntaxError.args
rename to compiler/testData/cli/jvm/diagnosticTests/firSyntaxError.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firSyntaxError.kt b/compiler/testData/cli/jvm/diagnosticTests/firSyntaxError.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firSyntaxError.kt
rename to compiler/testData/cli/jvm/diagnosticTests/firSyntaxError.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/firSyntaxError.out b/compiler/testData/cli/jvm/diagnosticTests/firSyntaxError.out
new file mode 100644
index 0000000..4124336
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/firSyntaxError.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/diagnosticTests/firSyntaxError.kt:1:10: error: syntax error: Expecting '}'.
+fun a() {
+ ^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation.args b/compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation.args
rename to compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation.kt b/compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation.kt
rename to compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation.out b/compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation.out
rename to compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation/lib/LocatableRunConfigurationOptions$isNameGenerated$2.class b/compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation/lib/LocatableRunConfigurationOptions$isNameGenerated$2.class
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation/lib/LocatableRunConfigurationOptions$isNameGenerated$2.class
rename to compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation/lib/LocatableRunConfigurationOptions$isNameGenerated$2.class
Binary files differ
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation/lib/LocatableRunConfigurationOptions.class b/compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation/lib/LocatableRunConfigurationOptions.class
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation/lib/LocatableRunConfigurationOptions.class
rename to compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation/lib/LocatableRunConfigurationOptions.class
Binary files differ
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation/lib/Property.class b/compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation/lib/Property.class
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation/lib/Property.class
rename to compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation/lib/Property.class
Binary files differ
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackage.kt b/compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackage.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackage.kt
rename to compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackage.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK1.args b/compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK1.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK1.args
rename to compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK1.args
diff --git a/compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK1.out b/compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK1.out
new file mode 100644
index 0000000..093a8c9
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK1.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackage.kt:4:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
+package kotlin.internal
+^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK2.args b/compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK2.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK2.args
rename to compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK2.args
diff --git a/compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK2.out b/compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK2.out
new file mode 100644
index 0000000..093a8c9
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK2.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackage.kt:4:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
+package kotlin.internal
+^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJava/foo/bar/J.java b/compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJava/foo/bar/J.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJava/foo/bar/J.java
rename to compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJava/foo/bar/J.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJava/test.kt b/compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJava/test.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJava/test.kt
rename to compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJava/test.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaIndividual.args b/compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaIndividual.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaIndividual.args
rename to compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaIndividual.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaIndividual.out b/compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaIndividual.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaIndividual.out
rename to compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaIndividual.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaWholeRoot.args b/compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaWholeRoot.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaWholeRoot.args
rename to compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaWholeRoot.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaWholeRoot.out b/compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaWholeRoot.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaWholeRoot.out
rename to compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaWholeRoot.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.args b/compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.args
rename to compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt b/compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.kt
rename to compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.out b/compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.out
new file mode 100644
index 0000000..34f03c6
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.out
@@ -0,0 +1,28 @@
+compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt:6:1: error: 'lateinit' modifier is not allowed on delegated properties.
+lateinit var kest by Delegate
+^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt:9:5: error: 'lateinit' modifier is allowed only on mutable properties.
+ lateinit val fest = "10"
+ ^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt:9:5: error: 'lateinit' modifier is not allowed on properties with initializer.
+ lateinit val fest = "10"
+ ^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt:11:5: error: 'lateinit' modifier is not allowed on properties of a type with nullable upper bound.
+ lateinit var xest: String?
+ ^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt:12:5: error: 'lateinit' modifier is not allowed on properties of primitive types.
+ lateinit var nest: Int
+ ^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt:13:5: error: 'lateinit' modifier is allowed only on mutable properties.
+ lateinit val dest: String
+ ^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt:13:5: error: 'lateinit' modifier is not allowed on properties with a custom getter or setter.
+ lateinit val dest: String
+ ^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt:18:5: error: 'lateinit' modifier is not allowed on properties of a type with nullable upper bound.
+ lateinit var best: T
+ ^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.kt:23:5: error: 'lateinit' modifier is not allowed on local variables with initializer.
+ lateinit var b: B<String> = B()
+ ^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/inlineClass.kt b/compiler/testData/cli/jvm/diagnosticTests/inlineClass.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/inlineClass.kt
rename to compiler/testData/cli/jvm/diagnosticTests/inlineClass.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.args b/compiler/testData/cli/jvm/diagnosticTests/inlineCycle.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.args
rename to compiler/testData/cli/jvm/diagnosticTests/inlineCycle.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.kt b/compiler/testData/cli/jvm/diagnosticTests/inlineCycle.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.kt
rename to compiler/testData/cli/jvm/diagnosticTests/inlineCycle.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/inlineCycle.out b/compiler/testData/cli/jvm/diagnosticTests/inlineCycle.out
new file mode 100644
index 0000000..1acaaae
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/inlineCycle.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/inlineCycle.kt:2:5: error: the 'b' invocation is a part of inline cycle
+ b(q)
+ ^^^^
+compiler/testData/cli/jvm/diagnosticTests/inlineCycle.kt:18:5: error: the 'a' invocation is a part of inline cycle
+ a(p)
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.args b/compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.args
rename to compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.kt b/compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.kt
rename to compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.out b/compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.out
new file mode 100644
index 0000000..f4ebca9
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.out
@@ -0,0 +1,19 @@
+compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.kt:2:26: error: cannot access '<this>' before the instance has been initialized.
+ constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
+ ^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.kt:2:51: error: cannot access '<this>' before the instance has been initialized.
+ constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
+ ^^^^
+compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.kt:2:74: error: cannot access '<this>' before the instance has been initialized.
+ constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
+ ^^^^^
+compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.kt:7:20: error: 'this' is not defined in this context.
+class B(other: B = this)
+ ^^^^
+compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.kt:10:32: error: argument type mismatch: actual type is 'kotlin.Function0<ERROR CLASS: Unknown return lambda parameter type>', but 'kotlin.Int' was expected.
+ constructor(x: Int) : this({
+ ^
+compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.kt:12:9: error: cannot access '<this>' before the instance has been initialized.
+ this
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass.args b/compiler/testData/cli/jvm/diagnosticTests/javaSealedClass.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass.args
rename to compiler/testData/cli/jvm/diagnosticTests/javaSealedClass.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass.out b/compiler/testData/cli/jvm/diagnosticTests/javaSealedClass.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass.out
rename to compiler/testData/cli/jvm/diagnosticTests/javaSealedClass.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass/SealedJava.java b/compiler/testData/cli/jvm/diagnosticTests/javaSealedClass/SealedJava.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass/SealedJava.java
rename to compiler/testData/cli/jvm/diagnosticTests/javaSealedClass/SealedJava.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass/SubSealedAJava.java b/compiler/testData/cli/jvm/diagnosticTests/javaSealedClass/SubSealedAJava.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass/SubSealedAJava.java
rename to compiler/testData/cli/jvm/diagnosticTests/javaSealedClass/SubSealedAJava.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass/SubSealedBJava.java b/compiler/testData/cli/jvm/diagnosticTests/javaSealedClass/SubSealedBJava.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass/SubSealedBJava.java
rename to compiler/testData/cli/jvm/diagnosticTests/javaSealedClass/SubSealedBJava.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass/javaSealedClass.kt b/compiler/testData/cli/jvm/diagnosticTests/javaSealedClass/javaSealedClass.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass/javaSealedClass.kt
rename to compiler/testData/cli/jvm/diagnosticTests/javaSealedClass/javaSealedClass.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.args b/compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.args
rename to compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.kt b/compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.kt
rename to compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.out b/compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.out
new file mode 100644
index 0000000..411af5f
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.kt:1:24: error: return type mismatch: expected 'A.Nested', actual 'foo.A.Nested!'.
+fun test(): A.Nested = A().nested()
+ ^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.kt:1:28: error: cannot access class 'foo.A.Nested'. Check your module classpath for missing or conflicting dependencies.
+fun test(): A.Nested = A().nested()
+ ^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage/A.java b/compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage/A.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage/A.java
rename to compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage/A.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javacKotlinJavaInterdependency.args b/compiler/testData/cli/jvm/diagnosticTests/javacKotlinJavaInterdependency.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javacKotlinJavaInterdependency.args
rename to compiler/testData/cli/jvm/diagnosticTests/javacKotlinJavaInterdependency.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javacKotlinJavaInterdependency.out b/compiler/testData/cli/jvm/diagnosticTests/javacKotlinJavaInterdependency.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javacKotlinJavaInterdependency.out
rename to compiler/testData/cli/jvm/diagnosticTests/javacKotlinJavaInterdependency.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javacKotlinJavaInterdependency/test/ClassWithTypeParameter.java b/compiler/testData/cli/jvm/diagnosticTests/javacKotlinJavaInterdependency/test/ClassWithTypeParameter.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javacKotlinJavaInterdependency/test/ClassWithTypeParameter.java
rename to compiler/testData/cli/jvm/diagnosticTests/javacKotlinJavaInterdependency/test/ClassWithTypeParameter.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/javacKotlinJavaInterdependency/test/ClassWithTypeParameter.kt b/compiler/testData/cli/jvm/diagnosticTests/javacKotlinJavaInterdependency/test/ClassWithTypeParameter.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/javacKotlinJavaInterdependency/test/ClassWithTypeParameter.kt
rename to compiler/testData/cli/jvm/diagnosticTests/javacKotlinJavaInterdependency/test/ClassWithTypeParameter.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kotlinPackage.args b/compiler/testData/cli/jvm/diagnosticTests/kotlinPackage.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kotlinPackage.args
rename to compiler/testData/cli/jvm/diagnosticTests/kotlinPackage.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kotlinPackage.kt b/compiler/testData/cli/jvm/diagnosticTests/kotlinPackage.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kotlinPackage.kt
rename to compiler/testData/cli/jvm/diagnosticTests/kotlinPackage.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kotlinPackage.out b/compiler/testData/cli/jvm/diagnosticTests/kotlinPackage.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kotlinPackage.out
rename to compiler/testData/cli/jvm/diagnosticTests/kotlinPackage.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.args b/compiler/testData/cli/jvm/diagnosticTests/kt19628_13.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.args
rename to compiler/testData/cli/jvm/diagnosticTests/kt19628_13.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.kt b/compiler/testData/cli/jvm/diagnosticTests/kt19628_13.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.kt
rename to compiler/testData/cli/jvm/diagnosticTests/kt19628_13.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/kt19628_13.out b/compiler/testData/cli/jvm/diagnosticTests/kt19628_13.out
new file mode 100644
index 0000000..f12c104
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/kt19628_13.out
@@ -0,0 +1,13 @@
+compiler/testData/cli/jvm/diagnosticTests/kt19628_13.kt:5:29: error: unresolved reference 'CollapsedStringAdapter'.
+ @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
+ ^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/kt19628_13.kt:5:29: error: annotation argument must be a compile-time constant.
+ @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/kt19628_13.kt:8:29: error: unresolved reference 'CollapsedStringAdapter'.
+ @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
+ ^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/kt19628_13.kt:8:29: error: annotation argument must be a compile-time constant.
+ @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kt22304.args b/compiler/testData/cli/jvm/diagnosticTests/kt22304.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kt22304.args
rename to compiler/testData/cli/jvm/diagnosticTests/kt22304.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kt22304.out b/compiler/testData/cli/jvm/diagnosticTests/kt22304.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kt22304.out
rename to compiler/testData/cli/jvm/diagnosticTests/kt22304.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kt22304_1.kt b/compiler/testData/cli/jvm/diagnosticTests/kt22304_1.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kt22304_1.kt
rename to compiler/testData/cli/jvm/diagnosticTests/kt22304_1.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kt22304_2.kt b/compiler/testData/cli/jvm/diagnosticTests/kt22304_2.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kt22304_2.kt
rename to compiler/testData/cli/jvm/diagnosticTests/kt22304_2.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/kt22304_3.kt b/compiler/testData/cli/jvm/diagnosticTests/kt22304_3.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/kt22304_3.kt
rename to compiler/testData/cli/jvm/diagnosticTests/kt22304_3.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.args b/compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.args
rename to compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt b/compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt
rename to compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.out b/compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.out
new file mode 100644
index 0000000..37918cb
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.out
@@ -0,0 +1,16 @@
+compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:5: error: modifier 'override' is incompatible with 'private'.
+ override protected private val c: Int
+ ^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:14: error: cannot weaken access privilege private for 'accessor' in 'A'.
+ override protected private val c: Int
+ ^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:14: error: abstract property in interface cannot be private.
+ override protected private val c: Int
+ ^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:14: error: modifier 'protected' is not applicable inside 'interface'.
+ override protected private val c: Int
+ ^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.kt:6:24: error: modifier 'private' is incompatible with 'override'.
+ override protected private val c: Int
+ ^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/newLineInPackage.args b/compiler/testData/cli/jvm/diagnosticTests/newLineInPackage.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/newLineInPackage.args
rename to compiler/testData/cli/jvm/diagnosticTests/newLineInPackage.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/newLineInPackage.kt b/compiler/testData/cli/jvm/diagnosticTests/newLineInPackage.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/newLineInPackage.kt
rename to compiler/testData/cli/jvm/diagnosticTests/newLineInPackage.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/newLineInPackage.out b/compiler/testData/cli/jvm/diagnosticTests/newLineInPackage.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/newLineInPackage.out
rename to compiler/testData/cli/jvm/diagnosticTests/newLineInPackage.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/recordAsSingleFileRoot.args b/compiler/testData/cli/jvm/diagnosticTests/recordAsSingleFileRoot.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/recordAsSingleFileRoot.args
rename to compiler/testData/cli/jvm/diagnosticTests/recordAsSingleFileRoot.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/recordAsSingleFileRoot.kt b/compiler/testData/cli/jvm/diagnosticTests/recordAsSingleFileRoot.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/recordAsSingleFileRoot.kt
rename to compiler/testData/cli/jvm/diagnosticTests/recordAsSingleFileRoot.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/recordAsSingleFileRoot.out b/compiler/testData/cli/jvm/diagnosticTests/recordAsSingleFileRoot.out
new file mode 100644
index 0000000..d2d4496
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/recordAsSingleFileRoot.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/diagnosticTests/recordAsSingleFileRoot.kt:5:14: error: unresolved reference 'Unresolved'.
+fun error(): Unresolved? = null
+ ^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.args b/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.args
rename to compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.kt b/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.kt
rename to compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.out b/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.out
new file mode 100644
index 0000000..b5cb3bc
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.kt:12:8: error: 'class Foo : Any' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$.
+import test.access.Foo
+ ^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.kt:15:5: error: 'constructor(): Foo' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$.
+ Foo()
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion/test/access/Foo.class b/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion/test/access/Foo.class
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion/test/access/Foo.class
rename to compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion/test/access/Foo.class
Binary files differ
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersionK2.args b/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersionK2.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersionK2.args
rename to compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersionK2.args
diff --git a/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersionK2.out b/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersionK2.out
new file mode 100644
index 0000000..b5cb3bc
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersionK2.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.kt:12:8: error: 'class Foo : Any' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$.
+import test.access.Foo
+ ^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.kt:15:5: error: 'constructor(): Foo' is only available since Kotlin 9.9.90 and cannot be used in Kotlin $VERSION$.
+ Foo()
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/resultInReturnType.kt b/compiler/testData/cli/jvm/diagnosticTests/resultInReturnType.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/resultInReturnType.kt
rename to compiler/testData/cli/jvm/diagnosticTests/resultInReturnType.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/resultInReturnTypeSupportedByDefault15.args b/compiler/testData/cli/jvm/diagnosticTests/resultInReturnTypeSupportedByDefault15.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/resultInReturnTypeSupportedByDefault15.args
rename to compiler/testData/cli/jvm/diagnosticTests/resultInReturnTypeSupportedByDefault15.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/resultInReturnTypeSupportedByDefault15.out b/compiler/testData/cli/jvm/diagnosticTests/resultInReturnTypeSupportedByDefault15.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/resultInReturnTypeSupportedByDefault15.out
rename to compiler/testData/cli/jvm/diagnosticTests/resultInReturnTypeSupportedByDefault15.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/returnAsWhenKey.args b/compiler/testData/cli/jvm/diagnosticTests/returnAsWhenKey.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/returnAsWhenKey.args
rename to compiler/testData/cli/jvm/diagnosticTests/returnAsWhenKey.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/returnAsWhenKey.kt b/compiler/testData/cli/jvm/diagnosticTests/returnAsWhenKey.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/returnAsWhenKey.kt
rename to compiler/testData/cli/jvm/diagnosticTests/returnAsWhenKey.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/returnAsWhenKey.out b/compiler/testData/cli/jvm/diagnosticTests/returnAsWhenKey.out
new file mode 100644
index 0000000..1faafd7
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/returnAsWhenKey.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/diagnosticTests/returnAsWhenKey.kt:4:5: error: 'when' expression must be exhaustive. Add the 'true', 'false' branches or an 'else' branch.
+ when (true) {
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.args b/compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.args
rename to compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.kt b/compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.kt
rename to compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.out b/compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.out
new file mode 100644
index 0000000..ec86158
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.kt:1:1: error: duplicate JVM class name 'Sanitized_name_clashKt' generated from: Sanitized_name_clashKt, Sanitized_name_clashKt
+class SanitizedNameClash
+^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.kt:3:1: error: duplicate JVM class name 'Sanitized_name_clashKt' generated from: Sanitized_name_clashKt, Sanitized_name_clashKt
+class Sanitized_name_clashKt
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/signatureClash.args b/compiler/testData/cli/jvm/diagnosticTests/signatureClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/signatureClash.args
rename to compiler/testData/cli/jvm/diagnosticTests/signatureClash.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt b/compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/signatureClash.kt
rename to compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/signatureClash.out b/compiler/testData/cli/jvm/diagnosticTests/signatureClash.out
new file mode 100644
index 0000000..a5b2d80
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/signatureClash.out
@@ -0,0 +1,41 @@
+compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt:6:5: error: accidental override: The following declarations have the same JVM signature (getX()I):
+ fun `<get-x>`(): Int defined in A
+ fun getX(): Int defined in A
+ fun getX() = 1
+ ^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt:8:5: error: platform declaration clash: The following declarations have the same JVM signature (getA()I):
+ fun `<get-a>`(): Int defined in A
+ fun getA(): Int defined in A
+ fun getA(): Int = 1
+ ^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt:9:5: error: platform declaration clash: The following declarations have the same JVM signature (getA()I):
+ fun `<get-a>`(): Int defined in A
+ fun getA(): Int defined in A
+ val a: Int = 1
+ ^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt:12:1: error: platform declaration clash: The following declarations have the same JVM signature (getB()I):
+ fun `<get-b>`(): Int defined in root package
+ fun getB(): Int defined in root package
+fun getB(): Int = 1
+^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt:13:1: error: platform declaration clash: The following declarations have the same JVM signature (getB()I):
+ fun `<get-b>`(): Int defined in root package
+ fun getB(): Int defined in root package
+val b: Int = 1
+^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt:20:5: error: accidental override: The following declarations have the same JVM signature (getTr()I):
+ fun `<get-tr>`(): Int defined in SubTr
+ fun getTr(): Int defined in SubTr
+ val tr = 1
+ ^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt:24:1: error: platform declaration clash: The following declarations have the same JVM signature (access$f(LC;)V):
+ fun `access$f`(`$this`: C): Unit defined in C
+ fun `access$f`(c: C): Unit defined in C
+class C {
+^
+compiler/testData/cli/jvm/diagnosticTests/signatureClash.kt:26:5: error: platform declaration clash: The following declarations have the same JVM signature (access$f(LC;)V):
+ fun `access$f`(`$this`: C): Unit defined in C
+ fun `access$f`(c: C): Unit defined in C
+ fun `access$f`(c: C) {}
+ ^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots.args b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots.args
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots.args
diff --git a/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots.out b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots.out
new file mode 100644
index 0000000..cebe9a6
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots.out
@@ -0,0 +1,13 @@
+compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/test.kt:7:9: error: cannot access class 'C'. Check your module classpath for missing or conflicting dependencies.
+ B().c()
+ ^
+compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/test.kt:8:5: error: unresolved reference 'C'.
+ C().a()
+ ^
+compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/test.kt:12:5: error: cannot access 'constructor(): PackageLocal1': it is package-private in 'lib/ext/PackageLocal1'.
+ PackageLocal1()
+ ^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/test.kt:13:5: error: cannot access 'constructor(): PackageLocal2': it is package-private in 'lib/ext/PackageLocal2'.
+ PackageLocal2()
+ ^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/DefaultPackage.java b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/DefaultPackage.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/DefaultPackage.java
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/DefaultPackage.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/A.java b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/A.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/A.java
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/A.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/B.java b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/B.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/B.java
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/B.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/C.java b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/C.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/C.java
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/C.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/classKinds/AnnotationClass.java b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/classKinds/AnnotationClass.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/classKinds/AnnotationClass.java
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/classKinds/AnnotationClass.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/classKinds/ClassClass.java b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/classKinds/ClassClass.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/classKinds/ClassClass.java
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/classKinds/ClassClass.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/classKinds/EnumClass.java b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/classKinds/EnumClass.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/classKinds/EnumClass.java
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/classKinds/EnumClass.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/classKinds/InterfaceClass.java b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/classKinds/InterfaceClass.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/classKinds/InterfaceClass.java
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/classKinds/InterfaceClass.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/ext/SeveralClasses.java b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/ext/SeveralClasses.java
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/lib/ext/SeveralClasses.java
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/lib/ext/SeveralClasses.java
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/test.kt b/compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/test.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots/test.kt
rename to compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots/test.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.args b/compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.args
rename to compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.kt b/compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.kt
rename to compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.out b/compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.out
new file mode 100644
index 0000000..b9e733d
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.kt:26:13: error: the 'suspensionPoint' suspension point is inside a critical section.
+ suspensionPoint()
+ ^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.kt:60:17: error: the 'suspensionPoint' suspension point is inside a critical section.
+ suspensionPoint()
+ ^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.args b/compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.args
rename to compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.kt b/compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.kt
rename to compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.out b/compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.out
new file mode 100644
index 0000000..1dfdbc5
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.out
@@ -0,0 +1,31 @@
+compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$foo(LDerived;)V):
+ fun `access$foo`(d: Derived): Unit defined in Derived
+ fun `access$foo`(`$this`: Derived): Unit defined in Derived
+class Derived : Base() {
+^
+compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$getBar$p(LDerived;)I):
+ fun `access$getBar$p`(d: Derived): Int defined in Derived
+ fun `access$getBar$p`(`$this`: Derived): Int defined in Derived
+class Derived : Base() {
+^
+compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$setBar$p(LDerived;I)V):
+ fun `access$setBar$p`(d: Derived, i: Int): Unit defined in Derived
+ fun `access$setBar$p`(`$this`: Derived, `<set-?>`: Int): Unit defined in Derived
+class Derived : Base() {
+^
+compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$getBaz$p(LDerived;)I):
+ fun `access$getBaz$p`(d: Derived): Int defined in Derived
+ fun `access$getBaz$p`(`$this`: Derived): Int defined in Derived
+class Derived : Base() {
+^
+compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$getBoo$p(LDerived;)I):
+ fun `access$getBoo$p`(d: Derived): Int defined in Derived
+ fun `access$getBoo$p`(`$this`: Derived): Int defined in Derived
+class Derived : Base() {
+^
+compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.kt:14:1: error: accidental override: The following declarations have the same JVM signature (access$setBar1$p(LDerived;I)V):
+ fun `access$setBar1$p`(d: Derived, i: Int): Unit defined in Derived
+ fun `access$setBar1$p`(`$this`: Derived, `<set-?>`: Int): Unit defined in Derived
+class Derived : Base() {
+^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/warningsInDummy.args b/compiler/testData/cli/jvm/diagnosticTests/warningsInDummy.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/warningsInDummy.args
rename to compiler/testData/cli/jvm/diagnosticTests/warningsInDummy.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/warningsInDummy.kt b/compiler/testData/cli/jvm/diagnosticTests/warningsInDummy.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/warningsInDummy.kt
rename to compiler/testData/cli/jvm/diagnosticTests/warningsInDummy.kt
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/warningsInDummy.out b/compiler/testData/cli/jvm/diagnosticTests/warningsInDummy.out
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/warningsInDummy.out
rename to compiler/testData/cli/jvm/diagnosticTests/warningsInDummy.out
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.args b/compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.args
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.args
rename to compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.args
diff --git a/compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.kt b/compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.kt
rename to compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.kt
diff --git a/compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.out b/compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.out
new file mode 100644
index 0000000..9245349
--- /dev/null
+++ b/compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.out
@@ -0,0 +1,10 @@
+compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.kt:4:32: error: too many arguments for 'constructor(): Anno'.
+class UnresolvedArgument(@Anno(BLA) val s: Int)
+ ^^^
+compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.kt:4:32: error: unresolved reference 'BLA'.
+class UnresolvedArgument(@Anno(BLA) val s: Int)
+ ^^^
+compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.kt:6:24: error: no value passed for parameter 'message'.
+class WithoutArguments(@Deprecated val s: Int)
+ ^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_expression/expression1.args b/compiler/testData/cli/jvm/expression/expression1.args
similarity index 100%
rename from compiler/testData/cli/jvm/_expression/expression1.args
rename to compiler/testData/cli/jvm/expression/expression1.args
diff --git a/compiler/testData/cli/jvm/_expression/expression1.out b/compiler/testData/cli/jvm/expression/expression1.out
similarity index 100%
rename from compiler/testData/cli/jvm/_expression/expression1.out
rename to compiler/testData/cli/jvm/expression/expression1.out
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOption.kt b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOption.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOption.kt
rename to compiler/testData/cli/jvm/extraArgCommonChecks/advancedOption.kt
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionEmpty.args b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionEmpty.args
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionEmpty.args
rename to compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionEmpty.args
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionEmpty.out b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionEmpty.out
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionEmpty.out
rename to compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionEmpty.out
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionMultiple.args b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionMultiple.args
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionMultiple.args
rename to compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionMultiple.args
diff --git a/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionMultiple.out b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionMultiple.out
new file mode 100644
index 0000000..b613a57
--- /dev/null
+++ b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionMultiple.out
@@ -0,0 +1,8 @@
+warning: argument -Xexplicit-api is passed multiple times. Only the last value will be used: strict
+compiler/testData/cli/jvm/extraArgCommonChecks/advancedOption.kt:1:1: error: visibility must be specified in explicit API mode.
+fun foo() = "hello"
+^^^^^^^
+compiler/testData/cli/jvm/extraArgCommonChecks/advancedOption.kt:1:5: error: return type must be specified in explicit API mode.
+fun foo() = "hello"
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionNoValue.args b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionNoValue.args
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionNoValue.args
rename to compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionNoValue.args
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionNoValue.out b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionNoValue.out
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionNoValue.out
rename to compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionNoValue.out
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionObsoleteForm.args b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionObsoleteForm.args
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionObsoleteForm.args
rename to compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionObsoleteForm.args
diff --git a/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionObsoleteForm.out b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionObsoleteForm.out
new file mode 100644
index 0000000..e4fc124
--- /dev/null
+++ b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionObsoleteForm.out
@@ -0,0 +1,8 @@
+warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xexplicit-api=...
+compiler/testData/cli/jvm/extraArgCommonChecks/advancedOption.kt:1:1: warning: visibility must be specified in explicit API mode.
+fun foo() = "hello"
+^^^^^^^
+compiler/testData/cli/jvm/extraArgCommonChecks/advancedOption.kt:1:5: warning: return type must be specified in explicit API mode.
+fun foo() = "hello"
+ ^^^
+OK
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionUnrecognized.args b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionUnrecognized.args
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionUnrecognized.args
rename to compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionUnrecognized.args
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionUnrecognized.out b/compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionUnrecognized.out
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionUnrecognized.out
rename to compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionUnrecognized.out
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsFalse.args b/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsFalse.args
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsFalse.args
rename to compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsFalse.args
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsFalse.kt b/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsFalse.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsFalse.kt
rename to compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsFalse.kt
diff --git a/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsFalse.out b/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsFalse.out
new file mode 100644
index 0000000..65b5921
--- /dev/null
+++ b/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsFalse.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsFalse.kt:1:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
+package kotlin
+^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.args b/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.args
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.args
rename to compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.args
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.out b/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.out
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.out
rename to compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.out
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsTrue.args b/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsTrue.args
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsTrue.args
rename to compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsTrue.args
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsTrue.kt b/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsTrue.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsTrue.kt
rename to compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsTrue.kt
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsTrue.out b/compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsTrue.out
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsTrue.out
rename to compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsTrue.out
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/unknownExtraFlags.args b/compiler/testData/cli/jvm/extraArgCommonChecks/unknownExtraFlags.args
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/unknownExtraFlags.args
rename to compiler/testData/cli/jvm/extraArgCommonChecks/unknownExtraFlags.args
diff --git a/compiler/testData/cli/jvm/_extraArgCommonChecks/unknownExtraFlags.out b/compiler/testData/cli/jvm/extraArgCommonChecks/unknownExtraFlags.out
similarity index 100%
rename from compiler/testData/cli/jvm/_extraArgCommonChecks/unknownExtraFlags.out
rename to compiler/testData/cli/jvm/extraArgCommonChecks/unknownExtraFlags.out
diff --git a/compiler/testData/cli/jvm/hello.kts b/compiler/testData/cli/jvm/hello.kts
deleted file mode 100644
index 99e79b45..0000000
--- a/compiler/testData/cli/jvm/hello.kts
+++ /dev/null
@@ -1 +0,0 @@
-println("hello")
diff --git a/compiler/testData/cli/jvm/hmpp/kmpMissingActual.out b/compiler/testData/cli/jvm/hmpp/kmpMissingActual.out
deleted file mode 100644
index 7f2be57..0000000
--- a/compiler/testData/cli/jvm/hmpp/kmpMissingActual.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/kmpMissingActual.common.kt:3:1: error: expected Foo has no actual declaration in module <main> for JVM
-expect interface Foo : Base1
-^^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/hmpp/lowLanguageVersion.out b/compiler/testData/cli/jvm/hmpp/lowLanguageVersion.out
deleted file mode 100644
index 94fd99c..0000000
--- a/compiler/testData/cli/jvm/hmpp/lowLanguageVersion.out
+++ /dev/null
@@ -1,23 +0,0 @@
-warning: ATTENTION!
-This build uses unsafe internal compiler arguments:
-
--XXLanguage:+MultiPlatformProjects
-
-This mode is not recommended for production use,
-as no stability/compatibility guarantees are given on
-compiler or generated code. Use it at your own risk!
-
-warning: -Xfragments flag is not supported for language version < 2.0
-compiler/testData/cli/jvm/hmpp/src/a.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-expect class A {
-^^^^^^
-compiler/testData/cli/jvm/hmpp/src/a.kt:5:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-expect class B {
-^^^^^^
-compiler/testData/cli/jvm/hmpp/src/b.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-actual class A {
-^^^^^^
-compiler/testData/cli/jvm/hmpp/src/c.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-actual class B {
-^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/hmpp/successfulCompilation.out b/compiler/testData/cli/jvm/hmpp/successfulCompilation.out
deleted file mode 100644
index 1d9c3bc..0000000
--- a/compiler/testData/cli/jvm/hmpp/successfulCompilation.out
+++ /dev/null
@@ -1,22 +0,0 @@
-warning: ATTENTION!
-This build uses unsafe internal compiler arguments:
-
--XXLanguage:+MultiPlatformProjects
-
-This mode is not recommended for production use,
-as no stability/compatibility guarantees are given on
-compiler or generated code. Use it at your own risk!
-
-compiler/testData/cli/jvm/hmpp/src/a.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-expect class A {
-^^^^^^
-compiler/testData/cli/jvm/hmpp/src/a.kt:5:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-expect class B {
-^^^^^^
-compiler/testData/cli/jvm/hmpp/src/b.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-actual class A {
-^^^^^^
-compiler/testData/cli/jvm/hmpp/src/c.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-actual class B {
-^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/hmpp/successfulCompilation2.out b/compiler/testData/cli/jvm/hmpp/successfulCompilation2.out
deleted file mode 100644
index 1d9c3bc..0000000
--- a/compiler/testData/cli/jvm/hmpp/successfulCompilation2.out
+++ /dev/null
@@ -1,22 +0,0 @@
-warning: ATTENTION!
-This build uses unsafe internal compiler arguments:
-
--XXLanguage:+MultiPlatformProjects
-
-This mode is not recommended for production use,
-as no stability/compatibility guarantees are given on
-compiler or generated code. Use it at your own risk!
-
-compiler/testData/cli/jvm/hmpp/src/a.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-expect class A {
-^^^^^^
-compiler/testData/cli/jvm/hmpp/src/a.kt:5:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-expect class B {
-^^^^^^
-compiler/testData/cli/jvm/hmpp/src/b.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-actual class A {
-^^^^^^
-compiler/testData/cli/jvm/hmpp/src/c.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
-actual class B {
-^^^^^^
-OK
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.args b/compiler/testData/cli/jvm/internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.args
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.args
rename to compiler/testData/cli/jvm/internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.args
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.kt b/compiler/testData/cli/jvm/internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.kt
rename to compiler/testData/cli/jvm/internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.kt
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.out b/compiler/testData/cli/jvm/internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.out
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.out
rename to compiler/testData/cli/jvm/internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.out
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.args b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.args
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.args
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.args
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.kt b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.kt
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.kt
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.out b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.out
similarity index 69%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.out
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.out
index edff9ca..f07bda4 100644
--- a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.out
+++ b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.out
@@ -7,7 +7,7 @@
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
-compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.kt:2:34: error: the feature "generic inline class parameter" is disabled
+compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.kt:2:34: error: the feature "generic inline class parameter" is disabled
value class Holder<T>(val value: T)
^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEmptyFeatureName.args b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEmptyFeatureName.args
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEmptyFeatureName.args
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEmptyFeatureName.args
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEmptyFeatureName.out b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEmptyFeatureName.out
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEmptyFeatureName.out
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEmptyFeatureName.out
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEnableLanguageFeature.args b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEnableLanguageFeature.args
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEnableLanguageFeature.args
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEnableLanguageFeature.args
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEnableLanguageFeature.kt b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEnableLanguageFeature.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEnableLanguageFeature.kt
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEnableLanguageFeature.kt
diff --git a/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEnableLanguageFeature.out b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEnableLanguageFeature.out
new file mode 100644
index 0000000..e21cb12
--- /dev/null
+++ b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEnableLanguageFeature.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEnableLanguageFeature.kt:9:1: error: class 'Impl' overrides 'var' property 'var a: String' defined in '/Interface' with inherited 'val' property 'val a: String' defined in '/Open'.
+class Impl : Open(), Interface
+^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgMissingModificator.args b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgMissingModificator.args
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgMissingModificator.args
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgMissingModificator.args
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgMissingModificator.out b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgMissingModificator.out
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgMissingModificator.out
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgMissingModificator.out
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.args b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.args
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.args
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.args
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.out b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.out
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.out
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.out
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideLanguageFeature.args b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideLanguageFeature.args
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideLanguageFeature.args
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideLanguageFeature.args
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideLanguageFeature.out b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideLanguageFeature.out
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideLanguageFeature.out
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideLanguageFeature.out
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideOffLanguageFeature.args b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideOffLanguageFeature.args
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideOffLanguageFeature.args
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideOffLanguageFeature.args
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.out b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideOffLanguageFeature.out
similarity index 69%
copy from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.out
copy to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideOffLanguageFeature.out
index edff9ca..f07bda4 100644
--- a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.out
+++ b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideOffLanguageFeature.out
@@ -7,7 +7,7 @@
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
-compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.kt:2:34: error: the feature "generic inline class parameter" is disabled
+compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.kt:2:34: error: the feature "generic inline class parameter" is disabled
value class Holder<T>(val value: T)
^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgUnrecognizedFeature.args b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgUnrecognizedFeature.args
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgUnrecognizedFeature.args
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgUnrecognizedFeature.args
diff --git a/compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgUnrecognizedFeature.out b/compiler/testData/cli/jvm/internalArgCommonChecks/internalArgUnrecognizedFeature.out
similarity index 100%
rename from compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgUnrecognizedFeature.out
rename to compiler/testData/cli/jvm/internalArgCommonChecks/internalArgUnrecognizedFeature.out
diff --git a/compiler/testData/cli/jvm/_jdkHome/emptyJdkHome.args b/compiler/testData/cli/jvm/jdkHome/emptyJdkHome.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/emptyJdkHome.args
rename to compiler/testData/cli/jvm/jdkHome/emptyJdkHome.args
diff --git a/compiler/testData/cli/jvm/_jdkHome/emptyJdkHome.out b/compiler/testData/cli/jvm/jdkHome/emptyJdkHome.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/emptyJdkHome.out
rename to compiler/testData/cli/jvm/jdkHome/emptyJdkHome.out
diff --git a/compiler/testData/cli/jvm/_jdkHome/invalidJdkHome.args b/compiler/testData/cli/jvm/jdkHome/invalidJdkHome.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/invalidJdkHome.args
rename to compiler/testData/cli/jvm/jdkHome/invalidJdkHome.args
diff --git a/compiler/testData/cli/jvm/_jdkHome/invalidJdkHome.out b/compiler/testData/cli/jvm/jdkHome/invalidJdkHome.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/invalidJdkHome.out
rename to compiler/testData/cli/jvm/jdkHome/invalidJdkHome.out
diff --git a/compiler/testData/cli/jvm/_jdkHome/invalidMultipleArgJdkHome.args b/compiler/testData/cli/jvm/jdkHome/invalidMultipleArgJdkHome.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/invalidMultipleArgJdkHome.args
rename to compiler/testData/cli/jvm/jdkHome/invalidMultipleArgJdkHome.args
diff --git a/compiler/testData/cli/jvm/_jdkHome/invalidMultipleArgJdkHome.out b/compiler/testData/cli/jvm/jdkHome/invalidMultipleArgJdkHome.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/invalidMultipleArgJdkHome.out
rename to compiler/testData/cli/jvm/jdkHome/invalidMultipleArgJdkHome.out
diff --git a/compiler/testData/cli/jvm/_jdkHome/jdkHome.args b/compiler/testData/cli/jvm/jdkHome/jdkHome.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/jdkHome.args
rename to compiler/testData/cli/jvm/jdkHome/jdkHome.args
diff --git a/compiler/testData/cli/jvm/_jdkHome/jdkHome.out b/compiler/testData/cli/jvm/jdkHome/jdkHome.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/jdkHome.out
rename to compiler/testData/cli/jvm/jdkHome/jdkHome.out
diff --git a/compiler/testData/cli/jvm/_jdkHome/multipleJdkHome.args b/compiler/testData/cli/jvm/jdkHome/multipleJdkHome.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/multipleJdkHome.args
rename to compiler/testData/cli/jvm/jdkHome/multipleJdkHome.args
diff --git a/compiler/testData/cli/jvm/_jdkHome/multipleJdkHome.out b/compiler/testData/cli/jvm/jdkHome/multipleJdkHome.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/multipleJdkHome.out
rename to compiler/testData/cli/jvm/jdkHome/multipleJdkHome.out
diff --git a/compiler/testData/cli/jvm/_jdkHome/src/jdkHome.kt b/compiler/testData/cli/jvm/jdkHome/src/jdkHome.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/src/jdkHome.kt
rename to compiler/testData/cli/jvm/jdkHome/src/jdkHome.kt
diff --git a/compiler/testData/cli/jvm/_jdkHome/warningJdkHomeWithNoJdk.args b/compiler/testData/cli/jvm/jdkHome/warningJdkHomeWithNoJdk.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/warningJdkHomeWithNoJdk.args
rename to compiler/testData/cli/jvm/jdkHome/warningJdkHomeWithNoJdk.args
diff --git a/compiler/testData/cli/jvm/_jdkHome/warningJdkHomeWithNoJdk.out b/compiler/testData/cli/jvm/jdkHome/warningJdkHomeWithNoJdk.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/warningJdkHomeWithNoJdk.out
rename to compiler/testData/cli/jvm/jdkHome/warningJdkHomeWithNoJdk.out
diff --git a/compiler/testData/cli/jvm/_jdkHome/wrongJdkHome.args b/compiler/testData/cli/jvm/jdkHome/wrongJdkHome.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/wrongJdkHome.args
rename to compiler/testData/cli/jvm/jdkHome/wrongJdkHome.args
diff --git a/compiler/testData/cli/jvm/_jdkHome/wrongJdkHome.out b/compiler/testData/cli/jvm/jdkHome/wrongJdkHome.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jdkHome/wrongJdkHome.out
rename to compiler/testData/cli/jvm/jdkHome/wrongJdkHome.out
diff --git a/compiler/testData/cli/jvm/_jvmTarget/jvm6Target.args b/compiler/testData/cli/jvm/jvmTarget/jvm6Target.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jvmTarget/jvm6Target.args
rename to compiler/testData/cli/jvm/jvmTarget/jvm6Target.args
diff --git a/compiler/testData/cli/jvm/_jvmTarget/jvm6Target.out b/compiler/testData/cli/jvm/jvmTarget/jvm6Target.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jvmTarget/jvm6Target.out
rename to compiler/testData/cli/jvm/jvmTarget/jvm6Target.out
diff --git a/compiler/testData/cli/jvm/_jvmTarget/jvm8Target.args b/compiler/testData/cli/jvm/jvmTarget/jvm8Target.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jvmTarget/jvm8Target.args
rename to compiler/testData/cli/jvm/jvmTarget/jvm8Target.args
diff --git a/compiler/testData/cli/jvm/_jvmTarget/jvm8Target.kt b/compiler/testData/cli/jvm/jvmTarget/jvm8Target.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_jvmTarget/jvm8Target.kt
rename to compiler/testData/cli/jvm/jvmTarget/jvm8Target.kt
diff --git a/compiler/testData/cli/jvm/_jvmTarget/jvm8Target.out b/compiler/testData/cli/jvm/jvmTarget/jvm8Target.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jvmTarget/jvm8Target.out
rename to compiler/testData/cli/jvm/jvmTarget/jvm8Target.out
diff --git a/compiler/testData/cli/jvm/_jvmTarget/wrongJvmTargetVersion.args b/compiler/testData/cli/jvm/jvmTarget/wrongJvmTargetVersion.args
similarity index 100%
rename from compiler/testData/cli/jvm/_jvmTarget/wrongJvmTargetVersion.args
rename to compiler/testData/cli/jvm/jvmTarget/wrongJvmTargetVersion.args
diff --git a/compiler/testData/cli/jvm/_jvmTarget/wrongJvmTargetVersion.out b/compiler/testData/cli/jvm/jvmTarget/wrongJvmTargetVersion.out
similarity index 100%
rename from compiler/testData/cli/jvm/_jvmTarget/wrongJvmTargetVersion.out
rename to compiler/testData/cli/jvm/jvmTarget/wrongJvmTargetVersion.out
diff --git a/compiler/testData/cli/jvm/_kotlinHome/kotlinHomeWithoutStdlib.args b/compiler/testData/cli/jvm/kotlinHome/kotlinHomeWithoutStdlib.args
similarity index 100%
rename from compiler/testData/cli/jvm/_kotlinHome/kotlinHomeWithoutStdlib.args
rename to compiler/testData/cli/jvm/kotlinHome/kotlinHomeWithoutStdlib.args
diff --git a/compiler/testData/cli/jvm/_kotlinHome/kotlinHomeWithoutStdlib.out b/compiler/testData/cli/jvm/kotlinHome/kotlinHomeWithoutStdlib.out
similarity index 86%
rename from compiler/testData/cli/jvm/_kotlinHome/kotlinHomeWithoutStdlib.out
rename to compiler/testData/cli/jvm/kotlinHome/kotlinHomeWithoutStdlib.out
index a84b6f4..76d5f45 100644
--- a/compiler/testData/cli/jvm/_kotlinHome/kotlinHomeWithoutStdlib.out
+++ b/compiler/testData/cli/jvm/kotlinHome/kotlinHomeWithoutStdlib.out
@@ -1,7 +1,7 @@
warning: unable to find kotlin-stdlib.jar in the Kotlin home directory. Pass either '-no-stdlib' to prevent adding it to the classpath, or the correct '-kotlin-home'
warning: unable to find kotlin-script-runtime.jar in the Kotlin home directory. Pass either '-no-stdlib' to prevent adding it to the classpath, or the correct '-kotlin-home'
warning: unable to find kotlin-reflect.jar in the Kotlin home directory. Pass either '-no-reflect' or '-no-stdlib' to prevent adding it to the classpath, or the correct '-kotlin-home'
-compiler/testData/cli/jvm/_kotlinHome/simple.kt:1:14: error: unresolved reference 'println'.
+compiler/testData/cli/jvm/kotlinHome/simple.kt:1:14: error: unresolved reference 'println'.
fun main() = println("hello world")
^^^^^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_kotlinHome/simple.kt b/compiler/testData/cli/jvm/kotlinHome/simple.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_kotlinHome/simple.kt
rename to compiler/testData/cli/jvm/kotlinHome/simple.kt
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersion.args b/compiler/testData/cli/jvm/languageVersion/languageVersion.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersion.args
rename to compiler/testData/cli/jvm/languageVersion/languageVersion.args
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersion.out b/compiler/testData/cli/jvm/languageVersion/languageVersion.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersion.out
rename to compiler/testData/cli/jvm/languageVersion/languageVersion.out
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionDeprecated.args b/compiler/testData/cli/jvm/languageVersion/languageVersionDeprecated.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionDeprecated.args
rename to compiler/testData/cli/jvm/languageVersion/languageVersionDeprecated.args
diff --git a/compiler/testData/cli/jvm/languageVersion/languageVersionDeprecated.out b/compiler/testData/cli/jvm/languageVersion/languageVersionDeprecated.out
new file mode 100644
index 0000000..726929c
--- /dev/null
+++ b/compiler/testData/cli/jvm/languageVersion/languageVersionDeprecated.out
@@ -0,0 +1,5 @@
+warning: language version 1.7 is deprecated and its support will be removed in a future version of Kotlin
+compiler/testData/cli/jvm/languageVersion/src/languageVersion.kt:4:34: error: the feature "generic inline class parameter" is only available since language version 1.8
+value class Holder<T>(val value: T)
+ ^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionEmpty.args b/compiler/testData/cli/jvm/languageVersion/languageVersionEmpty.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionEmpty.args
rename to compiler/testData/cli/jvm/languageVersion/languageVersionEmpty.args
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionEmpty.out b/compiler/testData/cli/jvm/languageVersion/languageVersionEmpty.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionEmpty.out
rename to compiler/testData/cli/jvm/languageVersion/languageVersionEmpty.out
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionExperimental.args b/compiler/testData/cli/jvm/languageVersion/languageVersionExperimental.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionExperimental.args
rename to compiler/testData/cli/jvm/languageVersion/languageVersionExperimental.args
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionExperimental.out b/compiler/testData/cli/jvm/languageVersion/languageVersionExperimental.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionExperimental.out
rename to compiler/testData/cli/jvm/languageVersion/languageVersionExperimental.out
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionInvalid.args b/compiler/testData/cli/jvm/languageVersion/languageVersionInvalid.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionInvalid.args
rename to compiler/testData/cli/jvm/languageVersion/languageVersionInvalid.args
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionInvalid.out b/compiler/testData/cli/jvm/languageVersion/languageVersionInvalid.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionInvalid.out
rename to compiler/testData/cli/jvm/languageVersion/languageVersionInvalid.out
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionMupltiple.args b/compiler/testData/cli/jvm/languageVersion/languageVersionMupltiple.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionMupltiple.args
rename to compiler/testData/cli/jvm/languageVersion/languageVersionMupltiple.args
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionMupltiple.out b/compiler/testData/cli/jvm/languageVersion/languageVersionMupltiple.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionMupltiple.out
rename to compiler/testData/cli/jvm/languageVersion/languageVersionMupltiple.out
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionUnsupported.args b/compiler/testData/cli/jvm/languageVersion/languageVersionUnsupported.args
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionUnsupported.args
rename to compiler/testData/cli/jvm/languageVersion/languageVersionUnsupported.args
diff --git a/compiler/testData/cli/jvm/_languageVersion/languageVersionUnsupported.out b/compiler/testData/cli/jvm/languageVersion/languageVersionUnsupported.out
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/languageVersionUnsupported.out
rename to compiler/testData/cli/jvm/languageVersion/languageVersionUnsupported.out
diff --git a/compiler/testData/cli/jvm/_languageVersion/src/languageVersion.kt b/compiler/testData/cli/jvm/languageVersion/src/languageVersion.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/src/languageVersion.kt
rename to compiler/testData/cli/jvm/languageVersion/src/languageVersion.kt
diff --git a/compiler/testData/cli/jvm/_languageVersion/src/languageVersionUnsupported.kt b/compiler/testData/cli/jvm/languageVersion/src/languageVersionUnsupported.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_languageVersion/src/languageVersionUnsupported.kt
rename to compiler/testData/cli/jvm/languageVersion/src/languageVersionUnsupported.kt
diff --git a/compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.args b/compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.args
similarity index 100%
rename from compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.args
rename to compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.args
diff --git a/compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.kt b/compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.kt
rename to compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.kt
diff --git a/compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.out b/compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.out
new file mode 100644
index 0000000..d5e2863
--- /dev/null
+++ b/compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.kt:2:11: error: unresolved reference 'NullPointerException'.
+ throw NullPointerException()
+ ^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.kt:2:11: error: type mismatch: inferred type is 'ERROR CLASS: Unresolved name: NullPointerException', but 'kotlin.Throwable' was expected.
+ throw NullPointerException()
+ ^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_noJdk/noJdkAvoidFailure.args b/compiler/testData/cli/jvm/noJdk/noJdkAvoidFailure.args
similarity index 100%
rename from compiler/testData/cli/jvm/_noJdk/noJdkAvoidFailure.args
rename to compiler/testData/cli/jvm/noJdk/noJdkAvoidFailure.args
diff --git a/compiler/testData/cli/jvm/noJdk/noJdkAvoidFailure.out b/compiler/testData/cli/jvm/noJdk/noJdkAvoidFailure.out
new file mode 100644
index 0000000..fac2347
--- /dev/null
+++ b/compiler/testData/cli/jvm/noJdk/noJdkAvoidFailure.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/noJdk/usingStdlibJavaExtension.kt:5:23: error: cannot access class 'java.lang.Class'. Check your module classpath for missing or conflicting dependencies.
+ foo(String::class.java)
+ ^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_noJdk/usingStdlibJavaExtension.kt b/compiler/testData/cli/jvm/noJdk/usingStdlibJavaExtension.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_noJdk/usingStdlibJavaExtension.kt
rename to compiler/testData/cli/jvm/noJdk/usingStdlibJavaExtension.kt
diff --git a/compiler/testData/cli/jvm/_noReflect/noReflect.args b/compiler/testData/cli/jvm/noReflect/noReflect.args
similarity index 100%
rename from compiler/testData/cli/jvm/_noReflect/noReflect.args
rename to compiler/testData/cli/jvm/noReflect/noReflect.args
diff --git a/compiler/testData/cli/jvm/_noReflect/noReflect.kt b/compiler/testData/cli/jvm/noReflect/noReflect.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_noReflect/noReflect.kt
rename to compiler/testData/cli/jvm/noReflect/noReflect.kt
diff --git a/compiler/testData/cli/jvm/noReflect/noReflect.out b/compiler/testData/cli/jvm/noReflect/noReflect.out
new file mode 100644
index 0000000..10efb13
--- /dev/null
+++ b/compiler/testData/cli/jvm/noReflect/noReflect.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/noReflect/noReflect.kt:4:19: error: unresolved reference 'primaryConstructor'.
+ String::class.primaryConstructor
+ ^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_noStdlib/noStdlibK1.args b/compiler/testData/cli/jvm/noStdlib/noStdlibK1.args
similarity index 100%
rename from compiler/testData/cli/jvm/_noStdlib/noStdlibK1.args
rename to compiler/testData/cli/jvm/noStdlib/noStdlibK1.args
diff --git a/compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt b/compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_noStdlib/noStdlibK1.kt
rename to compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt
diff --git a/compiler/testData/cli/jvm/noStdlib/noStdlibK1.out b/compiler/testData/cli/jvm/noStdlib/noStdlibK1.out
new file mode 100644
index 0000000..d6d78e9
--- /dev/null
+++ b/compiler/testData/cli/jvm/noStdlib/noStdlibK1.out
@@ -0,0 +1,16 @@
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:4:5: error: cannot access built-in declaration 'kotlin.String'. Ensure that you have a dependency on the Kotlin standard library
+ String::class.primaryConstructor
+ ^^^^^^
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:4:19: error: unresolved reference: primaryConstructor
+ String::class.primaryConstructor
+ ^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:6:7: error: cannot access built-in declaration 'kotlin.Unit'. Ensure that you have a dependency on the Kotlin standard library
+ ::foo.name
+ ^^^
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:6:11: error: cannot access built-in declaration 'kotlin.reflect.KFunction0'. Ensure that you have a dependency on the Kotlin standard library
+ ::foo.name
+ ^^^^
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:7:5: error: unresolved reference: listOf
+ listOf(42)
+ ^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_noStdlib/noStdlibK2.args b/compiler/testData/cli/jvm/noStdlib/noStdlibK2.args
similarity index 100%
rename from compiler/testData/cli/jvm/_noStdlib/noStdlibK2.args
rename to compiler/testData/cli/jvm/noStdlib/noStdlibK2.args
diff --git a/compiler/testData/cli/jvm/_noStdlib/noStdlibK2.kt b/compiler/testData/cli/jvm/noStdlib/noStdlibK2.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_noStdlib/noStdlibK2.kt
rename to compiler/testData/cli/jvm/noStdlib/noStdlibK2.kt
diff --git a/compiler/testData/cli/jvm/noStdlib/noStdlibK2.out b/compiler/testData/cli/jvm/noStdlib/noStdlibK2.out
new file mode 100644
index 0000000..0db1d14
--- /dev/null
+++ b/compiler/testData/cli/jvm/noStdlib/noStdlibK2.out
@@ -0,0 +1,16 @@
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:4:5: error: cannot access built-in declaration 'kotlin.String'. Ensure that you have a dependency on the Kotlin standard library.
+ String::class.primaryConstructor
+ ^^^^^^
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:4:19: error: unresolved reference 'primaryConstructor'.
+ String::class.primaryConstructor
+ ^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:6:7: error: cannot access built-in declaration 'kotlin.Unit'. Ensure that you have a dependency on the Kotlin standard library.
+ ::foo.name
+ ^^^
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:6:11: error: cannot access built-in declaration 'kotlin.String'. Ensure that you have a dependency on the Kotlin standard library.
+ ::foo.name
+ ^^^^
+compiler/testData/cli/jvm/noStdlib/noStdlibK1.kt:7:5: error: unresolved reference 'listOf'.
+ listOf(42)
+ ^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecated.args b/compiler/testData/cli/jvm/optIn/experimentalDeprecated.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecated.args
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecated.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecated.kt b/compiler/testData/cli/jvm/optIn/experimentalDeprecated.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecated.kt
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecated.kt
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecated.out b/compiler/testData/cli/jvm/optIn/experimentalDeprecated.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecated.out
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecated.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecatedK1.args b/compiler/testData/cli/jvm/optIn/experimentalDeprecatedK1.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecatedK1.args
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecatedK1.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecatedK1.out b/compiler/testData/cli/jvm/optIn/experimentalDeprecatedK1.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecatedK1.out
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecatedK1.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarning.args b/compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarning.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarning.args
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarning.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarning.kt b/compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarning.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarning.kt
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarning.kt
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarning.out b/compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarning.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarning.out
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarning.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarningK1.args b/compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarningK1.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarningK1.args
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarningK1.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarningK1.out b/compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarningK1.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarningK1.out
rename to compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarningK1.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotation.args b/compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotation.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotation.args
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotation.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotation.kt b/compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotation.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotation.kt
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotation.kt
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotation.out b/compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotation.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotation.out
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotation.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotationK1.args b/compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotationK1.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotationK1.args
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotationK1.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotationK1.out b/compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotationK1.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotationK1.out
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotationK1.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotMarker.args b/compiler/testData/cli/jvm/optIn/experimentalIsNotMarker.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotMarker.args
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotMarker.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotMarker.kt b/compiler/testData/cli/jvm/optIn/experimentalIsNotMarker.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotMarker.kt
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotMarker.kt
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotMarker.out b/compiler/testData/cli/jvm/optIn/experimentalIsNotMarker.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotMarker.out
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotMarker.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotMarkerK1.args b/compiler/testData/cli/jvm/optIn/experimentalIsNotMarkerK1.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotMarkerK1.args
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotMarkerK1.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalIsNotMarkerK1.out b/compiler/testData/cli/jvm/optIn/experimentalIsNotMarkerK1.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalIsNotMarkerK1.out
rename to compiler/testData/cli/jvm/optIn/experimentalIsNotMarkerK1.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalNested.args b/compiler/testData/cli/jvm/optIn/experimentalNested.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalNested.args
rename to compiler/testData/cli/jvm/optIn/experimentalNested.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalNested.kt b/compiler/testData/cli/jvm/optIn/experimentalNested.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalNested.kt
rename to compiler/testData/cli/jvm/optIn/experimentalNested.kt
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalNested.out b/compiler/testData/cli/jvm/optIn/experimentalNested.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalNested.out
rename to compiler/testData/cli/jvm/optIn/experimentalNested.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalNestedK1.args b/compiler/testData/cli/jvm/optIn/experimentalNestedK1.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalNestedK1.args
rename to compiler/testData/cli/jvm/optIn/experimentalNestedK1.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalNestedK1.out b/compiler/testData/cli/jvm/optIn/experimentalNestedK1.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalNestedK1.out
rename to compiler/testData/cli/jvm/optIn/experimentalNestedK1.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalUnresolved.args b/compiler/testData/cli/jvm/optIn/experimentalUnresolved.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalUnresolved.args
rename to compiler/testData/cli/jvm/optIn/experimentalUnresolved.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalUnresolved.kt b/compiler/testData/cli/jvm/optIn/experimentalUnresolved.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalUnresolved.kt
rename to compiler/testData/cli/jvm/optIn/experimentalUnresolved.kt
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalUnresolved.out b/compiler/testData/cli/jvm/optIn/experimentalUnresolved.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalUnresolved.out
rename to compiler/testData/cli/jvm/optIn/experimentalUnresolved.out
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalUnresolvedK1.args b/compiler/testData/cli/jvm/optIn/experimentalUnresolvedK1.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalUnresolvedK1.args
rename to compiler/testData/cli/jvm/optIn/experimentalUnresolvedK1.args
diff --git a/compiler/testData/cli/jvm/_optIn/experimentalUnresolvedK1.out b/compiler/testData/cli/jvm/optIn/experimentalUnresolvedK1.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/experimentalUnresolvedK1.out
rename to compiler/testData/cli/jvm/optIn/experimentalUnresolvedK1.out
diff --git a/compiler/testData/cli/jvm/_optIn/optInEmptyMessage.args b/compiler/testData/cli/jvm/optIn/optInEmptyMessage.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/optInEmptyMessage.args
rename to compiler/testData/cli/jvm/optIn/optInEmptyMessage.args
diff --git a/compiler/testData/cli/jvm/_optIn/optInEmptyMessage.kt b/compiler/testData/cli/jvm/optIn/optInEmptyMessage.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/optInEmptyMessage.kt
rename to compiler/testData/cli/jvm/optIn/optInEmptyMessage.kt
diff --git a/compiler/testData/cli/jvm/optIn/optInEmptyMessage.out b/compiler/testData/cli/jvm/optIn/optInEmptyMessage.out
new file mode 100644
index 0000000..4635709
--- /dev/null
+++ b/compiler/testData/cli/jvm/optIn/optInEmptyMessage.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/optIn/optInEmptyMessage.kt:8:5: error: this declaration needs opt-in. Its usage must be marked with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
+ foo()
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/optInEmptyMessageFir.args b/compiler/testData/cli/jvm/optIn/optInEmptyMessageFir.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/optInEmptyMessageFir.args
rename to compiler/testData/cli/jvm/optIn/optInEmptyMessageFir.args
diff --git a/compiler/testData/cli/jvm/_optIn/optInEmptyMessageFir.kt b/compiler/testData/cli/jvm/optIn/optInEmptyMessageFir.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/optInEmptyMessageFir.kt
rename to compiler/testData/cli/jvm/optIn/optInEmptyMessageFir.kt
diff --git a/compiler/testData/cli/jvm/optIn/optInEmptyMessageFir.out b/compiler/testData/cli/jvm/optIn/optInEmptyMessageFir.out
new file mode 100644
index 0000000..e917cea
--- /dev/null
+++ b/compiler/testData/cli/jvm/optIn/optInEmptyMessageFir.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/optIn/optInEmptyMessageFir.kt:8:5: error: this declaration needs opt-in. Its usage must be marked with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
+ foo()
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/optInOverrideMessage.args b/compiler/testData/cli/jvm/optIn/optInOverrideMessage.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/optInOverrideMessage.args
rename to compiler/testData/cli/jvm/optIn/optInOverrideMessage.args
diff --git a/compiler/testData/cli/jvm/_optIn/optInOverrideMessage.kt b/compiler/testData/cli/jvm/optIn/optInOverrideMessage.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/optInOverrideMessage.kt
rename to compiler/testData/cli/jvm/optIn/optInOverrideMessage.kt
diff --git a/compiler/testData/cli/jvm/optIn/optInOverrideMessage.out b/compiler/testData/cli/jvm/optIn/optInOverrideMessage.out
new file mode 100644
index 0000000..d5d10c8
--- /dev/null
+++ b/compiler/testData/cli/jvm/optIn/optInOverrideMessage.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/optIn/optInOverrideMessage.kt:16:18: error: base declaration of supertype 'Base' needs opt-in. This API is experimental and can change at any time, please use with care. The declaration override must be annotated with '@Marker' or '@OptIn(Marker::class)'
+ override fun foo() {}
+ ^^^
+compiler/testData/cli/jvm/optIn/optInOverrideMessage.kt:18:18: error: base declaration of supertype 'Base' needs opt-in. The declaration override must be annotated with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
+ override fun bar() {}
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.args b/compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.args
rename to compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.args
diff --git a/compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.kt b/compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.kt
rename to compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.kt
diff --git a/compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.out b/compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.out
new file mode 100644
index 0000000..8624d30
--- /dev/null
+++ b/compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.out
@@ -0,0 +1,7 @@
+compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.kt:16:18: error: base declaration of supertype 'Base' needs opt-in. This API is experimental and can change at any time, please use with care. The declaration override must be annotated with '@Marker' or '@OptIn(Marker::class)'
+ override fun foo() {}
+ ^^^
+compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.kt:18:18: error: base declaration of supertype 'Base' needs opt-in. The declaration override must be annotated with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
+ override fun bar() {}
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.args b/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.args
rename to compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.args
diff --git a/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.kt b/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.kt
rename to compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.kt
diff --git a/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.out b/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.out
rename to compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.out
diff --git a/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args b/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args
rename to compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args
diff --git a/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.out b/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.out
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.out
rename to compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.out
diff --git a/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutMarker.args b/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutMarker.args
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutMarker.args
rename to compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutMarker.args
diff --git a/compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutMarker.kt b/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutMarker.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutMarker.kt
rename to compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutMarker.kt
diff --git a/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutMarker.out b/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutMarker.out
new file mode 100644
index 0000000..dc165c4
--- /dev/null
+++ b/compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutMarker.out
@@ -0,0 +1,5 @@
+warning: API version 1.6 is deprecated and its support will be removed in a future version of Kotlin
+compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutMarker.kt:2:15: error: this declaration needs opt-in. Its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)'
+ Regex("").matchAt("123", 0)
+ ^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/plugins/multiplePlugins.out b/compiler/testData/cli/jvm/plugins/multiplePlugins.out
deleted file mode 100644
index 88be26f..0000000
--- a/compiler/testData/cli/jvm/plugins/multiplePlugins.out
+++ /dev/null
@@ -1,4 +0,0 @@
-compiler/testData/cli/jvm/plugins/multiplePlugins.kt:11:17: error:
- inner class Inner(val s: String)
- ^^^^^
-COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_progressive/kt19628_progressive.args b/compiler/testData/cli/jvm/progressive/kt19628_progressive.args
similarity index 100%
rename from compiler/testData/cli/jvm/_progressive/kt19628_progressive.args
rename to compiler/testData/cli/jvm/progressive/kt19628_progressive.args
diff --git a/compiler/testData/cli/jvm/_progressive/kt19628_progressive.kt b/compiler/testData/cli/jvm/progressive/kt19628_progressive.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_progressive/kt19628_progressive.kt
rename to compiler/testData/cli/jvm/progressive/kt19628_progressive.kt
diff --git a/compiler/testData/cli/jvm/progressive/kt19628_progressive.out b/compiler/testData/cli/jvm/progressive/kt19628_progressive.out
new file mode 100644
index 0000000..8c4e088
--- /dev/null
+++ b/compiler/testData/cli/jvm/progressive/kt19628_progressive.out
@@ -0,0 +1,13 @@
+compiler/testData/cli/jvm/progressive/kt19628_progressive.kt:5:29: error: unresolved reference 'CollapsedStringAdapter'.
+ @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
+ ^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/progressive/kt19628_progressive.kt:5:29: error: annotation argument must be a compile-time constant.
+ @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/progressive/kt19628_progressive.kt:8:29: error: unresolved reference 'CollapsedStringAdapter'.
+ @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
+ ^^^^^^^^^^^^^^^^^^^^^^
+compiler/testData/cli/jvm/progressive/kt19628_progressive.kt:8:29: error: annotation argument must be a compile-time constant.
+ @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/progressive/progressiveModeOffForDeprecatedVersion.args b/compiler/testData/cli/jvm/progressive/progressiveModeOffForDeprecatedVersion.args
new file mode 100644
index 0000000..6e457c9
--- /dev/null
+++ b/compiler/testData/cli/jvm/progressive/progressiveModeOffForDeprecatedVersion.args
@@ -0,0 +1,4 @@
+$TESTDATA_DIR$/src
+$TEMP_DIR$
+-language-version
+1.7
diff --git a/compiler/testData/cli/jvm/progressive/progressiveModeOffForDeprecatedVersion.out b/compiler/testData/cli/jvm/progressive/progressiveModeOffForDeprecatedVersion.out
new file mode 100644
index 0000000..19739e0
--- /dev/null
+++ b/compiler/testData/cli/jvm/progressive/progressiveModeOffForDeprecatedVersion.out
@@ -0,0 +1,8 @@
+warning: language version 1.7 is deprecated and its support will be removed in a future version of Kotlin
+compiler/testData/cli/jvm/progressive/src/tailrecOnVirtualMember.kt:2:5: error: tailrec is not allowed on open members
+ tailrec open fun foo(x: Int) {}
+ ^^^^^^^
+compiler/testData/cli/jvm/progressive/src/typeParametersInAnonymousObjects.kt:2:19: error: type parameters are not allowed for objects
+ val x = object<T> { }
+ ^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_progressive/progressiveModeOnForDeprecatedVersion.args b/compiler/testData/cli/jvm/progressive/progressiveModeOnForDeprecatedVersion.args
similarity index 64%
rename from compiler/testData/cli/jvm/_progressive/progressiveModeOnForDeprecatedVersion.args
rename to compiler/testData/cli/jvm/progressive/progressiveModeOnForDeprecatedVersion.args
index 043fc22..ce438b8 100644
--- a/compiler/testData/cli/jvm/_progressive/progressiveModeOnForDeprecatedVersion.args
+++ b/compiler/testData/cli/jvm/progressive/progressiveModeOnForDeprecatedVersion.args
@@ -1,4 +1,4 @@
-$TESTDATA_DIR$/progressive
+$TESTDATA_DIR$/src
-d
$TEMP_DIR$
-language-version
diff --git a/compiler/testData/cli/jvm/_progressive/progressiveModeOnForDeprecatedVersion.out b/compiler/testData/cli/jvm/progressive/progressiveModeOnForDeprecatedVersion.out
similarity index 62%
rename from compiler/testData/cli/jvm/_progressive/progressiveModeOnForDeprecatedVersion.out
rename to compiler/testData/cli/jvm/progressive/progressiveModeOnForDeprecatedVersion.out
index 587c21f..73d51aa 100644
--- a/compiler/testData/cli/jvm/_progressive/progressiveModeOnForDeprecatedVersion.out
+++ b/compiler/testData/cli/jvm/progressive/progressiveModeOnForDeprecatedVersion.out
@@ -1,10 +1,10 @@
warning: language version 1.7 is deprecated and its support will be removed in a future version of Kotlin
warning: '-progressive' is meaningful only for the latest language version (2.1), while this build uses 1.7
Compiler behavior in such mode is undefined; please, consider moving to the latest stable version or turning off progressive mode.
-compiler/testData/cli/jvm/_progressive/progressive/tailrecOnVirtualMember.kt:2:5: error: tailrec is not allowed on open members
+compiler/testData/cli/jvm/progressive/src/tailrecOnVirtualMember.kt:2:5: error: tailrec is not allowed on open members
tailrec open fun foo(x: Int) {}
^^^^^^^
-compiler/testData/cli/jvm/_progressive/progressive/typeParametersInAnonymousObjects.kt:2:19: error: type parameters are not allowed for objects
+compiler/testData/cli/jvm/progressive/src/typeParametersInAnonymousObjects.kt:2:19: error: type parameters are not allowed for objects
val x = object<T> { }
^^^
COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_progressive/progressive/tailrecOnVirtualMember.kt b/compiler/testData/cli/jvm/progressive/src/tailrecOnVirtualMember.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_progressive/progressive/tailrecOnVirtualMember.kt
rename to compiler/testData/cli/jvm/progressive/src/tailrecOnVirtualMember.kt
diff --git a/compiler/testData/cli/jvm/_progressive/progressive/typeParametersInAnonymousObjects.kt b/compiler/testData/cli/jvm/progressive/src/typeParametersInAnonymousObjects.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_progressive/progressive/typeParametersInAnonymousObjects.kt
rename to compiler/testData/cli/jvm/progressive/src/typeParametersInAnonymousObjects.kt
diff --git a/compiler/testData/cli/jvm/_script/nonexistentScript.args b/compiler/testData/cli/jvm/script/nonexistentScript.args
similarity index 100%
rename from compiler/testData/cli/jvm/_script/nonexistentScript.args
rename to compiler/testData/cli/jvm/script/nonexistentScript.args
diff --git a/compiler/testData/cli/jvm/_script/nonexistentScript.out b/compiler/testData/cli/jvm/script/nonexistentScript.out
similarity index 100%
rename from compiler/testData/cli/jvm/_script/nonexistentScript.out
rename to compiler/testData/cli/jvm/script/nonexistentScript.out
diff --git a/compiler/testData/cli/jvm/_script/script/script.kts b/compiler/testData/cli/jvm/script/src/script.kts
similarity index 100%
rename from compiler/testData/cli/jvm/_script/script/script.kts
rename to compiler/testData/cli/jvm/script/src/script.kts
diff --git a/compiler/testData/cli/jvm/_plugin/simple.kt b/compiler/testData/cli/jvm/script/src/simple.kt
similarity index 100%
copy from compiler/testData/cli/jvm/_plugin/simple.kt
copy to compiler/testData/cli/jvm/script/src/simple.kt
diff --git a/compiler/testData/cli/jvm/script/wrongScriptWithDirectory.args b/compiler/testData/cli/jvm/script/wrongScriptWithDirectory.args
new file mode 100644
index 0000000..36cc199
--- /dev/null
+++ b/compiler/testData/cli/jvm/script/wrongScriptWithDirectory.args
@@ -0,0 +1,2 @@
+-script
+$TESTDATA_DIR$/src
diff --git a/compiler/testData/cli/jvm/script/wrongScriptWithDirectory.out b/compiler/testData/cli/jvm/script/wrongScriptWithDirectory.out
new file mode 100644
index 0000000..942dc95
--- /dev/null
+++ b/compiler/testData/cli/jvm/script/wrongScriptWithDirectory.out
@@ -0,0 +1,2 @@
+error: script argument points to a directory: $TESTDATA_DIR$/src; Specify path to the script file as the first argument
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/script/wrongScriptWithKtSource.args b/compiler/testData/cli/jvm/script/wrongScriptWithKtSource.args
new file mode 100644
index 0000000..0eee782
--- /dev/null
+++ b/compiler/testData/cli/jvm/script/wrongScriptWithKtSource.args
@@ -0,0 +1,2 @@
+-script
+$TESTDATA_DIR$/src/simple.kt
diff --git a/compiler/testData/cli/jvm/_script/wrongScriptWithKtSource.out b/compiler/testData/cli/jvm/script/wrongScriptWithKtSource.out
similarity index 100%
rename from compiler/testData/cli/jvm/_script/wrongScriptWithKtSource.out
rename to compiler/testData/cli/jvm/script/wrongScriptWithKtSource.out
diff --git a/compiler/testData/cli/jvm/_script/wrongScriptWithNoSource.args b/compiler/testData/cli/jvm/script/wrongScriptWithNoSource.args
similarity index 100%
rename from compiler/testData/cli/jvm/_script/wrongScriptWithNoSource.args
rename to compiler/testData/cli/jvm/script/wrongScriptWithNoSource.args
diff --git a/compiler/testData/cli/jvm/_script/wrongScriptWithNoSource.out b/compiler/testData/cli/jvm/script/wrongScriptWithNoSource.out
similarity index 100%
rename from compiler/testData/cli/jvm/_script/wrongScriptWithNoSource.out
rename to compiler/testData/cli/jvm/script/wrongScriptWithNoSource.out
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles.args b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles.args
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles.args
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles.out b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles.out
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles.out
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles.test b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles.test
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles.test
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles.test
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles/foo/A.java b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles/foo/A.java
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles/foo/A.java
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles/foo/A.java
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles/simpleWithJava.kt b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles/simpleWithJava.kt
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles/simpleWithJava.kt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles/simpleWithJava.kt
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndNonKotlinFiles.args b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndNonKotlinFiles.args
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndNonKotlinFiles.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndNonKotlinFiles.args
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndNonKotlinFiles.out b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndNonKotlinFiles.out
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndNonKotlinFiles.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndNonKotlinFiles.out
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndNonKotlinFiles/simple.kt b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndNonKotlinFiles/simple.kt
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndNonKotlinFiles/simple.kt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndNonKotlinFiles/simple.kt
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndNonKotlinFiles/someFile.txt b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndNonKotlinFiles/someFile.txt
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndNonKotlinFiles/someFile.txt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndNonKotlinFiles/someFile.txt
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFile.args b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFile.args
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFile.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFile.args
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFile.out b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFile.out
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFile.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFile.out
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFile.test b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFile.test
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFile.test
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFile.test
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFile/simple.kt b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFile/simple.kt
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFile/simple.kt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFile/simple.kt
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFileRecursive.args b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFileRecursive.args
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFileRecursive.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFileRecursive.args
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFileRecursive.out b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFileRecursive.out
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFileRecursive.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFileRecursive.out
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFileRecursive.test b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFileRecursive.test
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFileRecursive.test
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFileRecursive.test
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFileRecursive/innerDir/simpleInInnerDir.kt b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFileRecursive/innerDir/simpleInInnerDir.kt
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFileRecursive/innerDir/simpleInInnerDir.kt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFileRecursive/innerDir/simpleInInnerDir.kt
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScript.args b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScript.args
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScript.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScript.args
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScript.out b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScript.out
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScript.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScript.out
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScript/simple.kts b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScript/simple.kts
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScript/simple.kts
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScript/simple.kts
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScriptPsi.args b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScriptPsi.args
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScriptPsi.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScriptPsi.args
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScriptPsi.out b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScriptPsi.out
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScriptPsi.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScriptPsi.out
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithOnlyNonKotlinFile.args b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithOnlyNonKotlinFile.args
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithOnlyNonKotlinFile.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithOnlyNonKotlinFile.args
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithOnlyNonKotlinFile.out b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithOnlyNonKotlinFile.out
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithOnlyNonKotlinFile.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithOnlyNonKotlinFile.out
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithOnlyNonKotlinFile/someFile.txt b/compiler/testData/cli/jvm/sourcesCommonChecks/dirWithOnlyNonKotlinFile/someFile.txt
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithOnlyNonKotlinFile/someFile.txt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/dirWithOnlyNonKotlinFile/someFile.txt
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSources.args b/compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSources.args
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSources.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSources.args
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSources.out b/compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSources.out
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSources.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSources.out
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSources.test b/compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSources.test
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSources.test
rename to compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSources.test
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesInModule.args b/compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesInModule.args
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesInModule.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesInModule.args
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesInModule.kt b/compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesInModule.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesInModule.kt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesInModule.kt
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesInModule.out b/compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesInModule.out
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesInModule.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesInModule.out
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesInModule.xml b/compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesInModule.xml
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesInModule.xml
rename to compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesInModule.xml
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesNormalized.args b/compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesNormalized.args
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesNormalized.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesNormalized.args
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesNormalized.out b/compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesNormalized.out
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesNormalized.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesNormalized.out
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/emptySources.args b/compiler/testData/cli/jvm/sourcesCommonChecks/emptySources.args
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/emptySources.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/emptySources.args
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/emptySources.out b/compiler/testData/cli/jvm/sourcesCommonChecks/emptySources.out
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/emptySources.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/emptySources.out
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/emptySourcesWithModuleInfo.args b/compiler/testData/cli/jvm/sourcesCommonChecks/emptySourcesWithModuleInfo.args
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/emptySourcesWithModuleInfo.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/emptySourcesWithModuleInfo.args
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/emptySourcesWithModuleInfo.out b/compiler/testData/cli/jvm/sourcesCommonChecks/emptySourcesWithModuleInfo.out
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/emptySourcesWithModuleInfo.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/emptySourcesWithModuleInfo.out
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/emptySourcesWithModuleInfo/module-info.java b/compiler/testData/cli/jvm/sourcesCommonChecks/emptySourcesWithModuleInfo/module-info.java
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/emptySourcesWithModuleInfo/module-info.java
rename to compiler/testData/cli/jvm/sourcesCommonChecks/emptySourcesWithModuleInfo/module-info.java
diff --git a/compiler/testData/cli/jvm/firStdlibDependency.args b/compiler/testData/cli/jvm/sourcesCommonChecks/firStdlibDependency.args
similarity index 100%
rename from compiler/testData/cli/jvm/firStdlibDependency.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/firStdlibDependency.args
diff --git a/compiler/testData/cli/jvm/firStdlibDependency.kt b/compiler/testData/cli/jvm/sourcesCommonChecks/firStdlibDependency.kt
similarity index 100%
rename from compiler/testData/cli/jvm/firStdlibDependency.kt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/firStdlibDependency.kt
diff --git a/compiler/testData/cli/jvm/firStdlibDependency.out b/compiler/testData/cli/jvm/sourcesCommonChecks/firStdlibDependency.out
similarity index 100%
rename from compiler/testData/cli/jvm/firStdlibDependency.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/firStdlibDependency.out
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePath.args b/compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePath.args
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePath.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePath.args
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePath.out b/compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePath.out
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePath.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePath.out
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePathK2.args b/compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePathK2.args
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePathK2.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePathK2.args
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePathK2.out b/compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePathK2.out
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePathK2.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePathK2.out
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/nonKotlinFile.txt b/compiler/testData/cli/jvm/sourcesCommonChecks/nonKotlinFile.txt
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/nonKotlinFile.txt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/nonKotlinFile.txt
diff --git a/compiler/testData/cli/jvm/_sourcesCommonChecks/simple.kt b/compiler/testData/cli/jvm/sourcesCommonChecks/simple.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_sourcesCommonChecks/simple.kt
rename to compiler/testData/cli/jvm/sourcesCommonChecks/simple.kt
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/withNonKotlinFile.args b/compiler/testData/cli/jvm/sourcesCommonChecks/withNonKotlinFile.args
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/withNonKotlinFile.args
rename to compiler/testData/cli/jvm/sourcesCommonChecks/withNonKotlinFile.args
diff --git a/compiler/testData/cli/jvm/sourceFilesAndDirectories/withNonKotlinFile.out b/compiler/testData/cli/jvm/sourcesCommonChecks/withNonKotlinFile.out
similarity index 100%
rename from compiler/testData/cli/jvm/sourceFilesAndDirectories/withNonKotlinFile.out
rename to compiler/testData/cli/jvm/sourcesCommonChecks/withNonKotlinFile.out
diff --git a/compiler/testData/cli/jvm/_version/version.args b/compiler/testData/cli/jvm/version/version.args
similarity index 100%
rename from compiler/testData/cli/jvm/_version/version.args
rename to compiler/testData/cli/jvm/version/version.args
diff --git a/compiler/testData/cli/jvm/_version/version.out b/compiler/testData/cli/jvm/version/version.out
similarity index 100%
rename from compiler/testData/cli/jvm/_version/version.out
rename to compiler/testData/cli/jvm/version/version.out
diff --git a/compiler/testData/cli/jvm/_version/version.test b/compiler/testData/cli/jvm/version/version.test
similarity index 100%
rename from compiler/testData/cli/jvm/_version/version.test
rename to compiler/testData/cli/jvm/version/version.test
diff --git a/compiler/testData/cli/jvm/_werror/werror.args b/compiler/testData/cli/jvm/werror/werror.args
similarity index 100%
rename from compiler/testData/cli/jvm/_werror/werror.args
rename to compiler/testData/cli/jvm/werror/werror.args
diff --git a/compiler/testData/cli/jvm/_werror/werror.kt b/compiler/testData/cli/jvm/werror/werror.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_werror/werror.kt
rename to compiler/testData/cli/jvm/werror/werror.kt
diff --git a/compiler/testData/cli/jvm/werror/werror.out b/compiler/testData/cli/jvm/werror/werror.out
new file mode 100644
index 0000000..0b8633f
--- /dev/null
+++ b/compiler/testData/cli/jvm/werror/werror.out
@@ -0,0 +1,8 @@
+error: warnings found and -Werror specified
+compiler/testData/cli/jvm/werror/werror.kt:2:13: warning: division by zero.
+ println(a / 0)
+ ^^^^^
+compiler/testData/cli/jvm/werror/werror.kt:3:13: warning: division by zero.
+ println(b / 0)
+ ^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_werror/werrorWithExplicitError.args b/compiler/testData/cli/jvm/werror/werrorWithExplicitError.args
similarity index 100%
rename from compiler/testData/cli/jvm/_werror/werrorWithExplicitError.args
rename to compiler/testData/cli/jvm/werror/werrorWithExplicitError.args
diff --git a/compiler/testData/cli/jvm/_werror/werrorWithExplicitError.kt b/compiler/testData/cli/jvm/werror/werrorWithExplicitError.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_werror/werrorWithExplicitError.kt
rename to compiler/testData/cli/jvm/werror/werrorWithExplicitError.kt
diff --git a/compiler/testData/cli/jvm/werror/werrorWithExplicitError.out b/compiler/testData/cli/jvm/werror/werrorWithExplicitError.out
new file mode 100644
index 0000000..1f06784
--- /dev/null
+++ b/compiler/testData/cli/jvm/werror/werrorWithExplicitError.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/werror/werrorWithExplicitError.kt:4:6: error: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
+ t.length
+ ^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_werror/werrorWithNoWarn.args b/compiler/testData/cli/jvm/werror/werrorWithNoWarn.args
similarity index 100%
rename from compiler/testData/cli/jvm/_werror/werrorWithNoWarn.args
rename to compiler/testData/cli/jvm/werror/werrorWithNoWarn.args
diff --git a/compiler/testData/cli/jvm/werror/werrorWithNoWarn.out b/compiler/testData/cli/jvm/werror/werrorWithNoWarn.out
new file mode 100644
index 0000000..0b8633f
--- /dev/null
+++ b/compiler/testData/cli/jvm/werror/werrorWithNoWarn.out
@@ -0,0 +1,8 @@
+error: warnings found and -Werror specified
+compiler/testData/cli/jvm/werror/werror.kt:2:13: warning: division by zero.
+ println(a / 0)
+ ^^^^^
+compiler/testData/cli/jvm/werror/werror.kt:3:13: warning: division by zero.
+ println(b / 0)
+ ^^^^^
+COMPILATION_ERROR
diff --git a/compiler/testData/cli/jvm/_werror/werrorWithStrongWarning.args b/compiler/testData/cli/jvm/werror/werrorWithStrongWarning.args
similarity index 100%
rename from compiler/testData/cli/jvm/_werror/werrorWithStrongWarning.args
rename to compiler/testData/cli/jvm/werror/werrorWithStrongWarning.args
diff --git a/compiler/testData/cli/jvm/_werror/werrorWithStrongWarning.out b/compiler/testData/cli/jvm/werror/werrorWithStrongWarning.out
similarity index 100%
rename from compiler/testData/cli/jvm/_werror/werrorWithStrongWarning.out
rename to compiler/testData/cli/jvm/werror/werrorWithStrongWarning.out
diff --git a/compiler/testData/cli/jvm/_wextra/extraCheckers.args b/compiler/testData/cli/jvm/wextra/extraCheckers.args
similarity index 100%
rename from compiler/testData/cli/jvm/_wextra/extraCheckers.args
rename to compiler/testData/cli/jvm/wextra/extraCheckers.args
diff --git a/compiler/testData/cli/jvm/_wextra/extraCheckers.kt b/compiler/testData/cli/jvm/wextra/extraCheckers.kt
similarity index 100%
rename from compiler/testData/cli/jvm/_wextra/extraCheckers.kt
rename to compiler/testData/cli/jvm/wextra/extraCheckers.kt
diff --git a/compiler/testData/cli/jvm/wextra/extraCheckers.out b/compiler/testData/cli/jvm/wextra/extraCheckers.out
new file mode 100644
index 0000000..d3d81f6
--- /dev/null
+++ b/compiler/testData/cli/jvm/wextra/extraCheckers.out
@@ -0,0 +1,4 @@
+compiler/testData/cli/jvm/wextra/extraCheckers.kt:2:9: warning: variable is unused.
+ val a = a + 1
+ ^
+OK
diff --git a/compiler/tests-for-compiler-generator/tests/org/jetbrains/kotlin/test/generators/GenerateJUnit3CompilerTests.kt b/compiler/tests-for-compiler-generator/tests/org/jetbrains/kotlin/test/generators/GenerateJUnit3CompilerTests.kt
index 6214853..ff2e1a8 100644
--- a/compiler/tests-for-compiler-generator/tests/org/jetbrains/kotlin/test/generators/GenerateJUnit3CompilerTests.kt
+++ b/compiler/tests-for-compiler-generator/tests/org/jetbrains/kotlin/test/generators/GenerateJUnit3CompilerTests.kt
@@ -62,60 +62,69 @@
}
testClass<AbstractCliTest> {
+ model("cli/jvm/apiVersion", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/argfileCommonChecks", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/classPath", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/diagnosticTests", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/expression", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/extraArgCommonChecks", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/internalArgCommonChecks", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/jdkHome", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/jvmTarget", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/kotlinHome", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/languageVersion", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/noJdk", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/noReflect", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/noStdlib", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/optIn", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/progressive", extension = "args", testMethod = "doJvmTest", recursive = false)
model("cli/jvm/readingConfigFromEnvironment", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/plugins", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/hmpp", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_XbuildFile", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_Xlambdas", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_XmultiPlatform", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_XnullabilityAnnotations", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_XuseFastJarFileSystem", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_XuseFirLt", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_XuseK2", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_sourcesCommonChecks", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_argfileCommonChecks", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_diagnosticTests", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_explicitReturnTypes", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_kotlinHome", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_wextra", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_XenhanceTypeParameterTypesToDefNotNull", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_abiStability", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_backendThreads", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_compatqualCheckerFrameworkAnnotations", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_XjvmDefault", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_dontWarnOnErrorSuppression", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_explicitApi", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_internalArgCommonChecks", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_extraArgCommonChecks", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_jspecify", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_jsr305", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_jvmTarget", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_metadataVersion", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_noInline", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_noJdk", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_noReflect", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_noStdlib", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_optIn", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_plugin", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_progressive", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_renderInternalDiagnosticNames", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_reportAllWarnings", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_script", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_suppressVersionWarnings", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_suppressWarnings", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_useFirExperimentalCheckers", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_useOldBackend", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_verbosePhases", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_werror", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_languageFeatures", extension = "args", testMethod = "doJvmTest", recursive = true)
- model("cli/jvm/_apiVersion", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_languageVersion", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_jdkHome", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_jdkRelease", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_classPath", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_version", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/_expression", extension = "args", testMethod = "doJvmTest", recursive = false)
- model("cli/jvm/sourceFilesAndDirectories", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/script", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/sourcesCommonChecks", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/version", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/werror", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/wextra", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XabiStability", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XbackendThreads", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XbuildFile", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XcompilerPlugin", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XcontextParameters", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/Xcoroutines", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XdontWarnOnErrorSuppression", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XenableBuilderInference", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XenhanceTypeParameterTypesToDefNotNull", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XexplicitApi", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XfragmentSources", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XjdkRelease", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XjspecifyAnnotations", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/Xjsr305", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XjvmDefault", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/Xlambdas", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XmetadataVersion", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XmultiPlatform", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XnewInference", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XnoInline", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XnullabilityAnnotations", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/Xplugin", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XrenderInternalDiagnosticNames", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XreportAllWarnings", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XselfUpperBoundInference", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XsuppressVersionWarnings", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XsuppressWarnings", extension = "args", testMethod = "doJvmTest", recursive = true)
+ model("cli/jvm/XunrestrictedBuilderInference", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XuseFastJarFileSystem", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XuseFirExperimentalCheckers", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XuseFirLt", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XuseK2", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XuseOldBackend", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XverbosePhases", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XXexplicitReturnTypes", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XXlanguageEnumEntries", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XXlanguageJvmRecordSupport", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XXlanguageMultiPlatformProjects", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XXlanguageSamConversionForKotlinFunctions", extension = "args", testMethod = "doJvmTest", recursive = false)
+ model("cli/jvm/XXsoundSmartCastAfterTry", extension = "args", testMethod = "doJvmTest", recursive = false)
model("cli/jvm", extension = "args", testMethod = "doJvmTest", recursive = false)
model("cli/js", extension = "args", testMethod = "doJsTest", recursive = false)
model("cli/metadata", extension = "args", testMethod = "doMetadataTest", recursive = false)
diff --git a/compiler/tests-integration/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java b/compiler/tests-integration/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java
index 64a6a61..1c17337 100644
--- a/compiler/tests-integration/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java
+++ b/compiler/tests-integration/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java
@@ -19,6 +19,884 @@
@SuppressWarnings("all")
@RunWith(JUnit3RunnerWithInners.class)
public class CliTestGenerated extends AbstractCliTest {
+ @TestMetadata("compiler/testData/cli/jvm/apiVersion")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class ApiVersion extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInApiVersion() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/apiVersion"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("apiAndLanguageVersionsUnsupported.args")
+ public void testApiAndLanguageVersionsUnsupported() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiAndLanguageVersionsUnsupported.args");
+ }
+
+ @TestMetadata("apiVersion.args")
+ public void testApiVersion() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersion.args");
+ }
+
+ @TestMetadata("apiVersionAndSinceNewerKotlin.args")
+ public void testApiVersionAndSinceNewerKotlin() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionAndSinceNewerKotlin.args");
+ }
+
+ @TestMetadata("apiVersionDeprecated.args")
+ public void testApiVersionDeprecated() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionDeprecated.args");
+ }
+
+ @TestMetadata("apiVersionEmpty.args")
+ public void testApiVersionEmpty() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionEmpty.args");
+ }
+
+ @TestMetadata("apiVersionGreaterThanLanguage.args")
+ public void testApiVersionGreaterThanLanguage() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguage.args");
+ }
+
+ @TestMetadata("apiVersionGreaterThanLanguageSuppress.args")
+ public void testApiVersionGreaterThanLanguageSuppress() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppress.args");
+ }
+
+ @TestMetadata("apiVersionGreaterThanLanguageSuppressUseless.args")
+ public void testApiVersionGreaterThanLanguageSuppressUseless() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionGreaterThanLanguageSuppressUseless.args");
+ }
+
+ @TestMetadata("apiVersionInvalid.args")
+ public void testApiVersionInvalid() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionInvalid.args");
+ }
+
+ @TestMetadata("apiVersionLessThanLanguage.args")
+ public void testApiVersionLessThanLanguage() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguage.args");
+ }
+
+ @TestMetadata("apiVersionLessThanLanguageUsingArgfile.args")
+ public void testApiVersionLessThanLanguageUsingArgfile() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionLessThanLanguageUsingArgfile.args");
+ }
+
+ @TestMetadata("apiVersionUnsupported.args")
+ public void testApiVersionUnsupported() {
+ runTest("compiler/testData/cli/jvm/apiVersion/apiVersionUnsupported.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/argfileCommonChecks")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class ArgfileCommonChecks extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInArgfileCommonChecks() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/argfileCommonChecks"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("argfileWithEmptyArgument.args")
+ public void testArgfileWithEmptyArgument() {
+ runTest("compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEmptyArgument.args");
+ }
+
+ @TestMetadata("argfileWithEscaping.args")
+ public void testArgfileWithEscaping() {
+ runTest("compiler/testData/cli/jvm/argfileCommonChecks/argfileWithEscaping.args");
+ }
+
+ @TestMetadata("argfileWithUnfinishedQuoteAndEscape.args")
+ public void testArgfileWithUnfinishedQuoteAndEscape() {
+ runTest("compiler/testData/cli/jvm/argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.args");
+ }
+
+ @TestMetadata("argumentPassedMultipleTimes.args")
+ public void testArgumentPassedMultipleTimes() {
+ runTest("compiler/testData/cli/jvm/argfileCommonChecks/argumentPassedMultipleTimes.args");
+ }
+
+ @TestMetadata("mixingArgfilesAndUsualArgs.args")
+ public void testMixingArgfilesAndUsualArgs() {
+ runTest("compiler/testData/cli/jvm/argfileCommonChecks/mixingArgfilesAndUsualArgs.args");
+ }
+
+ @TestMetadata("nonexistingArgfile.args")
+ public void testNonexistingArgfile() {
+ runTest("compiler/testData/cli/jvm/argfileCommonChecks/nonexistingArgfile.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/classPath")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class ClassPath extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInClassPath() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/classPath"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("classPath.args")
+ public void testClassPath() {
+ runTest("compiler/testData/cli/jvm/classPath/classPath.args");
+ }
+
+ @TestMetadata("emptyClassPath.args")
+ public void testEmptyClassPath() {
+ runTest("compiler/testData/cli/jvm/classPath/emptyClassPath.args");
+ }
+
+ @TestMetadata("invalidClassPath.args")
+ public void testInvalidClassPath() {
+ runTest("compiler/testData/cli/jvm/classPath/invalidClassPath.args");
+ }
+
+ @TestMetadata("wrongAbiVersion.args")
+ public void testWrongAbiVersion() {
+ runTest("compiler/testData/cli/jvm/classPath/wrongAbiVersion.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/diagnosticTests")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class DiagnosticTests extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInDiagnosticTests() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/diagnosticTests"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("classAndFileClassClash.args")
+ public void testClassAndFileClassClash() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/classAndFileClassClash.args");
+ }
+
+ @TestMetadata("classAndOtherFileClassClash.args")
+ public void testClassAndOtherFileClassClash() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/classAndOtherFileClassClash.args");
+ }
+
+ @TestMetadata("classAndPartClash.args")
+ public void testClassAndPartClash() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/classAndPartClash.args");
+ }
+
+ @TestMetadata("classAndTraitClash.args")
+ public void testClassAndTraitClash() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/classAndTraitClash.args");
+ }
+
+ @TestMetadata("classpath.args")
+ public void testClasspath() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/classpath.args");
+ }
+
+ @TestMetadata("conflictingJvmDeclarations.args")
+ public void testConflictingJvmDeclarations() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarations.args");
+ }
+
+ @TestMetadata("conflictingJvmDeclarationsK2.args")
+ public void testConflictingJvmDeclarationsK2() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/conflictingJvmDeclarationsK2.args");
+ }
+
+ @TestMetadata("conflictingOverloads.args")
+ public void testConflictingOverloads() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/conflictingOverloads.args");
+ }
+
+ @TestMetadata("conflictingProjection.args")
+ public void testConflictingProjection() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/conflictingProjection.args");
+ }
+
+ @TestMetadata("diagnosticsOrder.args")
+ public void testDiagnosticsOrder() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/diagnosticsOrder.args");
+ }
+
+ @TestMetadata("fileClassAndMultifileClassClash.args")
+ public void testFileClassAndMultifileClassClash() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/fileClassAndMultifileClassClash.args");
+ }
+
+ @TestMetadata("fileClassAndTImplClash.args")
+ public void testFileClassAndTImplClash() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/fileClassAndTImplClash.args");
+ }
+
+ @TestMetadata("fileClassClashMultipleFiles.args")
+ public void testFileClassClashMultipleFiles() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/fileClassClashMultipleFiles.args");
+ }
+
+ @TestMetadata("firDeprecationJava.args")
+ public void testFirDeprecationJava() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/firDeprecationJava.args");
+ }
+
+ @TestMetadata("firDfa.args")
+ public void testFirDfa() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/firDfa.args");
+ }
+
+ @TestMetadata("firError.args")
+ public void testFirError() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/firError.args");
+ }
+
+ @TestMetadata("firHello.args")
+ public void testFirHello() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/firHello.args");
+ }
+
+ @TestMetadata("firHello20.args")
+ public void testFirHello20() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/firHello20.args");
+ }
+
+ @TestMetadata("firSyntaxError.args")
+ public void testFirSyntaxError() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/firSyntaxError.args");
+ }
+
+ @TestMetadata("firVsClassicAnnotation.args")
+ public void testFirVsClassicAnnotation() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/firVsClassicAnnotation.args");
+ }
+
+ @TestMetadata("forbidKotlinPackageK1.args")
+ public void testForbidKotlinPackageK1() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK1.args");
+ }
+
+ @TestMetadata("forbidKotlinPackageK2.args")
+ public void testForbidKotlinPackageK2() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/forbidKotlinPackageK2.args");
+ }
+
+ @TestMetadata("fullyQualifiedDeepJavaIndividual.args")
+ public void testFullyQualifiedDeepJavaIndividual() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaIndividual.args");
+ }
+
+ @TestMetadata("fullyQualifiedDeepJavaWholeRoot.args")
+ public void testFullyQualifiedDeepJavaWholeRoot() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/fullyQualifiedDeepJavaWholeRoot.args");
+ }
+
+ @TestMetadata("inapplicableLateinitModifier.args")
+ public void testInapplicableLateinitModifier() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/inapplicableLateinitModifier.args");
+ }
+
+ @TestMetadata("inlineCycle.args")
+ public void testInlineCycle() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/inlineCycle.args");
+ }
+
+ @TestMetadata("instanceAccessBeforeSuperCall.args")
+ public void testInstanceAccessBeforeSuperCall() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/instanceAccessBeforeSuperCall.args");
+ }
+
+ @TestMetadata("javaSealedClass.args")
+ public void testJavaSealedClass() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/javaSealedClass.args");
+ }
+
+ @TestMetadata("javaSrcWrongPackage.args")
+ public void testJavaSrcWrongPackage() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/javaSrcWrongPackage.args");
+ }
+
+ @TestMetadata("javacKotlinJavaInterdependency.args")
+ public void testJavacKotlinJavaInterdependency() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/javacKotlinJavaInterdependency.args");
+ }
+
+ @TestMetadata("kotlinPackage.args")
+ public void testKotlinPackage() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/kotlinPackage.args");
+ }
+
+ @TestMetadata("kt19628_13.args")
+ public void testKt19628_13() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/kt19628_13.args");
+ }
+
+ @TestMetadata("kt22304.args")
+ public void testKt22304() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/kt22304.args");
+ }
+
+ @TestMetadata("multipleTextRangesInDiagnosticsOrder.args")
+ public void testMultipleTextRangesInDiagnosticsOrder() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/multipleTextRangesInDiagnosticsOrder.args");
+ }
+
+ @TestMetadata("newLineInPackage.args")
+ public void testNewLineInPackage() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/newLineInPackage.args");
+ }
+
+ @TestMetadata("recordAsSingleFileRoot.args")
+ public void testRecordAsSingleFileRoot() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/recordAsSingleFileRoot.args");
+ }
+
+ @TestMetadata("requireKotlinCompilerVersion.args")
+ public void testRequireKotlinCompilerVersion() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersion.args");
+ }
+
+ @TestMetadata("requireKotlinCompilerVersionK2.args")
+ public void testRequireKotlinCompilerVersionK2() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/requireKotlinCompilerVersionK2.args");
+ }
+
+ @TestMetadata("resultInReturnTypeSupportedByDefault15.args")
+ public void testResultInReturnTypeSupportedByDefault15() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/resultInReturnTypeSupportedByDefault15.args");
+ }
+
+ @TestMetadata("returnAsWhenKey.args")
+ public void testReturnAsWhenKey() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/returnAsWhenKey.args");
+ }
+
+ @TestMetadata("sanitized-name.clash.args")
+ public void testSanitized_name_clash() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/sanitized-name.clash.args");
+ }
+
+ @TestMetadata("signatureClash.args")
+ public void testSignatureClash() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/signatureClash.args");
+ }
+
+ @TestMetadata("singleJavaFileRoots.args")
+ public void testSingleJavaFileRoots() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/singleJavaFileRoots.args");
+ }
+
+ @TestMetadata("suspensionPointInMonitor.args")
+ public void testSuspensionPointInMonitor() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/suspensionPointInMonitor.args");
+ }
+
+ @TestMetadata("syntheticAccessorSignatureClash.args")
+ public void testSyntheticAccessorSignatureClash() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/syntheticAccessorSignatureClash.args");
+ }
+
+ @TestMetadata("warningsInDummy.args")
+ public void testWarningsInDummy() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/warningsInDummy.args");
+ }
+
+ @TestMetadata("wrongAnnotationArgumentInCtor.args")
+ public void testWrongAnnotationArgumentInCtor() {
+ runTest("compiler/testData/cli/jvm/diagnosticTests/wrongAnnotationArgumentInCtor.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/expression")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class Expression extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInExpression() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/expression"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("expression1.args")
+ public void testExpression1() {
+ runTest("compiler/testData/cli/jvm/expression/expression1.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/extraArgCommonChecks")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class ExtraArgCommonChecks extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ @TestMetadata("advancedOptionEmpty.args")
+ public void testAdvancedOptionEmpty() {
+ runTest("compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionEmpty.args");
+ }
+
+ @TestMetadata("advancedOptionMultiple.args")
+ public void testAdvancedOptionMultiple() {
+ runTest("compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionMultiple.args");
+ }
+
+ @TestMetadata("advancedOptionNoValue.args")
+ public void testAdvancedOptionNoValue() {
+ runTest("compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionNoValue.args");
+ }
+
+ @TestMetadata("advancedOptionObsoleteForm.args")
+ public void testAdvancedOptionObsoleteForm() {
+ runTest("compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionObsoleteForm.args");
+ }
+
+ @TestMetadata("advancedOptionUnrecognized.args")
+ public void testAdvancedOptionUnrecognized() {
+ runTest("compiler/testData/cli/jvm/extraArgCommonChecks/advancedOptionUnrecognized.args");
+ }
+
+ public void testAllFilesPresentInExtraArgCommonChecks() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/extraArgCommonChecks"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("extraBooleanArgumentEqualsFalse.args")
+ public void testExtraBooleanArgumentEqualsFalse() {
+ runTest("compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsFalse.args");
+ }
+
+ @TestMetadata("extraBooleanArgumentEqualsNonsense.args")
+ public void testExtraBooleanArgumentEqualsNonsense() {
+ runTest("compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.args");
+ }
+
+ @TestMetadata("extraBooleanArgumentEqualsTrue.args")
+ public void testExtraBooleanArgumentEqualsTrue() {
+ runTest("compiler/testData/cli/jvm/extraArgCommonChecks/extraBooleanArgumentEqualsTrue.args");
+ }
+
+ @TestMetadata("unknownExtraFlags.args")
+ public void testUnknownExtraFlags() {
+ runTest("compiler/testData/cli/jvm/extraArgCommonChecks/unknownExtraFlags.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/internalArgCommonChecks")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class InternalArgCommonChecks extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInInternalArgCommonChecks() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/internalArgCommonChecks"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("disabledFeatureFromUnsupportedVersion.args")
+ public void testDisabledFeatureFromUnsupportedVersion() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.args");
+ }
+
+ @TestMetadata("internalArgDisableLanguageFeature.args")
+ public void testInternalArgDisableLanguageFeature() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/internalArgDisableLanguageFeature.args");
+ }
+
+ @TestMetadata("internalArgEmptyFeatureName.args")
+ public void testInternalArgEmptyFeatureName() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEmptyFeatureName.args");
+ }
+
+ @TestMetadata("internalArgEnableLanguageFeature.args")
+ public void testInternalArgEnableLanguageFeature() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/internalArgEnableLanguageFeature.args");
+ }
+
+ @TestMetadata("internalArgMissingModificator.args")
+ public void testInternalArgMissingModificator() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/internalArgMissingModificator.args");
+ }
+
+ @TestMetadata("internalArgNoWarningForEnablingBugfix.args")
+ public void testInternalArgNoWarningForEnablingBugfix() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.args");
+ }
+
+ @TestMetadata("internalArgOverrideLanguageFeature.args")
+ public void testInternalArgOverrideLanguageFeature() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideLanguageFeature.args");
+ }
+
+ @TestMetadata("internalArgOverrideOffLanguageFeature.args")
+ public void testInternalArgOverrideOffLanguageFeature() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/internalArgOverrideOffLanguageFeature.args");
+ }
+
+ @TestMetadata("internalArgPassValue.args")
+ public void testInternalArgPassValue() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/internalArgPassValue.args");
+ }
+
+ @TestMetadata("internalArgUnrecognizedFeature.args")
+ public void testInternalArgUnrecognizedFeature() {
+ runTest("compiler/testData/cli/jvm/internalArgCommonChecks/internalArgUnrecognizedFeature.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/jdkHome")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class JdkHome extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInJdkHome() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/jdkHome"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("emptyJdkHome.args")
+ public void testEmptyJdkHome() {
+ runTest("compiler/testData/cli/jvm/jdkHome/emptyJdkHome.args");
+ }
+
+ @TestMetadata("invalidJdkHome.args")
+ public void testInvalidJdkHome() {
+ runTest("compiler/testData/cli/jvm/jdkHome/invalidJdkHome.args");
+ }
+
+ @TestMetadata("invalidMultipleArgJdkHome.args")
+ public void testInvalidMultipleArgJdkHome() {
+ runTest("compiler/testData/cli/jvm/jdkHome/invalidMultipleArgJdkHome.args");
+ }
+
+ @TestMetadata("jdkHome.args")
+ public void testJdkHome() {
+ runTest("compiler/testData/cli/jvm/jdkHome/jdkHome.args");
+ }
+
+ @TestMetadata("multipleJdkHome.args")
+ public void testMultipleJdkHome() {
+ runTest("compiler/testData/cli/jvm/jdkHome/multipleJdkHome.args");
+ }
+
+ @TestMetadata("warningJdkHomeWithNoJdk.args")
+ public void testWarningJdkHomeWithNoJdk() {
+ runTest("compiler/testData/cli/jvm/jdkHome/warningJdkHomeWithNoJdk.args");
+ }
+
+ @TestMetadata("wrongJdkHome.args")
+ public void testWrongJdkHome() {
+ runTest("compiler/testData/cli/jvm/jdkHome/wrongJdkHome.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/jvmTarget")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class JvmTarget extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInJvmTarget() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/jvmTarget"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("jvm6Target.args")
+ public void testJvm6Target() {
+ runTest("compiler/testData/cli/jvm/jvmTarget/jvm6Target.args");
+ }
+
+ @TestMetadata("jvm8Target.args")
+ public void testJvm8Target() {
+ runTest("compiler/testData/cli/jvm/jvmTarget/jvm8Target.args");
+ }
+
+ @TestMetadata("wrongJvmTargetVersion.args")
+ public void testWrongJvmTargetVersion() {
+ runTest("compiler/testData/cli/jvm/jvmTarget/wrongJvmTargetVersion.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/kotlinHome")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class KotlinHome extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInKotlinHome() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/kotlinHome"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("kotlinHomeWithoutStdlib.args")
+ public void testKotlinHomeWithoutStdlib() {
+ runTest("compiler/testData/cli/jvm/kotlinHome/kotlinHomeWithoutStdlib.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/languageVersion")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class LanguageVersion extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInLanguageVersion() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/languageVersion"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("languageVersion.args")
+ public void testLanguageVersion() {
+ runTest("compiler/testData/cli/jvm/languageVersion/languageVersion.args");
+ }
+
+ @TestMetadata("languageVersionDeprecated.args")
+ public void testLanguageVersionDeprecated() {
+ runTest("compiler/testData/cli/jvm/languageVersion/languageVersionDeprecated.args");
+ }
+
+ @TestMetadata("languageVersionEmpty.args")
+ public void testLanguageVersionEmpty() {
+ runTest("compiler/testData/cli/jvm/languageVersion/languageVersionEmpty.args");
+ }
+
+ @TestMetadata("languageVersionExperimental.args")
+ public void testLanguageVersionExperimental() {
+ runTest("compiler/testData/cli/jvm/languageVersion/languageVersionExperimental.args");
+ }
+
+ @TestMetadata("languageVersionInvalid.args")
+ public void testLanguageVersionInvalid() {
+ runTest("compiler/testData/cli/jvm/languageVersion/languageVersionInvalid.args");
+ }
+
+ @TestMetadata("languageVersionMupltiple.args")
+ public void testLanguageVersionMupltiple() {
+ runTest("compiler/testData/cli/jvm/languageVersion/languageVersionMupltiple.args");
+ }
+
+ @TestMetadata("languageVersionUnsupported.args")
+ public void testLanguageVersionUnsupported() {
+ runTest("compiler/testData/cli/jvm/languageVersion/languageVersionUnsupported.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/noJdk")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class NoJdk extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInNoJdk() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/noJdk"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("firFriendlyErrorIfNoJdkOptionIsSet.args")
+ public void testFirFriendlyErrorIfNoJdkOptionIsSet() {
+ runTest("compiler/testData/cli/jvm/noJdk/firFriendlyErrorIfNoJdkOptionIsSet.args");
+ }
+
+ @TestMetadata("noJdkAvoidFailure.args")
+ public void testNoJdkAvoidFailure() {
+ runTest("compiler/testData/cli/jvm/noJdk/noJdkAvoidFailure.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/noReflect")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class NoReflect extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInNoReflect() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/noReflect"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("noReflect.args")
+ public void testNoReflect() {
+ runTest("compiler/testData/cli/jvm/noReflect/noReflect.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/noStdlib")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class NoStdlib extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInNoStdlib() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/noStdlib"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("noStdlibK1.args")
+ public void testNoStdlibK1() {
+ runTest("compiler/testData/cli/jvm/noStdlib/noStdlibK1.args");
+ }
+
+ @TestMetadata("noStdlibK2.args")
+ public void testNoStdlibK2() {
+ runTest("compiler/testData/cli/jvm/noStdlib/noStdlibK2.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/optIn")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class OptIn extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInOptIn() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/optIn"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("experimentalDeprecated.args")
+ public void testExperimentalDeprecated() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalDeprecated.args");
+ }
+
+ @TestMetadata("experimentalDeprecatedK1.args")
+ public void testExperimentalDeprecatedK1() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalDeprecatedK1.args");
+ }
+
+ @TestMetadata("experimentalDeprecatedWarning.args")
+ public void testExperimentalDeprecatedWarning() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarning.args");
+ }
+
+ @TestMetadata("experimentalDeprecatedWarningK1.args")
+ public void testExperimentalDeprecatedWarningK1() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalDeprecatedWarningK1.args");
+ }
+
+ @TestMetadata("experimentalIsNotAnnotation.args")
+ public void testExperimentalIsNotAnnotation() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotation.args");
+ }
+
+ @TestMetadata("experimentalIsNotAnnotationK1.args")
+ public void testExperimentalIsNotAnnotationK1() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalIsNotAnnotationK1.args");
+ }
+
+ @TestMetadata("experimentalIsNotMarker.args")
+ public void testExperimentalIsNotMarker() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalIsNotMarker.args");
+ }
+
+ @TestMetadata("experimentalIsNotMarkerK1.args")
+ public void testExperimentalIsNotMarkerK1() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalIsNotMarkerK1.args");
+ }
+
+ @TestMetadata("experimentalNested.args")
+ public void testExperimentalNested() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalNested.args");
+ }
+
+ @TestMetadata("experimentalNestedK1.args")
+ public void testExperimentalNestedK1() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalNestedK1.args");
+ }
+
+ @TestMetadata("experimentalUnresolved.args")
+ public void testExperimentalUnresolved() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalUnresolved.args");
+ }
+
+ @TestMetadata("experimentalUnresolvedK1.args")
+ public void testExperimentalUnresolvedK1() {
+ runTest("compiler/testData/cli/jvm/optIn/experimentalUnresolvedK1.args");
+ }
+
+ @TestMetadata("optInEmptyMessage.args")
+ public void testOptInEmptyMessage() {
+ runTest("compiler/testData/cli/jvm/optIn/optInEmptyMessage.args");
+ }
+
+ @TestMetadata("optInEmptyMessageFir.args")
+ public void testOptInEmptyMessageFir() {
+ runTest("compiler/testData/cli/jvm/optIn/optInEmptyMessageFir.args");
+ }
+
+ @TestMetadata("optInOverrideMessage.args")
+ public void testOptInOverrideMessage() {
+ runTest("compiler/testData/cli/jvm/optIn/optInOverrideMessage.args");
+ }
+
+ @TestMetadata("optInOverrideMessageFir.args")
+ public void testOptInOverrideMessageFir() {
+ runTest("compiler/testData/cli/jvm/optIn/optInOverrideMessageFir.args");
+ }
+
+ @TestMetadata("useDeclarationThatWasExperimentalWithoutExplicitImport.args")
+ public void testUseDeclarationThatWasExperimentalWithoutExplicitImport() {
+ runTest("compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.args");
+ }
+
+ @TestMetadata("useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args")
+ public void testUseDeclarationThatWasExperimentalWithoutExplicitImportCommandLine() {
+ runTest("compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args");
+ }
+
+ @TestMetadata("useDeclarationThatWasExperimentalWithoutMarker.args")
+ public void testUseDeclarationThatWasExperimentalWithoutMarker() {
+ runTest("compiler/testData/cli/jvm/optIn/useDeclarationThatWasExperimentalWithoutMarker.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/progressive")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class Progressive extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInProgressive() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/progressive"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("kt19628_progressive.args")
+ public void testKt19628_progressive() {
+ runTest("compiler/testData/cli/jvm/progressive/kt19628_progressive.args");
+ }
+
+ @TestMetadata("progressiveModeOffForDeprecatedVersion.args")
+ public void testProgressiveModeOffForDeprecatedVersion() {
+ runTest("compiler/testData/cli/jvm/progressive/progressiveModeOffForDeprecatedVersion.args");
+ }
+
+ @TestMetadata("progressiveModeOnForDeprecatedVersion.args")
+ public void testProgressiveModeOnForDeprecatedVersion() {
+ runTest("compiler/testData/cli/jvm/progressive/progressiveModeOnForDeprecatedVersion.args");
+ }
+ }
+
@TestMetadata("compiler/testData/cli/jvm/readingConfigFromEnvironment")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -57,2448 +935,1479 @@
}
}
- @TestMetadata("compiler/testData/cli/jvm/plugins")
+ @TestMetadata("compiler/testData/cli/jvm/script")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class Plugins extends AbstractCliTest {
+ public static class Script extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentInPlugins() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/plugins"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInScript() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/script"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("firAllOpenPlugin_legacy.args")
- public void testFirAllOpenPlugin_legacy() {
- runTest("compiler/testData/cli/jvm/plugins/firAllOpenPlugin_legacy.args");
+ @TestMetadata("nonexistentScript.args")
+ public void testNonexistentScript() {
+ runTest("compiler/testData/cli/jvm/script/nonexistentScript.args");
}
- @TestMetadata("firAllOpenPlugin_modern.args")
- public void testFirAllOpenPlugin_modern() {
- runTest("compiler/testData/cli/jvm/plugins/firAllOpenPlugin_modern.args");
+ @TestMetadata("wrongScriptWithDirectory.args")
+ public void testWrongScriptWithDirectory() {
+ runTest("compiler/testData/cli/jvm/script/wrongScriptWithDirectory.args");
}
- @TestMetadata("mixingModernAndLegacyArgs.args")
- public void testMixingModernAndLegacyArgs() {
- runTest("compiler/testData/cli/jvm/plugins/mixingModernAndLegacyArgs.args");
+ @TestMetadata("wrongScriptWithKtSource.args")
+ public void testWrongScriptWithKtSource() {
+ runTest("compiler/testData/cli/jvm/script/wrongScriptWithKtSource.args");
}
- @TestMetadata("multipleOptionsForOnePlugin.args")
- public void testMultipleOptionsForOnePlugin() {
- runTest("compiler/testData/cli/jvm/plugins/multipleOptionsForOnePlugin.args");
- }
-
- @TestMetadata("multiplePlugins.args")
- public void testMultiplePlugins() {
- runTest("compiler/testData/cli/jvm/plugins/multiplePlugins.args");
- }
-
- @TestMetadata("multiplePluginsInSameArg.args")
- public void testMultiplePluginsInSameArg() {
- runTest("compiler/testData/cli/jvm/plugins/multiplePluginsInSameArg.args");
- }
-
- @TestMetadata("noPluginInClasspath.args")
- public void testNoPluginInClasspath() {
- runTest("compiler/testData/cli/jvm/plugins/noPluginInClasspath.args");
+ @TestMetadata("wrongScriptWithNoSource.args")
+ public void testWrongScriptWithNoSource() {
+ runTest("compiler/testData/cli/jvm/script/wrongScriptWithNoSource.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/hmpp")
+ @TestMetadata("compiler/testData/cli/jvm/sourcesCommonChecks")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class Hmpp extends AbstractCliTest {
+ public static class SourcesCommonChecks extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentInHmpp() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/hmpp"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInSourcesCommonChecks() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/sourcesCommonChecks"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("cycleInDependencies.args")
- public void testCycleInDependencies() {
- runTest("compiler/testData/cli/jvm/hmpp/cycleInDependencies.args");
+ @TestMetadata("dirWithKotlinAndJavaFiles.args")
+ public void testDirWithKotlinAndJavaFiles() {
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndJavaFiles.args");
}
- @TestMetadata("duplicatedFragments.args")
- public void testDuplicatedFragments() {
- runTest("compiler/testData/cli/jvm/hmpp/duplicatedFragments.args");
+ @TestMetadata("dirWithKotlinAndNonKotlinFiles.args")
+ public void testDirWithKotlinAndNonKotlinFiles() {
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinAndNonKotlinFiles.args");
}
- @TestMetadata("fragmentSourcesIncorrectSyntax.args")
- public void testFragmentSourcesIncorrectSyntax() {
- runTest("compiler/testData/cli/jvm/hmpp/fragmentSourcesIncorrectSyntax.args");
+ @TestMetadata("dirWithKotlinFile.args")
+ public void testDirWithKotlinFile() {
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFile.args");
}
- @TestMetadata("fragmentWithoutSources.args")
- public void testFragmentWithoutSources() {
- runTest("compiler/testData/cli/jvm/hmpp/fragmentWithoutSources.args");
+ @TestMetadata("dirWithKotlinFileRecursive.args")
+ public void testDirWithKotlinFileRecursive() {
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinFileRecursive.args");
}
- @TestMetadata("kmpMissingActual.args")
- public void testKmpMissingActual() {
- runTest("compiler/testData/cli/jvm/hmpp/kmpMissingActual.args");
+ @TestMetadata("dirWithKotlinScript.args")
+ public void testDirWithKotlinScript() {
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScript.args");
}
- @TestMetadata("lowLanguageVersion.args")
- public void testLowLanguageVersion() {
- runTest("compiler/testData/cli/jvm/hmpp/lowLanguageVersion.args");
+ @TestMetadata("dirWithKotlinScriptPsi.args")
+ public void testDirWithKotlinScriptPsi() {
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/dirWithKotlinScriptPsi.args");
}
- @TestMetadata("missingFragment.args")
- public void testMissingFragment() {
- runTest("compiler/testData/cli/jvm/hmpp/missingFragment.args");
- }
-
- @TestMetadata("refinesSingleModule.args")
- public void testRefinesSingleModule() {
- runTest("compiler/testData/cli/jvm/hmpp/refinesSingleModule.args");
- }
-
- @TestMetadata("refinesWithoutFragments.args")
- public void testRefinesWithoutFragments() {
- runTest("compiler/testData/cli/jvm/hmpp/refinesWithoutFragments.args");
- }
-
- @TestMetadata("sameSourceInDifferentFragments.args")
- public void testSameSourceInDifferentFragments() {
- runTest("compiler/testData/cli/jvm/hmpp/sameSourceInDifferentFragments.args");
- }
-
- @TestMetadata("scriptInCommonFragment.args")
- public void testScriptInCommonFragment() {
- runTest("compiler/testData/cli/jvm/hmpp/scriptInCommonFragment.args");
- }
-
- @TestMetadata("sourceNotInAnyFragment.args")
- public void testSourceNotInAnyFragment() {
- runTest("compiler/testData/cli/jvm/hmpp/sourceNotInAnyFragment.args");
- }
-
- @TestMetadata("successfulCompilation.args")
- public void testSuccessfulCompilation() {
- runTest("compiler/testData/cli/jvm/hmpp/successfulCompilation.args");
- }
-
- @TestMetadata("successfulCompilation2.args")
- public void testSuccessfulCompilation2() {
- runTest("compiler/testData/cli/jvm/hmpp/successfulCompilation2.args");
- }
-
- @TestMetadata("successfulCompilationWithScript.args")
- public void testSuccessfulCompilationWithScript() {
- runTest("compiler/testData/cli/jvm/hmpp/successfulCompilationWithScript.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_XbuildFile")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _XbuildFile extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_XbuildFile() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_XbuildFile"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("modulesWithDependencyCycle.args")
- public void testModulesWithDependencyCycle() {
- runTest("compiler/testData/cli/jvm/_XbuildFile/modulesWithDependencyCycle.args");
- }
-
- @TestMetadata("nonexistentPathInModule.args")
- public void testNonexistentPathInModule() {
- runTest("compiler/testData/cli/jvm/_XbuildFile/nonexistentPathInModule.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_Xlambdas")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _Xlambdas extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_Xlambdas() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_Xlambdas"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("syntheticAccessorForPropertiesSignatureClash.args")
- public void testSyntheticAccessorForPropertiesSignatureClash() {
- runTest("compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorForPropertiesSignatureClash.args");
- }
-
- @TestMetadata("syntheticAccessorPropertyAndFunSignatureClash.args")
- public void testSyntheticAccessorPropertyAndFunSignatureClash() {
- runTest("compiler/testData/cli/jvm/_Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_XmultiPlatform")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _XmultiPlatform extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_XmultiPlatform() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_XmultiPlatform"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("k2SimpleMultiplatformGenericClass.args")
- public void testK2SimpleMultiplatformGenericClass() {
- runTest("compiler/testData/cli/jvm/_XmultiPlatform/k2SimpleMultiplatformGenericClass.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_XnullabilityAnnotations")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _XnullabilityAnnotations extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_XnullabilityAnnotations() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_XnullabilityAnnotations"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("nullabilityAnnotations.args")
- public void testNullabilityAnnotations() {
- runTest("compiler/testData/cli/jvm/_XnullabilityAnnotations/nullabilityAnnotations.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_XuseFastJarFileSystem")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _XuseFastJarFileSystem extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_XuseFastJarFileSystem() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_XuseFastJarFileSystem"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("fastJarFsDisabledAfterK2.args")
- public void testFastJarFsDisabledAfterK2() {
- runTest("compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsDisabledAfterK2.args");
- }
-
- @TestMetadata("fastJarFsEnabledBeforeK2.args")
- public void testFastJarFsEnabledBeforeK2() {
- runTest("compiler/testData/cli/jvm/_XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_XuseFirLt")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _XuseFirLt extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_XuseFirLt() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_XuseFirLt"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("firErrorOnLastLine.args")
- public void testFirErrorOnLastLine() {
- runTest("compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLine.args");
- }
-
- @TestMetadata("firErrorOnLastLineNoEol.args")
- public void testFirErrorOnLastLineNoEol() {
- runTest("compiler/testData/cli/jvm/_XuseFirLt/firErrorOnLastLineNoEol.args");
- }
-
- @TestMetadata("firLightTreeOff.args")
- public void testFirLightTreeOff() {
- runTest("compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOff.args");
- }
-
- @TestMetadata("firLightTreeOn.args")
- public void testFirLightTreeOn() {
- runTest("compiler/testData/cli/jvm/_XuseFirLt/firLightTreeOn.args");
- }
-
- @TestMetadata("twoDiagnosticsOnSingleElement.args")
- public void testTwoDiagnosticsOnSingleElement() {
- runTest("compiler/testData/cli/jvm/_XuseFirLt/twoDiagnosticsOnSingleElement.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_XuseK2")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _XuseK2 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_XuseK2() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_XuseK2"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("firHello20WithFlag.args")
- public void testFirHello20WithFlag() {
- runTest("compiler/testData/cli/jvm/_XuseK2/firHello20WithFlag.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_sourcesCommonChecks")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _sourcesCommonChecks extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_sourcesCommonChecks() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_sourcesCommonChecks"), Pattern.compile("^(.+)\\.args$"), null, false);
+ @TestMetadata("dirWithOnlyNonKotlinFile.args")
+ public void testDirWithOnlyNonKotlinFile() {
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/dirWithOnlyNonKotlinFile.args");
}
@TestMetadata("duplicateSources.args")
public void testDuplicateSources() {
- runTest("compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSources.args");
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSources.args");
}
@TestMetadata("duplicateSourcesInModule.args")
public void testDuplicateSourcesInModule() {
- runTest("compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesInModule.args");
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesInModule.args");
}
@TestMetadata("duplicateSourcesNormalized.args")
public void testDuplicateSourcesNormalized() {
- runTest("compiler/testData/cli/jvm/_sourcesCommonChecks/duplicateSourcesNormalized.args");
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/duplicateSourcesNormalized.args");
}
@TestMetadata("emptySources.args")
public void testEmptySources() {
- runTest("compiler/testData/cli/jvm/_sourcesCommonChecks/emptySources.args");
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/emptySources.args");
}
@TestMetadata("emptySourcesWithModuleInfo.args")
public void testEmptySourcesWithModuleInfo() {
- runTest("compiler/testData/cli/jvm/_sourcesCommonChecks/emptySourcesWithModuleInfo.args");
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/emptySourcesWithModuleInfo.args");
+ }
+
+ @TestMetadata("firStdlibDependency.args")
+ public void testFirStdlibDependency() {
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/firStdlibDependency.args");
}
@TestMetadata("nonExistingSourcePath.args")
public void testNonExistingSourcePath() {
- runTest("compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePath.args");
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePath.args");
}
@TestMetadata("nonExistingSourcePathK2.args")
public void testNonExistingSourcePathK2() {
- runTest("compiler/testData/cli/jvm/_sourcesCommonChecks/nonExistingSourcePathK2.args");
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/nonExistingSourcePathK2.args");
+ }
+
+ @TestMetadata("withNonKotlinFile.args")
+ public void testWithNonKotlinFile() {
+ runTest("compiler/testData/cli/jvm/sourcesCommonChecks/withNonKotlinFile.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_argfileCommonChecks")
+ @TestMetadata("compiler/testData/cli/jvm/version")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _argfileCommonChecks extends AbstractCliTest {
+ public static class Version extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_argfileCommonChecks() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_argfileCommonChecks"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInVersion() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/version"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("argfileWithEmptyArgument.args")
- public void testArgfileWithEmptyArgument() {
- runTest("compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEmptyArgument.args");
- }
-
- @TestMetadata("argfileWithEscaping.args")
- public void testArgfileWithEscaping() {
- runTest("compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithEscaping.args");
- }
-
- @TestMetadata("argfileWithUnfinishedQuoteAndEscape.args")
- public void testArgfileWithUnfinishedQuoteAndEscape() {
- runTest("compiler/testData/cli/jvm/_argfileCommonChecks/argfileWithUnfinishedQuoteAndEscape.args");
- }
-
- @TestMetadata("argumentPassedMultipleTimes.args")
- public void testArgumentPassedMultipleTimes() {
- runTest("compiler/testData/cli/jvm/_argfileCommonChecks/argumentPassedMultipleTimes.args");
- }
-
- @TestMetadata("mixingArgfilesAndUsualArgs.args")
- public void testMixingArgfilesAndUsualArgs() {
- runTest("compiler/testData/cli/jvm/_argfileCommonChecks/mixingArgfilesAndUsualArgs.args");
- }
-
- @TestMetadata("nonexistingArgfile.args")
- public void testNonexistingArgfile() {
- runTest("compiler/testData/cli/jvm/_argfileCommonChecks/nonexistingArgfile.args");
+ @TestMetadata("version.args")
+ public void testVersion() {
+ runTest("compiler/testData/cli/jvm/version/version.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_diagnosticTests")
+ @TestMetadata("compiler/testData/cli/jvm/werror")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _diagnosticTests extends AbstractCliTest {
+ public static class Werror extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_diagnosticTests() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_diagnosticTests"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInWerror() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/werror"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("classAndFileClassClash.args")
- public void testClassAndFileClassClash() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/classAndFileClassClash.args");
+ @TestMetadata("werror.args")
+ public void testWerror() {
+ runTest("compiler/testData/cli/jvm/werror/werror.args");
}
- @TestMetadata("classAndOtherFileClassClash.args")
- public void testClassAndOtherFileClassClash() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/classAndOtherFileClassClash.args");
+ @TestMetadata("werrorWithExplicitError.args")
+ public void testWerrorWithExplicitError() {
+ runTest("compiler/testData/cli/jvm/werror/werrorWithExplicitError.args");
}
- @TestMetadata("classAndPartClash.args")
- public void testClassAndPartClash() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/classAndPartClash.args");
+ @TestMetadata("werrorWithNoWarn.args")
+ public void testWerrorWithNoWarn() {
+ runTest("compiler/testData/cli/jvm/werror/werrorWithNoWarn.args");
}
- @TestMetadata("classAndTraitClash.args")
- public void testClassAndTraitClash() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/classAndTraitClash.args");
- }
-
- @TestMetadata("classpath.args")
- public void testClasspath() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/classpath.args");
- }
-
- @TestMetadata("conflictingJvmDeclarations.args")
- public void testConflictingJvmDeclarations() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarations.args");
- }
-
- @TestMetadata("conflictingJvmDeclarationsK2.args")
- public void testConflictingJvmDeclarationsK2() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/conflictingJvmDeclarationsK2.args");
- }
-
- @TestMetadata("conflictingOverloads.args")
- public void testConflictingOverloads() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/conflictingOverloads.args");
- }
-
- @TestMetadata("conflictingProjection.args")
- public void testConflictingProjection() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/conflictingProjection.args");
- }
-
- @TestMetadata("diagnosticsOrder.args")
- public void testDiagnosticsOrder() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/diagnosticsOrder.args");
- }
-
- @TestMetadata("fileClassAndMultifileClassClash.args")
- public void testFileClassAndMultifileClassClash() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/fileClassAndMultifileClassClash.args");
- }
-
- @TestMetadata("fileClassAndTImplClash.args")
- public void testFileClassAndTImplClash() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/fileClassAndTImplClash.args");
- }
-
- @TestMetadata("fileClassClashMultipleFiles.args")
- public void testFileClassClashMultipleFiles() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/fileClassClashMultipleFiles.args");
- }
-
- @TestMetadata("firDeprecationJava.args")
- public void testFirDeprecationJava() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/firDeprecationJava.args");
- }
-
- @TestMetadata("firDfa.args")
- public void testFirDfa() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/firDfa.args");
- }
-
- @TestMetadata("firError.args")
- public void testFirError() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/firError.args");
- }
-
- @TestMetadata("firHello.args")
- public void testFirHello() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/firHello.args");
- }
-
- @TestMetadata("firHello20.args")
- public void testFirHello20() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/firHello20.args");
- }
-
- @TestMetadata("firSyntaxError.args")
- public void testFirSyntaxError() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/firSyntaxError.args");
- }
-
- @TestMetadata("firVsClassicAnnotation.args")
- public void testFirVsClassicAnnotation() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/firVsClassicAnnotation.args");
- }
-
- @TestMetadata("forbidKotlinPackageK1.args")
- public void testForbidKotlinPackageK1() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK1.args");
- }
-
- @TestMetadata("forbidKotlinPackageK2.args")
- public void testForbidKotlinPackageK2() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/forbidKotlinPackageK2.args");
- }
-
- @TestMetadata("fullyQualifiedDeepJavaIndividual.args")
- public void testFullyQualifiedDeepJavaIndividual() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaIndividual.args");
- }
-
- @TestMetadata("fullyQualifiedDeepJavaWholeRoot.args")
- public void testFullyQualifiedDeepJavaWholeRoot() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/fullyQualifiedDeepJavaWholeRoot.args");
- }
-
- @TestMetadata("inapplicableLateinitModifier.args")
- public void testInapplicableLateinitModifier() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/inapplicableLateinitModifier.args");
- }
-
- @TestMetadata("inlineCycle.args")
- public void testInlineCycle() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/inlineCycle.args");
- }
-
- @TestMetadata("instanceAccessBeforeSuperCall.args")
- public void testInstanceAccessBeforeSuperCall() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/instanceAccessBeforeSuperCall.args");
- }
-
- @TestMetadata("javaSealedClass.args")
- public void testJavaSealedClass() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/javaSealedClass.args");
- }
-
- @TestMetadata("javaSrcWrongPackage.args")
- public void testJavaSrcWrongPackage() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/javaSrcWrongPackage.args");
- }
-
- @TestMetadata("javacKotlinJavaInterdependency.args")
- public void testJavacKotlinJavaInterdependency() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/javacKotlinJavaInterdependency.args");
- }
-
- @TestMetadata("kotlinPackage.args")
- public void testKotlinPackage() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/kotlinPackage.args");
- }
-
- @TestMetadata("kt19628_13.args")
- public void testKt19628_13() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/kt19628_13.args");
- }
-
- @TestMetadata("kt22304.args")
- public void testKt22304() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/kt22304.args");
- }
-
- @TestMetadata("multipleTextRangesInDiagnosticsOrder.args")
- public void testMultipleTextRangesInDiagnosticsOrder() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/multipleTextRangesInDiagnosticsOrder.args");
- }
-
- @TestMetadata("newLineInPackage.args")
- public void testNewLineInPackage() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/newLineInPackage.args");
- }
-
- @TestMetadata("recordAsSingleFileRoot.args")
- public void testRecordAsSingleFileRoot() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/recordAsSingleFileRoot.args");
- }
-
- @TestMetadata("requireKotlinCompilerVersion.args")
- public void testRequireKotlinCompilerVersion() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersion.args");
- }
-
- @TestMetadata("requireKotlinCompilerVersionK2.args")
- public void testRequireKotlinCompilerVersionK2() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/requireKotlinCompilerVersionK2.args");
- }
-
- @TestMetadata("resultInReturnTypeSupportedByDefault15.args")
- public void testResultInReturnTypeSupportedByDefault15() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/resultInReturnTypeSupportedByDefault15.args");
- }
-
- @TestMetadata("returnAsWhenKey.args")
- public void testReturnAsWhenKey() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/returnAsWhenKey.args");
- }
-
- @TestMetadata("sanitized-name.clash.args")
- public void testSanitized_name_clash() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/sanitized-name.clash.args");
- }
-
- @TestMetadata("signatureClash.args")
- public void testSignatureClash() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/signatureClash.args");
- }
-
- @TestMetadata("singleJavaFileRoots.args")
- public void testSingleJavaFileRoots() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/singleJavaFileRoots.args");
- }
-
- @TestMetadata("suspensionPointInMonitor.args")
- public void testSuspensionPointInMonitor() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/suspensionPointInMonitor.args");
- }
-
- @TestMetadata("syntheticAccessorSignatureClash.args")
- public void testSyntheticAccessorSignatureClash() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/syntheticAccessorSignatureClash.args");
- }
-
- @TestMetadata("warningsInDummy.args")
- public void testWarningsInDummy() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/warningsInDummy.args");
- }
-
- @TestMetadata("wrongAnnotationArgumentInCtor.args")
- public void testWrongAnnotationArgumentInCtor() {
- runTest("compiler/testData/cli/jvm/_diagnosticTests/wrongAnnotationArgumentInCtor.args");
+ @TestMetadata("werrorWithStrongWarning.args")
+ public void testWerrorWithStrongWarning() {
+ runTest("compiler/testData/cli/jvm/werror/werrorWithStrongWarning.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_explicitReturnTypes")
+ @TestMetadata("compiler/testData/cli/jvm/wextra")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _explicitReturnTypes extends AbstractCliTest {
+ public static class Wextra extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_explicitReturnTypes() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_explicitReturnTypes"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("explicitReturnTypesEnabled.args")
- public void testExplicitReturnTypesEnabled() {
- runTest("compiler/testData/cli/jvm/_explicitReturnTypes/explicitReturnTypesEnabled.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_kotlinHome")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _kotlinHome extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_kotlinHome() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_kotlinHome"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("kotlinHomeWithoutStdlib.args")
- public void testKotlinHomeWithoutStdlib() {
- runTest("compiler/testData/cli/jvm/_kotlinHome/kotlinHomeWithoutStdlib.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_wextra")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _wextra extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_wextra() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_wextra"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInWextra() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/wextra"), Pattern.compile("^(.+)\\.args$"), null, false);
}
@TestMetadata("extraCheckers.args")
public void testExtraCheckers() {
- runTest("compiler/testData/cli/jvm/_wextra/extraCheckers.args");
+ runTest("compiler/testData/cli/jvm/wextra/extraCheckers.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull")
+ @TestMetadata("compiler/testData/cli/jvm/XabiStability")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _XenhanceTypeParameterTypesToDefNotNull extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_XenhanceTypeParameterTypesToDefNotNull() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("kt49209.args")
- public void testKt49209() {
- runTest("compiler/testData/cli/jvm/_XenhanceTypeParameterTypesToDefNotNull/kt49209.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_abiStability")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _abiStability extends AbstractCliTest {
+ public static class XabiStability extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
@TestMetadata("abiStabilityEmpty.args")
public void testAbiStabilityEmpty() {
- runTest("compiler/testData/cli/jvm/_abiStability/abiStabilityEmpty.args");
+ runTest("compiler/testData/cli/jvm/XabiStability/abiStabilityEmpty.args");
}
@TestMetadata("abiStabilityIncorrectValue.args")
public void testAbiStabilityIncorrectValue() {
- runTest("compiler/testData/cli/jvm/_abiStability/abiStabilityIncorrectValue.args");
+ runTest("compiler/testData/cli/jvm/XabiStability/abiStabilityIncorrectValue.args");
}
@TestMetadata("abiStabilityMultipleValue.args")
public void testAbiStabilityMultipleValue() {
- runTest("compiler/testData/cli/jvm/_abiStability/abiStabilityMultipleValue.args");
+ runTest("compiler/testData/cli/jvm/XabiStability/abiStabilityMultipleValue.args");
}
@TestMetadata("abiStabilityStable.args")
public void testAbiStabilityStable() {
- runTest("compiler/testData/cli/jvm/_abiStability/abiStabilityStable.args");
+ runTest("compiler/testData/cli/jvm/XabiStability/abiStabilityStable.args");
}
@TestMetadata("abiStabilityUnstable.args")
public void testAbiStabilityUnstable() {
- runTest("compiler/testData/cli/jvm/_abiStability/abiStabilityUnstable.args");
+ runTest("compiler/testData/cli/jvm/XabiStability/abiStabilityUnstable.args");
}
- public void testAllFilesPresentIn_abiStability() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_abiStability"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXabiStability() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XabiStability"), Pattern.compile("^(.+)\\.args$"), null, false);
}
}
- @TestMetadata("compiler/testData/cli/jvm/_backendThreads")
+ @TestMetadata("compiler/testData/cli/jvm/XbackendThreads")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _backendThreads extends AbstractCliTest {
+ public static class XbackendThreads extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_backendThreads() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_backendThreads"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXbackendThreads() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XbackendThreads"), Pattern.compile("^(.+)\\.args$"), null, false);
}
@TestMetadata("backendThreadsValidationEmpty.args")
public void testBackendThreadsValidationEmpty() {
- runTest("compiler/testData/cli/jvm/_backendThreads/backendThreadsValidationEmpty.args");
+ runTest("compiler/testData/cli/jvm/XbackendThreads/backendThreadsValidationEmpty.args");
}
@TestMetadata("kt51846_backendThreadsValidationChar.args")
public void testKt51846_backendThreadsValidationChar() {
- runTest("compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationChar.args");
+ runTest("compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationChar.args");
}
@TestMetadata("kt51846_backendThreadsValidationInt.args")
public void testKt51846_backendThreadsValidationInt() {
- runTest("compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationInt.args");
+ runTest("compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationInt.args");
}
@TestMetadata("kt51846_backendThreadsValidationNegative.args")
public void testKt51846_backendThreadsValidationNegative() {
- runTest("compiler/testData/cli/jvm/_backendThreads/kt51846_backendThreadsValidationNegative.args");
+ runTest("compiler/testData/cli/jvm/XbackendThreads/kt51846_backendThreadsValidationNegative.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations")
+ @TestMetadata("compiler/testData/cli/jvm/XbuildFile")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _compatqualCheckerFrameworkAnnotations extends AbstractCliTest {
+ public static class XbuildFile extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_compatqualCheckerFrameworkAnnotations() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXbuildFile() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XbuildFile"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("compatqualDefault.args")
- public void testCompatqualDefault() {
- runTest("compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDefault.args");
+ @TestMetadata("modulesWithDependencyCycle.args")
+ public void testModulesWithDependencyCycle() {
+ runTest("compiler/testData/cli/jvm/XbuildFile/modulesWithDependencyCycle.args");
}
- @TestMetadata("compatqualDisable.args")
- public void testCompatqualDisable() {
- runTest("compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualDisable.args");
- }
-
- @TestMetadata("compatqualEnable.args")
- public void testCompatqualEnable() {
- runTest("compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualEnable.args");
- }
-
- @TestMetadata("compatqualWrong.args")
- public void testCompatqualWrong() {
- runTest("compiler/testData/cli/jvm/_compatqualCheckerFrameworkAnnotations/compatqualWrong.args");
+ @TestMetadata("nonexistentPathInModule.args")
+ public void testNonexistentPathInModule() {
+ runTest("compiler/testData/cli/jvm/XbuildFile/nonexistentPathInModule.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_XjvmDefault")
+ @TestMetadata("compiler/testData/cli/jvm/XcompilerPlugin")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _XjvmDefault extends AbstractCliTest {
+ public static class XcompilerPlugin extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_XjvmDefault() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_XjvmDefault"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXcompilerPlugin() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XcompilerPlugin"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("jvmDefaultAll.args")
- public void testJvmDefaultAll() {
- runTest("compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAll.args");
+ @TestMetadata("firAllOpenPlugin_modern.args")
+ public void testFirAllOpenPlugin_modern() {
+ runTest("compiler/testData/cli/jvm/XcompilerPlugin/firAllOpenPlugin_modern.args");
}
- @TestMetadata("jvmDefaultAllCompatibility.args")
- public void testJvmDefaultAllCompatibility() {
- runTest("compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultAllCompatibility.args");
+ @TestMetadata("mixingModernAndLegacyArgs.args")
+ public void testMixingModernAndLegacyArgs() {
+ runTest("compiler/testData/cli/jvm/XcompilerPlugin/mixingModernAndLegacyArgs.args");
}
- @TestMetadata("jvmDefaultDisable.args")
- public void testJvmDefaultDisable() {
- runTest("compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultDisable.args");
+ @TestMetadata("multipleOptionsForOnePlugin.args")
+ public void testMultipleOptionsForOnePlugin() {
+ runTest("compiler/testData/cli/jvm/XcompilerPlugin/multipleOptionsForOnePlugin.args");
}
- @TestMetadata("jvmDefaultIncorrectValue.args")
- public void testJvmDefaultIncorrectValue() {
- runTest("compiler/testData/cli/jvm/_XjvmDefault/jvmDefaultIncorrectValue.args");
+ @TestMetadata("multiplePlugins.args")
+ public void testMultiplePlugins() {
+ runTest("compiler/testData/cli/jvm/XcompilerPlugin/multiplePlugins.args");
+ }
+
+ @TestMetadata("multiplePluginsInSameArg.args")
+ public void testMultiplePluginsInSameArg() {
+ runTest("compiler/testData/cli/jvm/XcompilerPlugin/multiplePluginsInSameArg.args");
+ }
+
+ @TestMetadata("noPluginInClasspath.args")
+ public void testNoPluginInClasspath() {
+ runTest("compiler/testData/cli/jvm/XcompilerPlugin/noPluginInClasspath.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_dontWarnOnErrorSuppression")
+ @TestMetadata("compiler/testData/cli/jvm/XcontextParameters")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _dontWarnOnErrorSuppression extends AbstractCliTest {
+ public static class XcontextParameters extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_dontWarnOnErrorSuppression() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_dontWarnOnErrorSuppression"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXcontextParameters() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XcontextParameters"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("contextParameters.args")
+ public void testContextParameters() {
+ runTest("compiler/testData/cli/jvm/XcontextParameters/contextParameters.args");
+ }
+
+ @TestMetadata("contextReceiversAndParametersAtTheSameTime.args")
+ public void testContextReceiversAndParametersAtTheSameTime() {
+ runTest("compiler/testData/cli/jvm/XcontextParameters/contextReceiversAndParametersAtTheSameTime.args");
+ }
+
+ @TestMetadata("contextReceiversDeprecated.args")
+ public void testContextReceiversDeprecated() {
+ runTest("compiler/testData/cli/jvm/XcontextParameters/contextReceiversDeprecated.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/Xcoroutines")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class Xcoroutines extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXcoroutines() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/Xcoroutines"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("coroutinesEnable.args")
+ public void testCoroutinesEnable() {
+ runTest("compiler/testData/cli/jvm/Xcoroutines/coroutinesEnable.args");
+ }
+
+ @TestMetadata("coroutinesError.args")
+ public void testCoroutinesError() {
+ runTest("compiler/testData/cli/jvm/Xcoroutines/coroutinesError.args");
+ }
+
+ @TestMetadata("coroutinesErrorAndEnable.args")
+ public void testCoroutinesErrorAndEnable() {
+ runTest("compiler/testData/cli/jvm/Xcoroutines/coroutinesErrorAndEnable.args");
+ }
+
+ @TestMetadata("coroutinesWarn.args")
+ public void testCoroutinesWarn() {
+ runTest("compiler/testData/cli/jvm/Xcoroutines/coroutinesWarn.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XdontWarnOnErrorSuppression")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XdontWarnOnErrorSuppression extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXdontWarnOnErrorSuppression() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XdontWarnOnErrorSuppression"), Pattern.compile("^(.+)\\.args$"), null, false);
}
@TestMetadata("errorSuppressionNoWarning.args")
public void testErrorSuppressionNoWarning() {
- runTest("compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionNoWarning.args");
+ runTest("compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionNoWarning.args");
}
@TestMetadata("errorSuppressionWarning.args")
public void testErrorSuppressionWarning() {
- runTest("compiler/testData/cli/jvm/_dontWarnOnErrorSuppression/errorSuppressionWarning.args");
+ runTest("compiler/testData/cli/jvm/XdontWarnOnErrorSuppression/errorSuppressionWarning.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_explicitApi")
+ @TestMetadata("compiler/testData/cli/jvm/XenableBuilderInference")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _explicitApi extends AbstractCliTest {
+ public static class XenableBuilderInference extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_explicitApi() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_explicitApi"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXenableBuilderInference() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XenableBuilderInference"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("builderInferenceByDefault.args")
+ public void testBuilderInferenceByDefault() {
+ runTest("compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceByDefault.args");
+ }
+
+ @TestMetadata("builderInferenceEnable.args")
+ public void testBuilderInferenceEnable() {
+ runTest("compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceEnable.args");
+ }
+
+ @TestMetadata("builderInferenceErrors.args")
+ public void testBuilderInferenceErrors() {
+ runTest("compiler/testData/cli/jvm/XenableBuilderInference/builderInferenceErrors.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XenhanceTypeParameterTypesToDefNotNull extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXenhanceTypeParameterTypesToDefNotNull() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("kt49209.args")
+ public void testKt49209() {
+ runTest("compiler/testData/cli/jvm/XenhanceTypeParameterTypesToDefNotNull/kt49209.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XexplicitApi")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XexplicitApi extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXexplicitApi() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XexplicitApi"), Pattern.compile("^(.+)\\.args$"), null, false);
}
@TestMetadata("expilicitApi.args")
public void testExpilicitApi() {
- runTest("compiler/testData/cli/jvm/_explicitApi/expilicitApi.args");
+ runTest("compiler/testData/cli/jvm/XexplicitApi/expilicitApi.args");
}
@TestMetadata("explicitApiDisable.args")
public void testExplicitApiDisable() {
- runTest("compiler/testData/cli/jvm/_explicitApi/explicitApiDisable.args");
+ runTest("compiler/testData/cli/jvm/XexplicitApi/explicitApiDisable.args");
}
@TestMetadata("explicitApiInvalid.args")
public void testExplicitApiInvalid() {
- runTest("compiler/testData/cli/jvm/_explicitApi/explicitApiInvalid.args");
+ runTest("compiler/testData/cli/jvm/XexplicitApi/explicitApiInvalid.args");
}
@TestMetadata("explicitApiWithExplicitReturnTypesDifferent.args")
public void testExplicitApiWithExplicitReturnTypesDifferent() {
- runTest("compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesDifferent.args");
+ runTest("compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesDifferent.args");
}
@TestMetadata("explicitApiWithExplicitReturnTypesSame.args")
public void testExplicitApiWithExplicitReturnTypesSame() {
- runTest("compiler/testData/cli/jvm/_explicitApi/explicitApiWithExplicitReturnTypesSame.args");
+ runTest("compiler/testData/cli/jvm/XexplicitApi/explicitApiWithExplicitReturnTypesSame.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_internalArgCommonChecks")
+ @TestMetadata("compiler/testData/cli/jvm/XfragmentSources")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _internalArgCommonChecks extends AbstractCliTest {
+ public static class XfragmentSources extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_internalArgCommonChecks() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_internalArgCommonChecks"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXfragmentSources() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XfragmentSources"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("disabledFeatureFromUnsupportedVersion.args")
- public void testDisabledFeatureFromUnsupportedVersion() {
- runTest("compiler/testData/cli/jvm/_internalArgCommonChecks/disabledFeatureFromUnsupportedVersion.args");
+ @TestMetadata("cycleInDependencies.args")
+ public void testCycleInDependencies() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/cycleInDependencies.args");
}
- @TestMetadata("internalArgDisableLanguageFeature.args")
- public void testInternalArgDisableLanguageFeature() {
- runTest("compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgDisableLanguageFeature.args");
+ @TestMetadata("duplicatedFragments.args")
+ public void testDuplicatedFragments() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/duplicatedFragments.args");
}
- @TestMetadata("internalArgEmptyFeatureName.args")
- public void testInternalArgEmptyFeatureName() {
- runTest("compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEmptyFeatureName.args");
+ @TestMetadata("fragmentSourcesIncorrectSyntax.args")
+ public void testFragmentSourcesIncorrectSyntax() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/fragmentSourcesIncorrectSyntax.args");
}
- @TestMetadata("internalArgEnableLanguageFeature.args")
- public void testInternalArgEnableLanguageFeature() {
- runTest("compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgEnableLanguageFeature.args");
+ @TestMetadata("fragmentWithoutSources.args")
+ public void testFragmentWithoutSources() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/fragmentWithoutSources.args");
}
- @TestMetadata("internalArgMissingModificator.args")
- public void testInternalArgMissingModificator() {
- runTest("compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgMissingModificator.args");
+ @TestMetadata("kmpMissingActual.args")
+ public void testKmpMissingActual() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/kmpMissingActual.args");
}
- @TestMetadata("internalArgNoWarningForEnablingBugfix.args")
- public void testInternalArgNoWarningForEnablingBugfix() {
- runTest("compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgNoWarningForEnablingBugfix.args");
+ @TestMetadata("lowLanguageVersion.args")
+ public void testLowLanguageVersion() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/lowLanguageVersion.args");
}
- @TestMetadata("internalArgOverrideLanguageFeature.args")
- public void testInternalArgOverrideLanguageFeature() {
- runTest("compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideLanguageFeature.args");
+ @TestMetadata("missingFragment.args")
+ public void testMissingFragment() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/missingFragment.args");
}
- @TestMetadata("internalArgOverrideOffLanguageFeature.args")
- public void testInternalArgOverrideOffLanguageFeature() {
- runTest("compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgOverrideOffLanguageFeature.args");
+ @TestMetadata("refinesSingleModule.args")
+ public void testRefinesSingleModule() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/refinesSingleModule.args");
}
- @TestMetadata("internalArgUnrecognizedFeature.args")
- public void testInternalArgUnrecognizedFeature() {
- runTest("compiler/testData/cli/jvm/_internalArgCommonChecks/internalArgUnrecognizedFeature.args");
+ @TestMetadata("refinesWithoutFragments.args")
+ public void testRefinesWithoutFragments() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/refinesWithoutFragments.args");
+ }
+
+ @TestMetadata("sameSourceInDifferentFragments.args")
+ public void testSameSourceInDifferentFragments() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/sameSourceInDifferentFragments.args");
+ }
+
+ @TestMetadata("scriptInCommonFragment.args")
+ public void testScriptInCommonFragment() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/scriptInCommonFragment.args");
+ }
+
+ @TestMetadata("sourceNotInAnyFragment.args")
+ public void testSourceNotInAnyFragment() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/sourceNotInAnyFragment.args");
+ }
+
+ @TestMetadata("successfulCompilation.args")
+ public void testSuccessfulCompilation() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/successfulCompilation.args");
+ }
+
+ @TestMetadata("successfulCompilation2.args")
+ public void testSuccessfulCompilation2() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/successfulCompilation2.args");
+ }
+
+ @TestMetadata("successfulCompilationWithScript.args")
+ public void testSuccessfulCompilationWithScript() {
+ runTest("compiler/testData/cli/jvm/XfragmentSources/successfulCompilationWithScript.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_extraArgCommonChecks")
+ @TestMetadata("compiler/testData/cli/jvm/XjdkRelease")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _extraArgCommonChecks extends AbstractCliTest {
+ public static class XjdkRelease extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- @TestMetadata("advancedOptionEmpty.args")
- public void testAdvancedOptionEmpty() {
- runTest("compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionEmpty.args");
- }
-
- @TestMetadata("advancedOptionMultiple.args")
- public void testAdvancedOptionMultiple() {
- runTest("compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionMultiple.args");
- }
-
- @TestMetadata("advancedOptionNoValue.args")
- public void testAdvancedOptionNoValue() {
- runTest("compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionNoValue.args");
- }
-
- @TestMetadata("advancedOptionObsoleteForm.args")
- public void testAdvancedOptionObsoleteForm() {
- runTest("compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionObsoleteForm.args");
- }
-
- @TestMetadata("advancedOptionUnrecognized.args")
- public void testAdvancedOptionUnrecognized() {
- runTest("compiler/testData/cli/jvm/_extraArgCommonChecks/advancedOptionUnrecognized.args");
- }
-
- public void testAllFilesPresentIn_extraArgCommonChecks() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_extraArgCommonChecks"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("extraBooleanArgumentEqualsFalse.args")
- public void testExtraBooleanArgumentEqualsFalse() {
- runTest("compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsFalse.args");
- }
-
- @TestMetadata("extraBooleanArgumentEqualsNonsense.args")
- public void testExtraBooleanArgumentEqualsNonsense() {
- runTest("compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsNonsense.args");
- }
-
- @TestMetadata("extraBooleanArgumentEqualsTrue.args")
- public void testExtraBooleanArgumentEqualsTrue() {
- runTest("compiler/testData/cli/jvm/_extraArgCommonChecks/extraBooleanArgumentEqualsTrue.args");
- }
-
- @TestMetadata("unknownExtraFlags.args")
- public void testUnknownExtraFlags() {
- runTest("compiler/testData/cli/jvm/_extraArgCommonChecks/unknownExtraFlags.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_jspecify")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _jspecify extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_jspecify() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_jspecify"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("jspecifyByLv16.args")
- public void testJspecifyByLv16() {
- runTest("compiler/testData/cli/jvm/_jspecify/jspecifyByLv16.args");
- }
-
- @TestMetadata("jspecifyByLv19.args")
- public void testJspecifyByLv19() {
- runTest("compiler/testData/cli/jvm/_jspecify/jspecifyByLv19.args");
- }
-
- @TestMetadata("jspecifyDefault.args")
- public void testJspecifyDefault() {
- runTest("compiler/testData/cli/jvm/_jspecify/jspecifyDefault.args");
- }
-
- @TestMetadata("jspecifyEmpty.args")
- public void testJspecifyEmpty() {
- runTest("compiler/testData/cli/jvm/_jspecify/jspecifyEmpty.args");
- }
-
- @TestMetadata("jspecifyIgnore.args")
- public void testJspecifyIgnore() {
- runTest("compiler/testData/cli/jvm/_jspecify/jspecifyIgnore.args");
- }
-
- @TestMetadata("jspecifyInvalid.args")
- public void testJspecifyInvalid() {
- runTest("compiler/testData/cli/jvm/_jspecify/jspecifyInvalid.args");
- }
-
- @TestMetadata("jspecifyStrict.args")
- public void testJspecifyStrict() {
- runTest("compiler/testData/cli/jvm/_jspecify/jspecifyStrict.args");
- }
-
- @TestMetadata("jspecifyWarn.args")
- public void testJspecifyWarn() {
- runTest("compiler/testData/cli/jvm/_jspecify/jspecifyWarn.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_jsr305")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _jsr305 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_jsr305() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_jsr305"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("jsr305AllIgnore.args")
- public void testJsr305AllIgnore() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305AllIgnore.args");
- }
-
- @TestMetadata("jsr305DefaultMigration.args")
- public void testJsr305DefaultMigration() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305DefaultMigration.args");
- }
-
- @TestMetadata("jsr305DeprecatedEnable.args")
- public void testJsr305DeprecatedEnable() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedEnable.args");
- }
-
- @TestMetadata("jsr305DeprecatedIgnore.args")
- public void testJsr305DeprecatedIgnore() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedIgnore.args");
- }
-
- @TestMetadata("jsr305DeprecatedWarn.args")
- public void testJsr305DeprecatedWarn() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305DeprecatedWarn.args");
- }
-
- @TestMetadata("jsr305FqNameIgnore.args")
- public void testJsr305FqNameIgnore() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305FqNameIgnore.args");
- }
-
- @TestMetadata("jsr305FqNameStrict.args")
- public void testJsr305FqNameStrict() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305FqNameStrict.args");
- }
-
- @TestMetadata("jsr305Ignore.args")
- public void testJsr305Ignore() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305Ignore.args");
- }
-
- @TestMetadata("jsr305MigrationDefault.args")
- public void testJsr305MigrationDefault() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305MigrationDefault.args");
- }
-
- @TestMetadata("jsr305MigrationFqNameIgnore.args")
- public void testJsr305MigrationFqNameIgnore() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305MigrationFqNameIgnore.args");
- }
-
- @TestMetadata("jsr305MigrationIgnore.args")
- public void testJsr305MigrationIgnore() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305MigrationIgnore.args");
- }
-
- @TestMetadata("jsr305MigrationWarn.args")
- public void testJsr305MigrationWarn() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305MigrationWarn.args");
- }
-
- @TestMetadata("jsr305NoFlag.args")
- public void testJsr305NoFlag() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305NoFlag.args");
- }
-
- @TestMetadata("jsr305PassedInObsoleteForm.args")
- public void testJsr305PassedInObsoleteForm() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305PassedInObsoleteForm.args");
- }
-
- @TestMetadata("jsr305Strict.args")
- public void testJsr305Strict() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305Strict.args");
- }
-
- @TestMetadata("jsr305Warn.args")
- public void testJsr305Warn() {
- runTest("compiler/testData/cli/jvm/_jsr305/jsr305Warn.args");
- }
-
- @TestMetadata("wrongXjsr305.args")
- public void testWrongXjsr305() {
- runTest("compiler/testData/cli/jvm/_jsr305/wrongXjsr305.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_jvmTarget")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _jvmTarget extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_jvmTarget() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_jvmTarget"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("jvm6Target.args")
- public void testJvm6Target() {
- runTest("compiler/testData/cli/jvm/_jvmTarget/jvm6Target.args");
- }
-
- @TestMetadata("jvm8Target.args")
- public void testJvm8Target() {
- runTest("compiler/testData/cli/jvm/_jvmTarget/jvm8Target.args");
- }
-
- @TestMetadata("wrongJvmTargetVersion.args")
- public void testWrongJvmTargetVersion() {
- runTest("compiler/testData/cli/jvm/_jvmTarget/wrongJvmTargetVersion.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_metadataVersion")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _metadataVersion extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_metadataVersion() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_metadataVersion"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("invalidMetadataVersion.args")
- public void testInvalidMetadataVersion() {
- runTest("compiler/testData/cli/jvm/_metadataVersion/invalidMetadataVersion.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_noInline")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _noInline extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_noInline() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_noInline"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("nonLocalDisabled.args")
- public void testNonLocalDisabled() {
- runTest("compiler/testData/cli/jvm/_noInline/nonLocalDisabled.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_noJdk")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _noJdk extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_noJdk() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_noJdk"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("firFriendlyErrorIfNoJdkOptionIsSet.args")
- public void testFirFriendlyErrorIfNoJdkOptionIsSet() {
- runTest("compiler/testData/cli/jvm/_noJdk/firFriendlyErrorIfNoJdkOptionIsSet.args");
- }
-
- @TestMetadata("noJdkAvoidFailure.args")
- public void testNoJdkAvoidFailure() {
- runTest("compiler/testData/cli/jvm/_noJdk/noJdkAvoidFailure.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_noReflect")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _noReflect extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_noReflect() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_noReflect"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("noReflect.args")
- public void testNoReflect() {
- runTest("compiler/testData/cli/jvm/_noReflect/noReflect.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_noStdlib")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _noStdlib extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_noStdlib() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_noStdlib"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("noStdlibK1.args")
- public void testNoStdlibK1() {
- runTest("compiler/testData/cli/jvm/_noStdlib/noStdlibK1.args");
- }
-
- @TestMetadata("noStdlibK2.args")
- public void testNoStdlibK2() {
- runTest("compiler/testData/cli/jvm/_noStdlib/noStdlibK2.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_optIn")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _optIn extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_optIn() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_optIn"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("experimentalDeprecated.args")
- public void testExperimentalDeprecated() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalDeprecated.args");
- }
-
- @TestMetadata("experimentalDeprecatedK1.args")
- public void testExperimentalDeprecatedK1() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalDeprecatedK1.args");
- }
-
- @TestMetadata("experimentalDeprecatedWarning.args")
- public void testExperimentalDeprecatedWarning() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarning.args");
- }
-
- @TestMetadata("experimentalDeprecatedWarningK1.args")
- public void testExperimentalDeprecatedWarningK1() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalDeprecatedWarningK1.args");
- }
-
- @TestMetadata("experimentalIsNotAnnotation.args")
- public void testExperimentalIsNotAnnotation() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotation.args");
- }
-
- @TestMetadata("experimentalIsNotAnnotationK1.args")
- public void testExperimentalIsNotAnnotationK1() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalIsNotAnnotationK1.args");
- }
-
- @TestMetadata("experimentalIsNotMarker.args")
- public void testExperimentalIsNotMarker() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalIsNotMarker.args");
- }
-
- @TestMetadata("experimentalIsNotMarkerK1.args")
- public void testExperimentalIsNotMarkerK1() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalIsNotMarkerK1.args");
- }
-
- @TestMetadata("experimentalNested.args")
- public void testExperimentalNested() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalNested.args");
- }
-
- @TestMetadata("experimentalNestedK1.args")
- public void testExperimentalNestedK1() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalNestedK1.args");
- }
-
- @TestMetadata("experimentalUnresolved.args")
- public void testExperimentalUnresolved() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalUnresolved.args");
- }
-
- @TestMetadata("experimentalUnresolvedK1.args")
- public void testExperimentalUnresolvedK1() {
- runTest("compiler/testData/cli/jvm/_optIn/experimentalUnresolvedK1.args");
- }
-
- @TestMetadata("optInEmptyMessage.args")
- public void testOptInEmptyMessage() {
- runTest("compiler/testData/cli/jvm/_optIn/optInEmptyMessage.args");
- }
-
- @TestMetadata("optInEmptyMessageFir.args")
- public void testOptInEmptyMessageFir() {
- runTest("compiler/testData/cli/jvm/_optIn/optInEmptyMessageFir.args");
- }
-
- @TestMetadata("optInOverrideMessage.args")
- public void testOptInOverrideMessage() {
- runTest("compiler/testData/cli/jvm/_optIn/optInOverrideMessage.args");
- }
-
- @TestMetadata("optInOverrideMessageFir.args")
- public void testOptInOverrideMessageFir() {
- runTest("compiler/testData/cli/jvm/_optIn/optInOverrideMessageFir.args");
- }
-
- @TestMetadata("useDeclarationThatWasExperimentalWithoutExplicitImport.args")
- public void testUseDeclarationThatWasExperimentalWithoutExplicitImport() {
- runTest("compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImport.args");
- }
-
- @TestMetadata("useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args")
- public void testUseDeclarationThatWasExperimentalWithoutExplicitImportCommandLine() {
- runTest("compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args");
- }
-
- @TestMetadata("useDeclarationThatWasExperimentalWithoutMarker.args")
- public void testUseDeclarationThatWasExperimentalWithoutMarker() {
- runTest("compiler/testData/cli/jvm/_optIn/useDeclarationThatWasExperimentalWithoutMarker.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_plugin")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _plugin extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_plugin() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_plugin"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("nonExistingPluginClassPath.args")
- public void testNonExistingPluginClassPath() {
- runTest("compiler/testData/cli/jvm/_plugin/nonExistingPluginClassPath.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_progressive")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _progressive extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_progressive() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_progressive"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("kt19628_progressive.args")
- public void testKt19628_progressive() {
- runTest("compiler/testData/cli/jvm/_progressive/kt19628_progressive.args");
- }
-
- @TestMetadata("progressiveModeOffForDeprecatedVersion.args")
- public void testProgressiveModeOffForDeprecatedVersion() {
- runTest("compiler/testData/cli/jvm/_progressive/progressiveModeOffForDeprecatedVersion.args");
- }
-
- @TestMetadata("progressiveModeOnForDeprecatedVersion.args")
- public void testProgressiveModeOnForDeprecatedVersion() {
- runTest("compiler/testData/cli/jvm/_progressive/progressiveModeOnForDeprecatedVersion.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_renderInternalDiagnosticNames")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _renderInternalDiagnosticNames extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_renderInternalDiagnosticNames() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_renderInternalDiagnosticNames"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("reportInternalDiagnosticNames.args")
- public void testReportInternalDiagnosticNames() {
- runTest("compiler/testData/cli/jvm/_renderInternalDiagnosticNames/reportInternalDiagnosticNames.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_reportAllWarnings")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _reportAllWarnings extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_reportAllWarnings() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_reportAllWarnings"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("reportAllWarnings.args")
- public void testReportAllWarnings() {
- runTest("compiler/testData/cli/jvm/_reportAllWarnings/reportAllWarnings.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_script")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _script extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_script() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_script"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("nonexistentScript.args")
- public void testNonexistentScript() {
- runTest("compiler/testData/cli/jvm/_script/nonexistentScript.args");
- }
-
- @TestMetadata("wrongScriptWithDirectory.args")
- public void testWrongScriptWithDirectory() {
- runTest("compiler/testData/cli/jvm/_script/wrongScriptWithDirectory.args");
- }
-
- @TestMetadata("wrongScriptWithKtSource.args")
- public void testWrongScriptWithKtSource() {
- runTest("compiler/testData/cli/jvm/_script/wrongScriptWithKtSource.args");
- }
-
- @TestMetadata("wrongScriptWithNoSource.args")
- public void testWrongScriptWithNoSource() {
- runTest("compiler/testData/cli/jvm/_script/wrongScriptWithNoSource.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_suppressVersionWarnings")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _suppressVersionWarnings extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_suppressVersionWarnings() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_suppressVersionWarnings"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("doNotSuppressVersionErrorsWithNoWarn.args")
- public void testDoNotSuppressVersionErrorsWithNoWarn() {
- runTest("compiler/testData/cli/jvm/_suppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.args");
- }
-
- @TestMetadata("kt48833_doNotSuppressVersionErrors.args")
- public void testKt48833_doNotSuppressVersionErrors() {
- runTest("compiler/testData/cli/jvm/_suppressVersionWarnings/kt48833_doNotSuppressVersionErrors.args");
- }
-
- @TestMetadata("suppressVersionWarnings.args")
- public void testSuppressVersionWarnings() {
- runTest("compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarnings.args");
- }
-
- @TestMetadata("suppressVersionWarningsWithReportAllWarn.args")
- public void testSuppressVersionWarningsWithReportAllWarn() {
- runTest("compiler/testData/cli/jvm/_suppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_suppressWarnings")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _suppressWarnings extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_suppressWarnings() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_suppressWarnings"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("multipleWarningSuppression.args")
- public void testMultipleWarningSuppression() {
- runTest("compiler/testData/cli/jvm/_suppressWarnings/multipleWarningSuppression.args");
- }
-
- @TestMetadata("suppressAllWarningsJvm.args")
- public void testSuppressAllWarningsJvm() {
- runTest("compiler/testData/cli/jvm/_suppressWarnings/suppressAllWarningsJvm.args");
- }
-
- @TestMetadata("warningSuppression.args")
- public void testWarningSuppression() {
- runTest("compiler/testData/cli/jvm/_suppressWarnings/warningSuppression.args");
- }
-
- @TestMetadata("warningSuppressionInvalid.args")
- public void testWarningSuppressionInvalid() {
- runTest("compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionInvalid.args");
- }
-
- @TestMetadata("warningSuppressionWithError.args")
- public void testWarningSuppressionWithError() {
- runTest("compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithError.args");
- }
-
- @TestMetadata("warningSuppressionWithNowarn.args")
- public void testWarningSuppressionWithNowarn() {
- runTest("compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithNowarn.args");
- }
-
- @TestMetadata("warningSuppressionWithReportAllWarn.args")
- public void testWarningSuppressionWithReportAllWarn() {
- runTest("compiler/testData/cli/jvm/_suppressWarnings/warningSuppressionWithReportAllWarn.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_useFirExperimentalCheckers")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _useFirExperimentalCheckers extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_useFirExperimentalCheckers() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_useFirExperimentalCheckers"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("experimentalCheckers.args")
- public void testExperimentalCheckers() {
- runTest("compiler/testData/cli/jvm/_useFirExperimentalCheckers/experimentalCheckers.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_useOldBackend")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _useOldBackend extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_useOldBackend() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_useOldBackend"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("oldBackend.args")
- public void testOldBackend() {
- runTest("compiler/testData/cli/jvm/_useOldBackend/oldBackend.args");
- }
-
- @TestMetadata("oldBackendWithScript.args")
- public void testOldBackendWithScript() {
- runTest("compiler/testData/cli/jvm/_useOldBackend/oldBackendWithScript.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_verbosePhases")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _verbosePhases extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_verbosePhases() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_verbosePhases"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("nonExistingPhaseName.args")
- public void testNonExistingPhaseName() {
- runTest("compiler/testData/cli/jvm/_verbosePhases/nonExistingPhaseName.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_werror")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _werror extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_werror() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_werror"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("werror.args")
- public void testWerror() {
- runTest("compiler/testData/cli/jvm/_werror/werror.args");
- }
-
- @TestMetadata("werrorWithExplicitError.args")
- public void testWerrorWithExplicitError() {
- runTest("compiler/testData/cli/jvm/_werror/werrorWithExplicitError.args");
- }
-
- @TestMetadata("werrorWithNoWarn.args")
- public void testWerrorWithNoWarn() {
- runTest("compiler/testData/cli/jvm/_werror/werrorWithNoWarn.args");
- }
-
- @TestMetadata("werrorWithStrongWarning.args")
- public void testWerrorWithStrongWarning() {
- runTest("compiler/testData/cli/jvm/_werror/werrorWithStrongWarning.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _languageFeatures extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_languageFeatures() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/contextParameters")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class ContextParameters extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInContextParameters() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/contextParameters"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("contextParameters.args")
- public void testContextParameters() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextParameters.args");
- }
-
- @TestMetadata("contextReceiversAndParametersAtTheSameTime.args")
- public void testContextReceiversAndParametersAtTheSameTime() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversAndParametersAtTheSameTime.args");
- }
-
- @TestMetadata("contextReceiversDeprecated.args")
- public void testContextReceiversDeprecated() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/contextParameters/contextReceiversDeprecated.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class Coroutines_1_3 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInCoroutines_1_3() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("coroutinesEnable.args")
- public void testCoroutinesEnable() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesEnable.args");
- }
-
- @TestMetadata("coroutinesError.args")
- public void testCoroutinesError() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesError.args");
- }
-
- @TestMetadata("coroutinesErrorAndEnable.args")
- public void testCoroutinesErrorAndEnable() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesErrorAndEnable.args");
- }
-
- @TestMetadata("coroutinesWarn.args")
- public void testCoroutinesWarn() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/coroutines_1_3/coroutinesWarn.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/enumEntries")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class EnumEntries extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInEnumEntries() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/enumEntries"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("enumEntriesForJavaNotEnabled.args")
- public void testEnumEntriesForJavaNotEnabled() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesForJavaNotEnabled.args");
- }
-
- @TestMetadata("enumEntriesNotEnabled.args")
- public void testEnumEntriesNotEnabled() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/enumEntries/enumEntriesNotEnabled.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class JvmRecordSupport_1_5 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInJvmRecordSupport_1_5() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("jvmRecordOk.args")
- public void testJvmRecordOk() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordOk.args");
- }
-
- @TestMetadata("jvmRecordWrongTarget.args")
- public void testJvmRecordWrongTarget() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/jvmRecordSupport_1_5/jvmRecordWrongTarget.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class MultiPlatformProjects extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInMultiPlatformProjects() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("firMultiplatformCompilationWithError.args")
- public void testFirMultiplatformCompilationWithError() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError.args");
- }
-
- @TestMetadata("firMultiplatformCompilationWithPsiWithoutErrors.args")
- public void testFirMultiplatformCompilationWithPsiWithoutErrors() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.args");
- }
-
- @TestMetadata("firMultiplatformCompilationWithoutErrors.args")
- public void testFirMultiplatformCompilationWithoutErrors() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors.args");
- }
-
- @TestMetadata("multiplatformCompilationWithCommonScript.args")
- public void testMultiplatformCompilationWithCommonScript() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithCommonScript.args");
- }
-
- @TestMetadata("multiplatformCompilationWithScript.args")
- public void testMultiplatformCompilationWithScript() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/multiplatformCompilationWithScript.args");
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class FirMultiplatformCompilationWithError extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInFirMultiplatformCompilationWithError() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithError"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class FirMultiplatformCompilationWithoutErrors extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInFirMultiplatformCompilationWithoutErrors() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/firMultiplatformCompilationWithoutErrors"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/scripts")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class Scripts extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInScripts() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/multiPlatformProjects/scripts"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/newInference_1_4")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class NewInference_1_4 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInNewInference_1_4() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/newInference_1_4"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args")
- public void testFunctionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args");
- }
-
- @TestMetadata("functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args")
- public void testFunctionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/newInference_1_4/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class SamConversionForKotlinFunctions_1_4 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInSamConversionForKotlinFunctions_1_4() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("explicitlyDisableSamConversionsWithOldFlag.args")
- public void testExplicitlyDisableSamConversionsWithOldFlag() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisableSamConversionsWithOldFlag.args");
- }
-
- @TestMetadata("explicitlyDisabledSamConversions.args")
- public void testExplicitlyDisabledSamConversions() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/samConversionForKotlinFunctions_1_4/explicitlyDisabledSamConversions.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class SamConversionPerArgument_1_4 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInSamConversionPerArgument_1_4() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("standaloneSamConversionsAreEnabledWithNewInference.args")
- public void testStandaloneSamConversionsAreEnabledWithNewInference() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInference.args");
- }
-
- @TestMetadata("standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args")
- public void testStandaloneSamConversionsAreEnabledWithNewInferenceInternalFlag() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/samConversionPerArgument_1_4/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class SoundSmartCastsAfterTry_1_2 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInSoundSmartCastsAfterTry_1_2() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("internalArgWrongPrefix.args")
- public void testInternalArgWrongPrefix() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/internalArgWrongPrefix.args");
- }
-
- @TestMetadata("legacySmartCastsAfterTry.args")
- public void testLegacySmartCastsAfterTry() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/soundSmartCastsAfterTry_1_2/legacySmartCastsAfterTry.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class TypeInferenceOnCallsWithSelfTypes_1_6 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInTypeInferenceOnCallsWithSelfTypes_1_6() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("selfUpperBoundInference.args")
- public void testSelfUpperBoundInference() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/typeInferenceOnCallsWithSelfTypes_1_6/selfUpperBoundInference.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/unrestrictedBuilderInference_1_6")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class UnrestrictedBuilderInference_1_6 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInUnrestrictedBuilderInference_1_6() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/unrestrictedBuilderInference_1_6"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("unrestrictedBuilderInference.args")
- public void testUnrestrictedBuilderInference() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/unrestrictedBuilderInference_1_6/unrestrictedBuilderInference.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class UseBuilderInferenceWithoutAnnotation_1_7 extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInUseBuilderInferenceWithoutAnnotation_1_7() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("builderInferenceByDefault.args")
- public void testBuilderInferenceByDefault() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceByDefault.args");
- }
-
- @TestMetadata("builderInferenceEnable.args")
- public void testBuilderInferenceEnable() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceEnable.args");
- }
-
- @TestMetadata("builderInferenceErrors.args")
- public void testBuilderInferenceErrors() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/useBuilderInferenceWithoutAnnotation_1_7/builderInferenceErrors.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/whenGuards")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class WhenGuards extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInWhenGuards() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/whenGuards"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
-
- @TestMetadata("whenGuardsEnable.args")
- public void testWhenGuardsEnable() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsEnable.args");
- }
-
- @TestMetadata("whenGuardsError.args")
- public void testWhenGuardsError() {
- runTest("compiler/testData/cli/jvm/_languageFeatures/whenGuards/whenGuardsError.args");
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageFeatures/whenGuards/src")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class Src extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentInSrc() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageFeatures/whenGuards/src"), Pattern.compile("^(.+)\\.args$"), null, true);
- }
- }
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_apiVersion")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _apiVersion extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_apiVersion() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_apiVersion"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("apiAndLanguageVersionsUnsupported.args")
- public void testApiAndLanguageVersionsUnsupported() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiAndLanguageVersionsUnsupported.args");
- }
-
- @TestMetadata("apiVersion.args")
- public void testApiVersion() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersion.args");
- }
-
- @TestMetadata("apiVersionAndSinceNewerKotlin.args")
- public void testApiVersionAndSinceNewerKotlin() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionAndSinceNewerKotlin.args");
- }
-
- @TestMetadata("apiVersionDeprecated.args")
- public void testApiVersionDeprecated() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionDeprecated.args");
- }
-
- @TestMetadata("apiVersionEmpty.args")
- public void testApiVersionEmpty() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionEmpty.args");
- }
-
- @TestMetadata("apiVersionGreaterThanLanguage.args")
- public void testApiVersionGreaterThanLanguage() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguage.args");
- }
-
- @TestMetadata("apiVersionGreaterThanLanguageSuppress.args")
- public void testApiVersionGreaterThanLanguageSuppress() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppress.args");
- }
-
- @TestMetadata("apiVersionGreaterThanLanguageSuppressUseless.args")
- public void testApiVersionGreaterThanLanguageSuppressUseless() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionGreaterThanLanguageSuppressUseless.args");
- }
-
- @TestMetadata("apiVersionInvalid.args")
- public void testApiVersionInvalid() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionInvalid.args");
- }
-
- @TestMetadata("apiVersionLessThanLanguage.args")
- public void testApiVersionLessThanLanguage() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguage.args");
- }
-
- @TestMetadata("apiVersionLessThanLanguageUsingArgfile.args")
- public void testApiVersionLessThanLanguageUsingArgfile() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionLessThanLanguageUsingArgfile.args");
- }
-
- @TestMetadata("apiVersionUnsupported.args")
- public void testApiVersionUnsupported() {
- runTest("compiler/testData/cli/jvm/_apiVersion/apiVersionUnsupported.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_languageVersion")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _languageVersion extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_languageVersion() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_languageVersion"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("languageVersion.args")
- public void testLanguageVersion() {
- runTest("compiler/testData/cli/jvm/_languageVersion/languageVersion.args");
- }
-
- @TestMetadata("languageVersionDeprecated.args")
- public void testLanguageVersionDeprecated() {
- runTest("compiler/testData/cli/jvm/_languageVersion/languageVersionDeprecated.args");
- }
-
- @TestMetadata("languageVersionEmpty.args")
- public void testLanguageVersionEmpty() {
- runTest("compiler/testData/cli/jvm/_languageVersion/languageVersionEmpty.args");
- }
-
- @TestMetadata("languageVersionExperimental.args")
- public void testLanguageVersionExperimental() {
- runTest("compiler/testData/cli/jvm/_languageVersion/languageVersionExperimental.args");
- }
-
- @TestMetadata("languageVersionInvalid.args")
- public void testLanguageVersionInvalid() {
- runTest("compiler/testData/cli/jvm/_languageVersion/languageVersionInvalid.args");
- }
-
- @TestMetadata("languageVersionMupltiple.args")
- public void testLanguageVersionMupltiple() {
- runTest("compiler/testData/cli/jvm/_languageVersion/languageVersionMupltiple.args");
- }
-
- @TestMetadata("languageVersionUnsupported.args")
- public void testLanguageVersionUnsupported() {
- runTest("compiler/testData/cli/jvm/_languageVersion/languageVersionUnsupported.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_jdkHome")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _jdkHome extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_jdkHome() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_jdkHome"), Pattern.compile("^(.+)\\.args$"), null, false);
- }
-
- @TestMetadata("emptyJdkHome.args")
- public void testEmptyJdkHome() {
- runTest("compiler/testData/cli/jvm/_jdkHome/emptyJdkHome.args");
- }
-
- @TestMetadata("invalidJdkHome.args")
- public void testInvalidJdkHome() {
- runTest("compiler/testData/cli/jvm/_jdkHome/invalidJdkHome.args");
- }
-
- @TestMetadata("invalidMultipleArgJdkHome.args")
- public void testInvalidMultipleArgJdkHome() {
- runTest("compiler/testData/cli/jvm/_jdkHome/invalidMultipleArgJdkHome.args");
- }
-
- @TestMetadata("jdkHome.args")
- public void testJdkHome() {
- runTest("compiler/testData/cli/jvm/_jdkHome/jdkHome.args");
- }
-
- @TestMetadata("multipleJdkHome.args")
- public void testMultipleJdkHome() {
- runTest("compiler/testData/cli/jvm/_jdkHome/multipleJdkHome.args");
- }
-
- @TestMetadata("warningJdkHomeWithNoJdk.args")
- public void testWarningJdkHomeWithNoJdk() {
- runTest("compiler/testData/cli/jvm/_jdkHome/warningJdkHomeWithNoJdk.args");
- }
-
- @TestMetadata("wrongJdkHome.args")
- public void testWrongJdkHome() {
- runTest("compiler/testData/cli/jvm/_jdkHome/wrongJdkHome.args");
- }
- }
-
- @TestMetadata("compiler/testData/cli/jvm/_jdkRelease")
- @TestDataPath("$PROJECT_ROOT")
- @RunWith(JUnit3RunnerWithInners.class)
- public static class _jdkRelease extends AbstractCliTest {
- private void runTest(String testDataFilePath) {
- KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
- }
-
- public void testAllFilesPresentIn_jdkRelease() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_jdkRelease"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXjdkRelease() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XjdkRelease"), Pattern.compile("^(.+)\\.args$"), null, false);
}
@TestMetadata("jdkRelease.args")
public void testJdkRelease() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkRelease.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkRelease.args");
}
@TestMetadata("jdkRelease20WithCorruptedClass.args")
public void testJdkRelease20WithCorruptedClass() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkRelease20WithCorruptedClass.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkRelease20WithCorruptedClass.args");
}
@TestMetadata("jdkRelease6WithJvmTarget8Jdk11.args")
public void testJdkRelease6WithJvmTarget8Jdk11() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk11.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk11.args");
}
@TestMetadata("jdkRelease6WithJvmTarget8Jdk8.args")
public void testJdkRelease6WithJvmTarget8Jdk8() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget8Jdk8.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget8Jdk8.args");
}
@TestMetadata("jdkRelease6WithJvmTarget9.args")
public void testJdkRelease6WithJvmTarget9() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithJvmTarget9.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithJvmTarget9.args");
}
@TestMetadata("jdkRelease6WithoutExplicitJvmTarget.args")
public void testJdkRelease6WithoutExplicitJvmTarget() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkRelease6WithoutExplicitJvmTarget.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkRelease6WithoutExplicitJvmTarget.args");
}
@TestMetadata("jdkRelease7WithJvmTarget8Jdk11.args")
public void testJdkRelease7WithJvmTarget8Jdk11() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk11.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk11.args");
}
@TestMetadata("jdkRelease7WithJvmTarget8Jdk8.args")
public void testJdkRelease7WithJvmTarget8Jdk8() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkRelease7WithJvmTarget8Jdk8.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkRelease7WithJvmTarget8Jdk8.args");
}
@TestMetadata("jdkRelease8.args")
public void testJdkRelease8() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkRelease8.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkRelease8.args");
}
@TestMetadata("jdkReleaseInvalid.args")
public void testJdkReleaseInvalid() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalid.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalid.args");
}
@TestMetadata("jdkReleaseInvalidEmpty.args")
public void testJdkReleaseInvalidEmpty() {
- runTest("compiler/testData/cli/jvm/_jdkRelease/jdkReleaseInvalidEmpty.args");
+ runTest("compiler/testData/cli/jvm/XjdkRelease/jdkReleaseInvalidEmpty.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_classPath")
+ @TestMetadata("compiler/testData/cli/jvm/XjspecifyAnnotations")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _classPath extends AbstractCliTest {
+ public static class XjspecifyAnnotations extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_classPath() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_classPath"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXjspecifyAnnotations() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XjspecifyAnnotations"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("classPath.args")
- public void testClassPath() {
- runTest("compiler/testData/cli/jvm/_classPath/classPath.args");
+ @TestMetadata("jspecifyByLv16.args")
+ public void testJspecifyByLv16() {
+ runTest("compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv16.args");
}
- @TestMetadata("emptyClassPath.args")
- public void testEmptyClassPath() {
- runTest("compiler/testData/cli/jvm/_classPath/emptyClassPath.args");
+ @TestMetadata("jspecifyByLv19.args")
+ public void testJspecifyByLv19() {
+ runTest("compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyByLv19.args");
}
- @TestMetadata("invalidClassPath.args")
- public void testInvalidClassPath() {
- runTest("compiler/testData/cli/jvm/_classPath/invalidClassPath.args");
+ @TestMetadata("jspecifyDefault.args")
+ public void testJspecifyDefault() {
+ runTest("compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyDefault.args");
}
- @TestMetadata("wrongAbiVersion.args")
- public void testWrongAbiVersion() {
- runTest("compiler/testData/cli/jvm/_classPath/wrongAbiVersion.args");
+ @TestMetadata("jspecifyEmpty.args")
+ public void testJspecifyEmpty() {
+ runTest("compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyEmpty.args");
+ }
+
+ @TestMetadata("jspecifyIgnore.args")
+ public void testJspecifyIgnore() {
+ runTest("compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyIgnore.args");
+ }
+
+ @TestMetadata("jspecifyInvalid.args")
+ public void testJspecifyInvalid() {
+ runTest("compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyInvalid.args");
+ }
+
+ @TestMetadata("jspecifyStrict.args")
+ public void testJspecifyStrict() {
+ runTest("compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyStrict.args");
+ }
+
+ @TestMetadata("jspecifyWarn.args")
+ public void testJspecifyWarn() {
+ runTest("compiler/testData/cli/jvm/XjspecifyAnnotations/jspecifyWarn.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_version")
+ @TestMetadata("compiler/testData/cli/jvm/Xjsr305")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _version extends AbstractCliTest {
+ public static class Xjsr305 extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_version() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_version"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXjsr305() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/Xjsr305"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("version.args")
- public void testVersion() {
- runTest("compiler/testData/cli/jvm/_version/version.args");
+ @TestMetadata("jsr305AllIgnore.args")
+ public void testJsr305AllIgnore() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305AllIgnore.args");
+ }
+
+ @TestMetadata("jsr305DefaultMigration.args")
+ public void testJsr305DefaultMigration() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305DefaultMigration.args");
+ }
+
+ @TestMetadata("jsr305DeprecatedEnable.args")
+ public void testJsr305DeprecatedEnable() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedEnable.args");
+ }
+
+ @TestMetadata("jsr305DeprecatedIgnore.args")
+ public void testJsr305DeprecatedIgnore() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedIgnore.args");
+ }
+
+ @TestMetadata("jsr305DeprecatedWarn.args")
+ public void testJsr305DeprecatedWarn() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305DeprecatedWarn.args");
+ }
+
+ @TestMetadata("jsr305FqNameIgnore.args")
+ public void testJsr305FqNameIgnore() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305FqNameIgnore.args");
+ }
+
+ @TestMetadata("jsr305FqNameStrict.args")
+ public void testJsr305FqNameStrict() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305FqNameStrict.args");
+ }
+
+ @TestMetadata("jsr305Ignore.args")
+ public void testJsr305Ignore() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305Ignore.args");
+ }
+
+ @TestMetadata("jsr305MigrationDefault.args")
+ public void testJsr305MigrationDefault() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305MigrationDefault.args");
+ }
+
+ @TestMetadata("jsr305MigrationFqNameIgnore.args")
+ public void testJsr305MigrationFqNameIgnore() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305MigrationFqNameIgnore.args");
+ }
+
+ @TestMetadata("jsr305MigrationIgnore.args")
+ public void testJsr305MigrationIgnore() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305MigrationIgnore.args");
+ }
+
+ @TestMetadata("jsr305MigrationWarn.args")
+ public void testJsr305MigrationWarn() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305MigrationWarn.args");
+ }
+
+ @TestMetadata("jsr305NoFlag.args")
+ public void testJsr305NoFlag() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305NoFlag.args");
+ }
+
+ @TestMetadata("jsr305PassedInObsoleteForm.args")
+ public void testJsr305PassedInObsoleteForm() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305PassedInObsoleteForm.args");
+ }
+
+ @TestMetadata("jsr305Strict.args")
+ public void testJsr305Strict() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305Strict.args");
+ }
+
+ @TestMetadata("jsr305Warn.args")
+ public void testJsr305Warn() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/jsr305Warn.args");
+ }
+
+ @TestMetadata("wrongXjsr305.args")
+ public void testWrongXjsr305() {
+ runTest("compiler/testData/cli/jvm/Xjsr305/wrongXjsr305.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/_expression")
+ @TestMetadata("compiler/testData/cli/jvm/XjvmDefault")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class _expression extends AbstractCliTest {
+ public static class XjvmDefault extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentIn_expression() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/_expression"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXjvmDefault() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XjvmDefault"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("expression1.args")
- public void testExpression1() {
- runTest("compiler/testData/cli/jvm/_expression/expression1.args");
+ @TestMetadata("jvmDefaultAll.args")
+ public void testJvmDefaultAll() {
+ runTest("compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAll.args");
+ }
+
+ @TestMetadata("jvmDefaultAllCompatibility.args")
+ public void testJvmDefaultAllCompatibility() {
+ runTest("compiler/testData/cli/jvm/XjvmDefault/jvmDefaultAllCompatibility.args");
+ }
+
+ @TestMetadata("jvmDefaultDisable.args")
+ public void testJvmDefaultDisable() {
+ runTest("compiler/testData/cli/jvm/XjvmDefault/jvmDefaultDisable.args");
+ }
+
+ @TestMetadata("jvmDefaultIncorrectValue.args")
+ public void testJvmDefaultIncorrectValue() {
+ runTest("compiler/testData/cli/jvm/XjvmDefault/jvmDefaultIncorrectValue.args");
}
}
- @TestMetadata("compiler/testData/cli/jvm/sourceFilesAndDirectories")
+ @TestMetadata("compiler/testData/cli/jvm/Xlambdas")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
- public static class SourceFilesAndDirectories extends AbstractCliTest {
+ public static class Xlambdas extends AbstractCliTest {
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- public void testAllFilesPresentInSourceFilesAndDirectories() {
- KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/sourceFilesAndDirectories"), Pattern.compile("^(.+)\\.args$"), null, false);
+ public void testAllFilesPresentInXlambdas() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/Xlambdas"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("dirWithKotlinAndJavaFiles.args")
- public void testDirWithKotlinAndJavaFiles() {
- runTest("compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndJavaFiles.args");
+ @TestMetadata("syntheticAccessorForPropertiesSignatureClash.args")
+ public void testSyntheticAccessorForPropertiesSignatureClash() {
+ runTest("compiler/testData/cli/jvm/Xlambdas/syntheticAccessorForPropertiesSignatureClash.args");
}
- @TestMetadata("dirWithKotlinAndNonKotlinFiles.args")
- public void testDirWithKotlinAndNonKotlinFiles() {
- runTest("compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinAndNonKotlinFiles.args");
+ @TestMetadata("syntheticAccessorPropertyAndFunSignatureClash.args")
+ public void testSyntheticAccessorPropertyAndFunSignatureClash() {
+ runTest("compiler/testData/cli/jvm/Xlambdas/syntheticAccessorPropertyAndFunSignatureClash.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XmetadataVersion")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XmetadataVersion extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- @TestMetadata("dirWithKotlinFile.args")
- public void testDirWithKotlinFile() {
- runTest("compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFile.args");
+ public void testAllFilesPresentInXmetadataVersion() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XmetadataVersion"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("dirWithKotlinFileRecursive.args")
- public void testDirWithKotlinFileRecursive() {
- runTest("compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinFileRecursive.args");
+ @TestMetadata("invalidMetadataVersion.args")
+ public void testInvalidMetadataVersion() {
+ runTest("compiler/testData/cli/jvm/XmetadataVersion/invalidMetadataVersion.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XmultiPlatform")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XmultiPlatform extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- @TestMetadata("dirWithKotlinScript.args")
- public void testDirWithKotlinScript() {
- runTest("compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScript.args");
+ public void testAllFilesPresentInXmultiPlatform() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XmultiPlatform"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("dirWithKotlinScriptPsi.args")
- public void testDirWithKotlinScriptPsi() {
- runTest("compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithKotlinScriptPsi.args");
+ @TestMetadata("k2SimpleMultiplatformGenericClass.args")
+ public void testK2SimpleMultiplatformGenericClass() {
+ runTest("compiler/testData/cli/jvm/XmultiPlatform/k2SimpleMultiplatformGenericClass.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XnewInference")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XnewInference extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
}
- @TestMetadata("dirWithOnlyNonKotlinFile.args")
- public void testDirWithOnlyNonKotlinFile() {
- runTest("compiler/testData/cli/jvm/sourceFilesAndDirectories/dirWithOnlyNonKotlinFile.args");
+ public void testAllFilesPresentInXnewInference() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XnewInference"), Pattern.compile("^(.+)\\.args$"), null, false);
}
- @TestMetadata("withNonKotlinFile.args")
- public void testWithNonKotlinFile() {
- runTest("compiler/testData/cli/jvm/sourceFilesAndDirectories/withNonKotlinFile.args");
+ @TestMetadata("functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args")
+ public void testFunctionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference() {
+ runTest("compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.args");
+ }
+
+ @TestMetadata("functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args")
+ public void testFunctionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference() {
+ runTest("compiler/testData/cli/jvm/XnewInference/functionReferenceWithDefaultValuesFeatureIsEnabledWithXXNewInference.args");
+ }
+
+ @TestMetadata("standaloneSamConversionsAreEnabledWithNewInference.args")
+ public void testStandaloneSamConversionsAreEnabledWithNewInference() {
+ runTest("compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInference.args");
+ }
+
+ @TestMetadata("standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args")
+ public void testStandaloneSamConversionsAreEnabledWithNewInferenceInternalFlag() {
+ runTest("compiler/testData/cli/jvm/XnewInference/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XnoInline")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XnoInline extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXnoInline() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XnoInline"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("nonLocalDisabled.args")
+ public void testNonLocalDisabled() {
+ runTest("compiler/testData/cli/jvm/XnoInline/nonLocalDisabled.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XnullabilityAnnotations")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XnullabilityAnnotations extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXnullabilityAnnotations() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XnullabilityAnnotations"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("nullabilityAnnotations.args")
+ public void testNullabilityAnnotations() {
+ runTest("compiler/testData/cli/jvm/XnullabilityAnnotations/nullabilityAnnotations.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/Xplugin")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class Xplugin extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXplugin() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/Xplugin"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("firAllOpenPlugin_legacy.args")
+ public void testFirAllOpenPlugin_legacy() {
+ runTest("compiler/testData/cli/jvm/Xplugin/firAllOpenPlugin_legacy.args");
+ }
+
+ @TestMetadata("nonExistingPluginClassPath.args")
+ public void testNonExistingPluginClassPath() {
+ runTest("compiler/testData/cli/jvm/Xplugin/nonExistingPluginClassPath.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XrenderInternalDiagnosticNames")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XrenderInternalDiagnosticNames extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXrenderInternalDiagnosticNames() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XrenderInternalDiagnosticNames"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("reportInternalDiagnosticNames.args")
+ public void testReportInternalDiagnosticNames() {
+ runTest("compiler/testData/cli/jvm/XrenderInternalDiagnosticNames/reportInternalDiagnosticNames.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XreportAllWarnings")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XreportAllWarnings extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXreportAllWarnings() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XreportAllWarnings"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("reportAllWarnings.args")
+ public void testReportAllWarnings() {
+ runTest("compiler/testData/cli/jvm/XreportAllWarnings/reportAllWarnings.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XselfUpperBoundInference")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XselfUpperBoundInference extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXselfUpperBoundInference() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XselfUpperBoundInference"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("selfUpperBoundInference.args")
+ public void testSelfUpperBoundInference() {
+ runTest("compiler/testData/cli/jvm/XselfUpperBoundInference/selfUpperBoundInference.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XsupportCompatqualCheckerFrameworkAnnotations extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXsupportCompatqualCheckerFrameworkAnnotations() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("compatqualDefault.args")
+ public void testCompatqualDefault() {
+ runTest("compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDefault.args");
+ }
+
+ @TestMetadata("compatqualDisable.args")
+ public void testCompatqualDisable() {
+ runTest("compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualDisable.args");
+ }
+
+ @TestMetadata("compatqualEnable.args")
+ public void testCompatqualEnable() {
+ runTest("compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualEnable.args");
+ }
+
+ @TestMetadata("compatqualWrong.args")
+ public void testCompatqualWrong() {
+ runTest("compiler/testData/cli/jvm/XsupportCompatqualCheckerFrameworkAnnotations/compatqualWrong.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XsuppressVersionWarnings")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XsuppressVersionWarnings extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXsuppressVersionWarnings() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XsuppressVersionWarnings"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("doNotSuppressVersionErrorsWithNoWarn.args")
+ public void testDoNotSuppressVersionErrorsWithNoWarn() {
+ runTest("compiler/testData/cli/jvm/XsuppressVersionWarnings/doNotSuppressVersionErrorsWithNoWarn.args");
+ }
+
+ @TestMetadata("kt48833_doNotSuppressVersionErrors.args")
+ public void testKt48833_doNotSuppressVersionErrors() {
+ runTest("compiler/testData/cli/jvm/XsuppressVersionWarnings/kt48833_doNotSuppressVersionErrors.args");
+ }
+
+ @TestMetadata("suppressVersionWarnings.args")
+ public void testSuppressVersionWarnings() {
+ runTest("compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarnings.args");
+ }
+
+ @TestMetadata("suppressVersionWarningsWithReportAllWarn.args")
+ public void testSuppressVersionWarningsWithReportAllWarn() {
+ runTest("compiler/testData/cli/jvm/XsuppressVersionWarnings/suppressVersionWarningsWithReportAllWarn.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XsuppressWarnings")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XsuppressWarnings extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXsuppressWarnings() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XsuppressWarnings"), Pattern.compile("^(.+)\\.args$"), null, true);
+ }
+
+ @TestMetadata("multipleWarningSuppression.args")
+ public void testMultipleWarningSuppression() {
+ runTest("compiler/testData/cli/jvm/XsuppressWarnings/multipleWarningSuppression.args");
+ }
+
+ @TestMetadata("suppressAllWarningsJvm.args")
+ public void testSuppressAllWarningsJvm() {
+ runTest("compiler/testData/cli/jvm/XsuppressWarnings/suppressAllWarningsJvm.args");
+ }
+
+ @TestMetadata("warningSuppression.args")
+ public void testWarningSuppression() {
+ runTest("compiler/testData/cli/jvm/XsuppressWarnings/warningSuppression.args");
+ }
+
+ @TestMetadata("warningSuppressionInvalid.args")
+ public void testWarningSuppressionInvalid() {
+ runTest("compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionInvalid.args");
+ }
+
+ @TestMetadata("warningSuppressionWithError.args")
+ public void testWarningSuppressionWithError() {
+ runTest("compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithError.args");
+ }
+
+ @TestMetadata("warningSuppressionWithNowarn.args")
+ public void testWarningSuppressionWithNowarn() {
+ runTest("compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithNowarn.args");
+ }
+
+ @TestMetadata("warningSuppressionWithReportAllWarn.args")
+ public void testWarningSuppressionWithReportAllWarn() {
+ runTest("compiler/testData/cli/jvm/XsuppressWarnings/warningSuppressionWithReportAllWarn.args");
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XsuppressWarnings/src")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class Src extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInSrc() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XsuppressWarnings/src"), Pattern.compile("^(.+)\\.args$"), null, true);
+ }
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XunrestrictedBuilderInference")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XunrestrictedBuilderInference extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXunrestrictedBuilderInference() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XunrestrictedBuilderInference"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("unrestrictedBuilderInference.args")
+ public void testUnrestrictedBuilderInference() {
+ runTest("compiler/testData/cli/jvm/XunrestrictedBuilderInference/unrestrictedBuilderInference.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XuseFastJarFileSystem")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XuseFastJarFileSystem extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXuseFastJarFileSystem() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XuseFastJarFileSystem"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("fastJarFsDisabledAfterK2.args")
+ public void testFastJarFsDisabledAfterK2() {
+ runTest("compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsDisabledAfterK2.args");
+ }
+
+ @TestMetadata("fastJarFsEnabledBeforeK2.args")
+ public void testFastJarFsEnabledBeforeK2() {
+ runTest("compiler/testData/cli/jvm/XuseFastJarFileSystem/fastJarFsEnabledBeforeK2.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XuseFirExperimentalCheckers")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XuseFirExperimentalCheckers extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXuseFirExperimentalCheckers() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XuseFirExperimentalCheckers"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("experimentalCheckers.args")
+ public void testExperimentalCheckers() {
+ runTest("compiler/testData/cli/jvm/XuseFirExperimentalCheckers/experimentalCheckers.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XuseFirLt")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XuseFirLt extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXuseFirLt() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XuseFirLt"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("firErrorOnLastLine.args")
+ public void testFirErrorOnLastLine() {
+ runTest("compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLine.args");
+ }
+
+ @TestMetadata("firErrorOnLastLineNoEol.args")
+ public void testFirErrorOnLastLineNoEol() {
+ runTest("compiler/testData/cli/jvm/XuseFirLt/firErrorOnLastLineNoEol.args");
+ }
+
+ @TestMetadata("firLightTreeOff.args")
+ public void testFirLightTreeOff() {
+ runTest("compiler/testData/cli/jvm/XuseFirLt/firLightTreeOff.args");
+ }
+
+ @TestMetadata("firLightTreeOn.args")
+ public void testFirLightTreeOn() {
+ runTest("compiler/testData/cli/jvm/XuseFirLt/firLightTreeOn.args");
+ }
+
+ @TestMetadata("twoDiagnosticsOnSingleElement.args")
+ public void testTwoDiagnosticsOnSingleElement() {
+ runTest("compiler/testData/cli/jvm/XuseFirLt/twoDiagnosticsOnSingleElement.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XuseK2")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XuseK2 extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXuseK2() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XuseK2"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("firHello20WithFlag.args")
+ public void testFirHello20WithFlag() {
+ runTest("compiler/testData/cli/jvm/XuseK2/firHello20WithFlag.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XuseOldBackend")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XuseOldBackend extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXuseOldBackend() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XuseOldBackend"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("oldBackend.args")
+ public void testOldBackend() {
+ runTest("compiler/testData/cli/jvm/XuseOldBackend/oldBackend.args");
+ }
+
+ @TestMetadata("oldBackendWithScript.args")
+ public void testOldBackendWithScript() {
+ runTest("compiler/testData/cli/jvm/XuseOldBackend/oldBackendWithScript.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XverbosePhases")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XverbosePhases extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXverbosePhases() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XverbosePhases"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("nonExistingPhaseName.args")
+ public void testNonExistingPhaseName() {
+ runTest("compiler/testData/cli/jvm/XverbosePhases/nonExistingPhaseName.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XXexplicitReturnTypes")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XXexplicitReturnTypes extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXXexplicitReturnTypes() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XXexplicitReturnTypes"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("explicitReturnTypesEnabled.args")
+ public void testExplicitReturnTypesEnabled() {
+ runTest("compiler/testData/cli/jvm/XXexplicitReturnTypes/explicitReturnTypesEnabled.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XXlanguageEnumEntries")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XXlanguageEnumEntries extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXXlanguageEnumEntries() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XXlanguageEnumEntries"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("enumEntriesForJavaNotEnabled.args")
+ public void testEnumEntriesForJavaNotEnabled() {
+ runTest("compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesForJavaNotEnabled.args");
+ }
+
+ @TestMetadata("enumEntriesNotEnabled.args")
+ public void testEnumEntriesNotEnabled() {
+ runTest("compiler/testData/cli/jvm/XXlanguageEnumEntries/enumEntriesNotEnabled.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XXlanguageJvmRecordSupport")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XXlanguageJvmRecordSupport extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXXlanguageJvmRecordSupport() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XXlanguageJvmRecordSupport"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("jvmRecordOk.args")
+ public void testJvmRecordOk() {
+ runTest("compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordOk.args");
+ }
+
+ @TestMetadata("jvmRecordWrongTarget.args")
+ public void testJvmRecordWrongTarget() {
+ runTest("compiler/testData/cli/jvm/XXlanguageJvmRecordSupport/jvmRecordWrongTarget.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XXlanguageMultiPlatformProjects extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXXlanguageMultiPlatformProjects() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("firMultiplatformCompilationWithError.args")
+ public void testFirMultiplatformCompilationWithError() {
+ runTest("compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithError.args");
+ }
+
+ @TestMetadata("firMultiplatformCompilationWithPsiWithoutErrors.args")
+ public void testFirMultiplatformCompilationWithPsiWithoutErrors() {
+ runTest("compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithPsiWithoutErrors.args");
+ }
+
+ @TestMetadata("firMultiplatformCompilationWithoutErrors.args")
+ public void testFirMultiplatformCompilationWithoutErrors() {
+ runTest("compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/firMultiplatformCompilationWithoutErrors.args");
+ }
+
+ @TestMetadata("multiplatformCompilationWithCommonScript.args")
+ public void testMultiplatformCompilationWithCommonScript() {
+ runTest("compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithCommonScript.args");
+ }
+
+ @TestMetadata("multiplatformCompilationWithScript.args")
+ public void testMultiplatformCompilationWithScript() {
+ runTest("compiler/testData/cli/jvm/XXlanguageMultiPlatformProjects/multiplatformCompilationWithScript.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XXlanguageSamConversionForKotlinFunctions extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXXlanguageSamConversionForKotlinFunctions() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("explicitlyDisableSamConversionsWithOldFlag.args")
+ public void testExplicitlyDisableSamConversionsWithOldFlag() {
+ runTest("compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisableSamConversionsWithOldFlag.args");
+ }
+
+ @TestMetadata("explicitlyDisabledSamConversions.args")
+ public void testExplicitlyDisabledSamConversions() {
+ runTest("compiler/testData/cli/jvm/XXlanguageSamConversionForKotlinFunctions/explicitlyDisabledSamConversions.args");
+ }
+ }
+
+ @TestMetadata("compiler/testData/cli/jvm/XXsoundSmartCastAfterTry")
+ @TestDataPath("$PROJECT_ROOT")
+ @RunWith(JUnit3RunnerWithInners.class)
+ public static class XXsoundSmartCastAfterTry extends AbstractCliTest {
+ private void runTest(String testDataFilePath) {
+ KotlinTestUtils.runTest(this::doJvmTest, this, testDataFilePath);
+ }
+
+ public void testAllFilesPresentInXXsoundSmartCastAfterTry() {
+ KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm/XXsoundSmartCastAfterTry"), Pattern.compile("^(.+)\\.args$"), null, false);
+ }
+
+ @TestMetadata("internalArgWrongPrefix.args")
+ public void testInternalArgWrongPrefix() {
+ runTest("compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/internalArgWrongPrefix.args");
+ }
+
+ @TestMetadata("legacySmartCastsAfterTry.args")
+ public void testLegacySmartCastsAfterTry() {
+ runTest("compiler/testData/cli/jvm/XXsoundSmartCastAfterTry/legacySmartCastsAfterTry.args");
}
}
@@ -2519,11 +2428,6 @@
runTest("compiler/testData/cli/jvm/extraHelp.args");
}
- @TestMetadata("firStdlibDependency.args")
- public void testFirStdlibDependency() {
- runTest("compiler/testData/cli/jvm/firStdlibDependency.args");
- }
-
@TestMetadata("help.args")
public void testHelp() {
runTest("compiler/testData/cli/jvm/help.args");