From 733ca5a358a8282f932c5020d58763e1b5e6c1e2 Mon Sep 17 00:00:00 2001 From: Pavel Kunyavskiy Date: Fri, 2 Jun 2023 14:27:37 +0200 Subject: [PATCH] [K/N] Unmute tests already working on native Also, add issue references for some tests --- ...LightTreeBlackBoxCodegenTestGenerated.java | 6 -- .../FirPsiBlackBoxCodegenTestGenerated.java | 6 -- .../codegen/box/arrays/arrayInstanceOf.kt | 2 +- .../testData/codegen/box/arrays/kt7288.kt | 2 +- .../testData/codegen/box/arrays/kt7338.kt | 9 +-- .../codegen/box/assert/alwaysDisable.kt | 1 + .../classes/classObjectAsStaticInitializer.kt | 1 + .../testData/codegen/box/contracts/kt39374.kt | 1 - ...ddleOfObjectConstructionEvaluationOrder.kt | 1 + .../codegen/box/enum/enumCompanionInit.kt | 1 - .../box/extensionFunctions/whenFail.kt | 8 +-- .../box/ieee754/smartCastToDifferentTypes.kt | 7 +- ...astToDifferentTypesWithNumericPromotion.kt | 7 +- .../box/javaInterop/generics/kt42824.kt | 6 +- .../box/javaInterop/generics/kt42825.kt | 6 +- ...arImportOfExpectEnumWithActualTypeAlias.kt | 1 - .../lazyInitializationCyclicImports.kt | 3 - .../methodsFromAny/callableReferences.kt | 7 +- .../reified/arraysReification/instanceOf.kt | 9 +-- .../arraysReification/instanceOfArrays.kt | 9 +-- ...ieldInitializerOptimization_inlineClass.kt | 35 --------- .../codegen/box/toArray/toTypedArray.kt | 9 +-- .../codegen/boxInline/reified/kt15956.kt | 5 +- .../codegen/BlackBoxCodegenTestGenerated.java | 6 -- .../IrBlackBoxCodegenTestGenerated.java | 6 -- ...kBoxCodegenWithIrInlinerTestGenerated.java | 6 -- .../LightAnalysisModeTestGenerated.java | 5 -- .../js/test/JsCodegenBoxTestGenerated.java | 66 ----------------- .../js/test/JsCodegenInlineTestGenerated.java | 6 -- ...LegacyPrimitiveArraysBoxTestGenerated.java | 6 -- .../fir/FirJsCodegenBoxTestGenerated.java | 54 -------------- .../fir/FirJsCodegenInlineTestGenerated.java | 6 -- .../test/ir/IrJsCodegenBoxTestGenerated.java | 54 -------------- .../ir/IrJsCodegenInlineTestGenerated.java | 6 -- .../ir/IrJsES6CodegenBoxTestGenerated.java | 54 -------------- .../ir/IrJsES6CodegenInlineTestGenerated.java | 6 -- .../FirNativeCodegenBoxTestGenerated.java | 72 ------------------- .../FirNativeCodegenBoxTestNoPLGenerated.java | 72 ------------------- .../NativeCodegenBoxTestGenerated.java | 72 ------------------- .../NativeCodegenBoxTestNoPLGenerated.java | 72 ------------------- .../IrCodegenBoxInlineWasmTestGenerated.java | 5 -- .../test/IrCodegenBoxWasmTestGenerated.java | 55 -------------- 42 files changed, 20 insertions(+), 751 deletions(-) delete mode 100644 compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java index 5bce30512c9..b23fdc5307f 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java @@ -49189,12 +49189,6 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java index f2a2624353c..106bbc1fdce 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java @@ -49189,12 +49189,6 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { diff --git a/compiler/testData/codegen/box/arrays/arrayInstanceOf.kt b/compiler/testData/codegen/box/arrays/arrayInstanceOf.kt index 7f2cd98ec14..4c167fdbb48 100644 --- a/compiler/testData/codegen/box/arrays/arrayInstanceOf.kt +++ b/compiler/testData/codegen/box/arrays/arrayInstanceOf.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND_K2: JS_IR -// KT-55457 +// KT-58549 // IGNORE_BACKEND_K2: NATIVE //test [], get and iterator calls diff --git a/compiler/testData/codegen/box/arrays/kt7288.kt b/compiler/testData/codegen/box/arrays/kt7288.kt index 74a7ecdc947..7a97ad4e700 100644 --- a/compiler/testData/codegen/box/arrays/kt7288.kt +++ b/compiler/testData/codegen/box/arrays/kt7288.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND_K2: JS_IR -// KT-55457 +// KT-58549 // IGNORE_BACKEND_K2: NATIVE fun test(b: Boolean): String { diff --git a/compiler/testData/codegen/box/arrays/kt7338.kt b/compiler/testData/codegen/box/arrays/kt7338.kt index cd8401292dc..e1445d24a43 100644 --- a/compiler/testData/codegen/box/arrays/kt7338.kt +++ b/compiler/testData/codegen/box/arrays/kt7338.kt @@ -1,11 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS -// IGNORE_BACKEND: NATIVE -// IGNORE_BACKEND: JS_IR -// IGNORE_BACKEND: JS_IR_ES6 -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_STDLIB fun foo(x : Any): String { diff --git a/compiler/testData/codegen/box/assert/alwaysDisable.kt b/compiler/testData/codegen/box/assert/alwaysDisable.kt index acd6c04b5b0..a8d853a27e4 100644 --- a/compiler/testData/codegen/box/assert/alwaysDisable.kt +++ b/compiler/testData/codegen/box/assert/alwaysDisable.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: WASM // WASM_MUTE_REASON: STDLIB_ASSERT +// KT-59059 // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/classes/classObjectAsStaticInitializer.kt b/compiler/testData/codegen/box/classes/classObjectAsStaticInitializer.kt index 10d9350a30f..70472530897 100644 --- a/compiler/testData/codegen/box/classes/classObjectAsStaticInitializer.kt +++ b/compiler/testData/codegen/box/classes/classObjectAsStaticInitializer.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: WASM // WASM_MUTE_REASON: IGNORED_IN_JS +// KT-59058 // IGNORE_BACKEND: NATIVE var global = "A" diff --git a/compiler/testData/codegen/box/contracts/kt39374.kt b/compiler/testData/codegen/box/contracts/kt39374.kt index f5bb9b9555f..97d5b25cee3 100644 --- a/compiler/testData/codegen/box/contracts/kt39374.kt +++ b/compiler/testData/codegen/box/contracts/kt39374.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // WITH_STDLIB // WITH_COROUTINES import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt b/compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt index 737e0ce9cf2..fe60a68d0b6 100644 --- a/compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt +++ b/compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: WASM // WASM_MUTE_REASON: NESTED_OBJECT_INIT +// KT-59058 // IGNORE_BACKEND: NATIVE // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/enum/enumCompanionInit.kt b/compiler/testData/codegen/box/enum/enumCompanionInit.kt index f7d2b29b8b9..e8f0f856295 100644 --- a/compiler/testData/codegen/box/enum/enumCompanionInit.kt +++ b/compiler/testData/codegen/box/enum/enumCompanionInit.kt @@ -2,7 +2,6 @@ // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 // DONT_TARGET_EXACT_BACKEND: WASM -// IGNORE_BACKEND: NATIVE var result = "" enum class E(a: String) { diff --git a/compiler/testData/codegen/box/extensionFunctions/whenFail.kt b/compiler/testData/codegen/box/extensionFunctions/whenFail.kt index 2bd696651eb..75ded4d119e 100644 --- a/compiler/testData/codegen/box/extensionFunctions/whenFail.kt +++ b/compiler/testData/codegen/box/extensionFunctions/whenFail.kt @@ -1,10 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS -// IGNORE_BACKEND: JS_IR -// IGNORE_BACKEND: JS_IR_ES6 -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM fun StringBuilder.takeFirst(): Char { if (this.length == 0) return 0.toChar() diff --git a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt index e73178023dc..14b558ccbe8 100644 --- a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt +++ b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt @@ -1,9 +1,6 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS +// TARGET_BACKEND: JVM // !LANGUAGE: -ProperIeee754Comparisons -// IGNORE_BACKEND: NATIVE -// DONT_TARGET_EXACT_BACKEND: JS_IR -// DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 + fun box(): String { val zero: Any = 0.0 val floatZero: Any = -0.0F diff --git a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt index 43d3d0c3577..646a2229cde 100644 --- a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt +++ b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt @@ -1,9 +1,6 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS +// TARGET_BACKEND: JVM // !LANGUAGE: -ProperIeee754Comparisons -// IGNORE_BACKEND: NATIVE -// DONT_TARGET_EXACT_BACKEND: JS_IR -// DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 + fun eqDI(x: Any?, y: Any?) = x is Double? && y is Int? && x == y fun eqDL(x: Any?, y: Any?) = x is Double? && y is Long? && x == y fun eqID(x: Any?, y: Any?) = x is Int? && y is Double? && x == y diff --git a/compiler/testData/codegen/box/javaInterop/generics/kt42824.kt b/compiler/testData/codegen/box/javaInterop/generics/kt42824.kt index 9515fc362a1..86bec72fa82 100644 --- a/compiler/testData/codegen/box/javaInterop/generics/kt42824.kt +++ b/compiler/testData/codegen/box/javaInterop/generics/kt42824.kt @@ -1,7 +1,5 @@ -// IGNORE_BACKEND: WASM -// IGNORE_BACKEND: JS -// IGNORE_BACKEND: JS_IR, JS_IR_ES6 -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM + // FILE: DiagnosticFactory0.java import org.jetbrains.annotations.NotNull; diff --git a/compiler/testData/codegen/box/javaInterop/generics/kt42825.kt b/compiler/testData/codegen/box/javaInterop/generics/kt42825.kt index e83afc3dd90..763c06e077c 100644 --- a/compiler/testData/codegen/box/javaInterop/generics/kt42825.kt +++ b/compiler/testData/codegen/box/javaInterop/generics/kt42825.kt @@ -1,7 +1,5 @@ -// IGNORE_BACKEND: WASM -// IGNORE_BACKEND: JS -// IGNORE_BACKEND: JS_IR, JS_IR_ES6 -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM + // FILE: Processor.java public interface Processor { diff --git a/compiler/testData/codegen/box/multiplatform/starImportOfExpectEnumWithActualTypeAlias.kt b/compiler/testData/codegen/box/multiplatform/starImportOfExpectEnumWithActualTypeAlias.kt index e9d1b2a3bd3..03605a3e9b4 100644 --- a/compiler/testData/codegen/box/multiplatform/starImportOfExpectEnumWithActualTypeAlias.kt +++ b/compiler/testData/codegen/box/multiplatform/starImportOfExpectEnumWithActualTypeAlias.kt @@ -2,7 +2,6 @@ // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: NATIVE // MODULE: lib-common // FILE: common.kt diff --git a/compiler/testData/codegen/box/properties/lazyInitializationCyclicImports.kt b/compiler/testData/codegen/box/properties/lazyInitializationCyclicImports.kt index 505cffffcce..0bd9bf95c08 100644 --- a/compiler/testData/codegen/box/properties/lazyInitializationCyclicImports.kt +++ b/compiler/testData/codegen/box/properties/lazyInitializationCyclicImports.kt @@ -1,6 +1,3 @@ -// Fails on native with legacy memory manager. To reproduce, run with -// -Pkotlin.internal.native.test.memoryModel=LEGACY -Pkotlin.internal.native.test.cacheMode=NO -// IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS // PROPERTY_LAZY_INITIALIZATION diff --git a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt index 42937512935..e796f1c90c8 100644 --- a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt +++ b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt @@ -1,9 +1,4 @@ -// IGNORE_BACKEND: JS_IR -// IGNORE_BACKEND: JS_IR_ES6 -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS -// IGNORE_BACKEND: NATIVE -// IGNORE_BACKEND: WASM +// TARGET_BACKEND: JVM // WITH_STDLIB import kotlin.reflect.KCallable diff --git a/compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt b/compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt index d0ad7236733..962459f39b6 100644 --- a/compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt +++ b/compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt @@ -1,11 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS -// IGNORE_BACKEND: NATIVE -// IGNORE_BACKEND: JS_IR -// IGNORE_BACKEND: JS_IR_ES6 -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_STDLIB inline fun foo(x: Any?) = Pair(x is T, x is T?) diff --git a/compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt b/compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt index fae19c488ce..b36298295d4 100644 --- a/compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt +++ b/compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt @@ -1,11 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS -// IGNORE_BACKEND: NATIVE -// IGNORE_BACKEND: JS_IR -// IGNORE_BACKEND: JS_IR_ES6 -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS - +// TARGET_BACKEND: JVM // WITH_STDLIB inline fun foo(x: Any?) = Pair(x is T, x is T?) diff --git a/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt b/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt deleted file mode 100644 index e12a0a6dd11..00000000000 --- a/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt +++ /dev/null @@ -1,35 +0,0 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS -// IGNORE_BACKEND: NATIVE -// IGNORE_BACKEND: JS -// IGNORE_BACKEND: JS_IR -// IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: JVM -// IGNORE_BACKEND: JVM_IR -// FIR status: not supported in JVM - -open class Base { - open fun setup() {} - init { setup() } -} - -inline class Z(val y: Int) - -class Derived : Base { - constructor() : super() - override fun setup() { - x = Z(1) - } - - // Technically, this field initializer comes after the superclass - // constructor is called. However, we optimize away field initializers - // which set fields to their default value, which is why x ends up with - // value 1 after the constructor call. - var x = Z(0) -} - -fun box(): String { - val d = Derived() - if (d.x.y != 1) return "fail" - return "OK" -} diff --git a/compiler/testData/codegen/box/toArray/toTypedArray.kt b/compiler/testData/codegen/box/toArray/toTypedArray.kt index 3b15b33b6e2..0c63706e75d 100644 --- a/compiler/testData/codegen/box/toArray/toTypedArray.kt +++ b/compiler/testData/codegen/box/toArray/toTypedArray.kt @@ -1,11 +1,4 @@ -// IGNORE_BACKEND: NATIVE -// IGNORE_BACKEND: JS_IR -// IGNORE_BACKEND: JS_IR_ES6 -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS -// IGNORE_BACKEND: WASM -// missing isArrayOf on JS - +// TARGET_BACKEND: JVM // WITH_STDLIB fun box(): String { diff --git a/compiler/testData/codegen/boxInline/reified/kt15956.kt b/compiler/testData/codegen/boxInline/reified/kt15956.kt index c641ebce63f..738cd7eeb38 100644 --- a/compiler/testData/codegen/boxInline/reified/kt15956.kt +++ b/compiler/testData/codegen/boxInline/reified/kt15956.kt @@ -1,7 +1,4 @@ -// IGNORE_BACKEND: WASM -// IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: NATIVE -// IGNORE_BACKEND: JS, JS_IR +// TARGET_BACKEND: JVM // WITH_REFLECT // FILE: 1.kt diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java index bbdd73e4369..54ab14e6bd6 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java @@ -46501,12 +46501,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index 24421a33693..af42ffcd874 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -49189,12 +49189,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java index f665aae4197..ac183c4f4f3 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java @@ -49189,12 +49189,6 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index d0ecbfd8501..8bda4fda64c 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -37589,11 +37589,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class SecondaryConstructors extends AbstractLightAnalysisModeTest { - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void ignoreFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java index 8a71d0078cf..5802cbbfb38 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java @@ -585,12 +585,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @Test - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @Test @TestMetadata("kt779.kt") public void testKt779() throws Exception { @@ -13255,12 +13249,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); } - @Test - @TestMetadata("whenFail.kt") - public void testWhenFail() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers") @TestDataPath("$PROJECT_ROOT") @@ -14873,18 +14861,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt"); } - @Test - @TestMetadata("smartCastToDifferentTypes.kt") - public void testSmartCastToDifferentTypes() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt"); - } - - @Test - @TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt") - public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt"); - } - @Test @TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt") public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception { @@ -21569,18 +21545,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { public void testAllFilesPresentInGenerics() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true); } - - @Test - @TestMetadata("kt42824.kt") - public void testKt42824() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt"); - } - - @Test - @TestMetadata("kt42825.kt") - public void testKt42825() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); - } } @Nested @@ -33045,12 +33009,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true); } - @Test - @TestMetadata("callableReferences.kt") - public void testCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); - } - @Test @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { @@ -34248,18 +34206,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true); } - @Test - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); - } - - @Test - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); - } - @Test @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { @@ -34765,12 +34711,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { @@ -36060,12 +36000,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { public void testReturnToTypedArray() throws Exception { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - - @Test - @TestMetadata("toTypedArray.kt") - public void testToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); - } } @Nested diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenInlineTestGenerated.java index 244c6129326..cc08dba052a 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenInlineTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenInlineTestGenerated.java @@ -3528,12 +3528,6 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest { runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @Test - @TestMetadata("kt15956.kt") - public void testKt15956() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); - } - @Test @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsLegacyPrimitiveArraysBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsLegacyPrimitiveArraysBoxTestGenerated.java index e7aa882787d..1bc2663644c 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsLegacyPrimitiveArraysBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsLegacyPrimitiveArraysBoxTestGenerated.java @@ -355,12 +355,6 @@ public class JsLegacyPrimitiveArraysBoxTestGenerated extends AbstractJsLegacyPri runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @Test - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @Test @TestMetadata("kt779.kt") public void testKt779() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java index ff4952f35e3..c750a74ae61 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java @@ -639,12 +639,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @Test - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @Test @TestMetadata("kt779.kt") public void testKt779() throws Exception { @@ -13351,12 +13345,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); } - @Test - @TestMetadata("whenFail.kt") - public void testWhenFail() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers") @TestDataPath("$PROJECT_ROOT") @@ -21719,18 +21707,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { public void testAllFilesPresentInGenerics() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - - @Test - @TestMetadata("kt42824.kt") - public void testKt42824() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt"); - } - - @Test - @TestMetadata("kt42825.kt") - public void testKt42825() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); - } } @Nested @@ -33447,12 +33423,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - @Test - @TestMetadata("callableReferences.kt") - public void testCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); - } - @Test @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { @@ -34650,18 +34620,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - @Test - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); - } - - @Test - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); - } - @Test @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { @@ -35167,12 +35125,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { @@ -36474,12 +36426,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { public void testReturnToTypedArray() throws Exception { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - - @Test - @TestMetadata("toTypedArray.kt") - public void testToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); - } } @Nested diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenInlineTestGenerated.java index 1a56b529622..342ffffaafe 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenInlineTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenInlineTestGenerated.java @@ -3528,12 +3528,6 @@ public class FirJsCodegenInlineTestGenerated extends AbstractFirJsCodegenInlineT runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @Test - @TestMetadata("kt15956.kt") - public void testKt15956() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); - } - @Test @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java index 83be31684a8..d1ae7af3470 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java @@ -639,12 +639,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @Test - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @Test @TestMetadata("kt779.kt") public void testKt779() throws Exception { @@ -13351,12 +13345,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); } - @Test - @TestMetadata("whenFail.kt") - public void testWhenFail() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers") @TestDataPath("$PROJECT_ROOT") @@ -21719,18 +21707,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { public void testAllFilesPresentInGenerics() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - - @Test - @TestMetadata("kt42824.kt") - public void testKt42824() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt"); - } - - @Test - @TestMetadata("kt42825.kt") - public void testKt42825() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); - } } @Nested @@ -33447,12 +33423,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - @Test - @TestMetadata("callableReferences.kt") - public void testCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); - } - @Test @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { @@ -34650,18 +34620,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - @Test - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); - } - - @Test - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); - } - @Test @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { @@ -35167,12 +35125,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { @@ -36474,12 +36426,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { public void testReturnToTypedArray() throws Exception { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - - @Test - @TestMetadata("toTypedArray.kt") - public void testToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); - } } @Nested diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenInlineTestGenerated.java index 6404404f0a1..95aacb2df03 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenInlineTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenInlineTestGenerated.java @@ -3528,12 +3528,6 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @Test - @TestMetadata("kt15956.kt") - public void testKt15956() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); - } - @Test @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java index f078d8cd94c..6f68d49b9aa 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java @@ -639,12 +639,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @Test - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @Test @TestMetadata("kt779.kt") public void testKt779() throws Exception { @@ -13351,12 +13345,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); } - @Test - @TestMetadata("whenFail.kt") - public void testWhenFail() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers") @TestDataPath("$PROJECT_ROOT") @@ -21719,18 +21707,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes public void testAllFilesPresentInGenerics() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); } - - @Test - @TestMetadata("kt42824.kt") - public void testKt42824() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt"); - } - - @Test - @TestMetadata("kt42825.kt") - public void testKt42825() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); - } } @Nested @@ -33447,12 +33423,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); } - @Test - @TestMetadata("callableReferences.kt") - public void testCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); - } - @Test @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { @@ -34650,18 +34620,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); } - @Test - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); - } - - @Test - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); - } - @Test @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { @@ -35167,12 +35125,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { @@ -36474,12 +36426,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes public void testReturnToTypedArray() throws Exception { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - - @Test - @TestMetadata("toTypedArray.kt") - public void testToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); - } } @Nested diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenInlineTestGenerated.java index 172c460f9e6..6e7b0d8b688 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenInlineTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenInlineTestGenerated.java @@ -3528,12 +3528,6 @@ public class IrJsES6CodegenInlineTestGenerated extends AbstractIrJsES6CodegenInl runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @Test - @TestMetadata("kt15956.kt") - public void testKt15956() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); - } - @Test @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java index 57b20184d68..bcc8c9b67a0 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java @@ -677,12 +677,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @Test - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @Test @TestMetadata("kt779.kt") public void testKt779() throws Exception { @@ -14502,12 +14496,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); } - @Test - @TestMetadata("whenFail.kt") - public void testWhenFail() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers") @TestDataPath("$PROJECT_ROOT") @@ -16177,18 +16165,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt"); } - @Test - @TestMetadata("smartCastToDifferentTypes.kt") - public void testSmartCastToDifferentTypes() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt"); - } - - @Test - @TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt") - public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt"); - } - @Test @TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt") public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception { @@ -24635,18 +24611,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe public void testAllFilesPresentInGenerics() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - - @Test - @TestMetadata("kt42824.kt") - public void testKt42824() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt"); - } - - @Test - @TestMetadata("kt42825.kt") - public void testKt42825() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); - } } @Nested @@ -36948,12 +36912,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("callableReferences.kt") - public void testCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); - } - @Test @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { @@ -38157,18 +38115,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); - } - - @Test - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); - } - @Test @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { @@ -38710,12 +38656,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { @@ -40059,12 +39999,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe public void testReturnToTypedArray() throws Exception { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - - @Test - @TestMetadata("toTypedArray.kt") - public void testToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); - } } @Nested @@ -45624,12 +45558,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @Test - @TestMetadata("kt15956.kt") - public void testKt15956() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); - } - @Test @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java index 4a887eb8228..a2ce02295de 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java @@ -697,12 +697,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @Test - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @Test @TestMetadata("kt779.kt") public void testKt779() throws Exception { @@ -14836,12 +14830,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); } - @Test - @TestMetadata("whenFail.kt") - public void testWhenFail() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers") @TestDataPath("$PROJECT_ROOT") @@ -16549,18 +16537,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt"); } - @Test - @TestMetadata("smartCastToDifferentTypes.kt") - public void testSmartCastToDifferentTypes() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt"); - } - - @Test - @TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt") - public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt"); - } - @Test @TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt") public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception { @@ -25125,18 +25101,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB public void testAllFilesPresentInGenerics() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - - @Test - @TestMetadata("kt42824.kt") - public void testKt42824() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt"); - } - - @Test - @TestMetadata("kt42825.kt") - public void testKt42825() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); - } } @Nested @@ -37848,12 +37812,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("callableReferences.kt") - public void testCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); - } - @Test @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { @@ -39097,18 +39055,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); - } - - @Test - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); - } - @Test @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { @@ -39674,12 +39620,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { @@ -41059,12 +40999,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB public void testReturnToTypedArray() throws Exception { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - - @Test - @TestMetadata("toTypedArray.kt") - public void testToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); - } } @Nested @@ -46784,12 +46718,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @Test - @TestMetadata("kt15956.kt") - public void testKt15956() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); - } - @Test @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java index f2a31eed3fa..6130806ae16 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java @@ -668,12 +668,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @Test - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @Test @TestMetadata("kt779.kt") public void testKt779() throws Exception { @@ -14336,12 +14330,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); } - @Test - @TestMetadata("whenFail.kt") - public void testWhenFail() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers") @TestDataPath("$PROJECT_ROOT") @@ -15992,18 +15980,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt"); } - @Test - @TestMetadata("smartCastToDifferentTypes.kt") - public void testSmartCastToDifferentTypes() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt"); - } - - @Test - @TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt") - public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt"); - } - @Test @TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt") public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception { @@ -24391,18 +24367,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest public void testAllFilesPresentInGenerics() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - - @Test - @TestMetadata("kt42824.kt") - public void testKt42824() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt"); - } - - @Test - @TestMetadata("kt42825.kt") - public void testKt42825() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); - } } @Nested @@ -36499,12 +36463,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("callableReferences.kt") - public void testCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); - } - @Test @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { @@ -37688,18 +37646,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); - } - - @Test - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); - } - @Test @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { @@ -38229,12 +38175,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { @@ -39560,12 +39500,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest public void testReturnToTypedArray() throws Exception { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - - @Test - @TestMetadata("toTypedArray.kt") - public void testToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); - } } @Nested @@ -45045,12 +44979,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @Test - @TestMetadata("kt15956.kt") - public void testKt15956() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); - } - @Test @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java index c20b67ebb7b..c81e9510278 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java @@ -678,12 +678,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @Test - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @Test @TestMetadata("kt779.kt") public void testKt779() throws Exception { @@ -14503,12 +14497,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); } - @Test - @TestMetadata("whenFail.kt") - public void testWhenFail() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers") @TestDataPath("$PROJECT_ROOT") @@ -16178,18 +16166,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt"); } - @Test - @TestMetadata("smartCastToDifferentTypes.kt") - public void testSmartCastToDifferentTypes() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt"); - } - - @Test - @TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt") - public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt"); - } - @Test @TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt") public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception { @@ -24636,18 +24612,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT public void testAllFilesPresentInGenerics() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - - @Test - @TestMetadata("kt42824.kt") - public void testKt42824() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt"); - } - - @Test - @TestMetadata("kt42825.kt") - public void testKt42825() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); - } } @Nested @@ -36949,12 +36913,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("callableReferences.kt") - public void testCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); - } - @Test @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { @@ -38158,18 +38116,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); - } - - @Test - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); - } - @Test @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { @@ -38711,12 +38657,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @Test - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @Test @TestMetadata("generics.kt") public void testGenerics() throws Exception { @@ -40060,12 +40000,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT public void testReturnToTypedArray() throws Exception { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - - @Test - @TestMetadata("toTypedArray.kt") - public void testToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); - } } @Nested @@ -45625,12 +45559,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @Test - @TestMetadata("kt15956.kt") - public void testKt15956() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); - } - @Test @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxInlineWasmTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxInlineWasmTestGenerated.java index e1009e4434e..29b8707e353 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxInlineWasmTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxInlineWasmTestGenerated.java @@ -3229,11 +3229,6 @@ public class IrCodegenBoxInlineWasmTestGenerated extends AbstractIrCodegenBoxInl runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @TestMetadata("kt15956.kt") - public void testKt15956() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); - } - @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { runTest("compiler/testData/codegen/boxInline/reified/kt18977.kt"); diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java index 783c0bf1390..b77fed61961 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java @@ -579,11 +579,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); } - @TestMetadata("kt7338.kt") - public void testKt7338() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt7338.kt"); - } - @TestMetadata("kt779.kt") public void testKt779() throws Exception { runTest("compiler/testData/codegen/box/arrays/kt779.kt"); @@ -11829,11 +11824,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); } - @TestMetadata("whenFail.kt") - public void testWhenFail() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt"); - } - @TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -13266,16 +13256,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt"); } - @TestMetadata("smartCastToDifferentTypes.kt") - public void testSmartCastToDifferentTypes() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt"); - } - - @TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt") - public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt"); - } - @TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt") public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt"); @@ -19149,16 +19129,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest public void testAllFilesPresentInGenerics() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); } - - @TestMetadata("kt42824.kt") - public void testKt42824() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt"); - } - - @TestMetadata("kt42825.kt") - public void testKt42825() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); - } } @TestMetadata("compiler/testData/codegen/box/javaInterop/notNullAssertions") @@ -29834,11 +29804,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); } - @TestMetadata("callableReferences.kt") - public void testCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); - } - @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt"); @@ -30880,16 +30845,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); } - @TestMetadata("instanceOf.kt") - public void testInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt"); - } - - @TestMetadata("instanceOfArrays.kt") - public void testInstanceOfArrays() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); - } - @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { runTest("compiler/testData/codegen/box/reified/arraysReification/jaggedArray.kt"); @@ -31367,11 +31322,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt"); } - @TestMetadata("fieldInitializerOptimization_inlineClass.kt") - public void testFieldInitializerOptimization_inlineClass() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt"); - } - @TestMetadata("generics.kt") public void testGenerics() throws Exception { runTest("compiler/testData/codegen/box/secondaryConstructors/generics.kt"); @@ -32560,11 +32510,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest public void testReturnToTypedArray() throws Exception { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - - @TestMetadata("toTypedArray.kt") - public void testToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); - } } @TestMetadata("compiler/testData/codegen/box/topLevelInitializtion")