From 706a8a91f658137c11c5e318db2e5b3551917a51 Mon Sep 17 00:00:00 2001 From: Ivan Kylchik Date: Fri, 27 Jan 2023 12:01:22 +0100 Subject: [PATCH] Move `kt55912` test into `involvesIrInterpreter` dir --- .../codegen/FirBlackBoxCodegenTestGenerated.java | 12 ++++++------ .../{evaluate => involvesIrInterpreter}/kt55912.kt | 0 .../codegen/BlackBoxCodegenTestGenerated.java | 12 ++++++------ .../codegen/IrBlackBoxCodegenTestGenerated.java | 12 ++++++------ .../codegen/LightAnalysisModeTestGenerated.java | 10 +++++----- .../kotlin/js/test/JsCodegenBoxTestGenerated.java | 12 ++++++------ .../js/test/fir/FirJsCodegenBoxTestGenerated.java | 12 ++++++------ .../js/test/ir/IrJsCodegenBoxTestGenerated.java | 12 ++++++------ .../js/test/ir/IrJsES6CodegenBoxTestGenerated.java | 12 ++++++------ .../semantics/IrCodegenBoxWasmTestGenerated.java | 10 +++++----- .../K2NativeCodegenBoxTestGenerated.java | 12 ++++++------ .../blackboxtest/NativeCodegenBoxTestGenerated.java | 12 ++++++------ 12 files changed, 64 insertions(+), 64 deletions(-) rename compiler/testData/codegen/box/{evaluate => involvesIrInterpreter}/kt55912.kt (100%) diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java index e8fdf34d09d..1d612b141c9 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java @@ -17051,12 +17051,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/evaluate/intrinsics.kt"); } - @Test - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @Test @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { @@ -28097,6 +28091,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55108.kt"); } + @Test + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @Test @TestMetadata("referenceNameFromStaticInDifferentModule.kt") public void testReferenceNameFromStaticInDifferentModule() throws Exception { diff --git a/compiler/testData/codegen/box/evaluate/kt55912.kt b/compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt similarity index 100% rename from compiler/testData/codegen/box/evaluate/kt55912.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/kt55912.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 22c7078cbe6..7036b18200b 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 @@ -16757,12 +16757,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/evaluate/intrinsics.kt"); } - @Test - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @Test @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { @@ -27137,6 +27131,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true); } + @Test + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") @TestDataPath("$PROJECT_ROOT") 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 3447cf75098..b9b32e03391 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 @@ -17051,12 +17051,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/evaluate/intrinsics.kt"); } - @Test - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @Test @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { @@ -28097,6 +28091,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55108.kt"); } + @Test + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @Test @TestMetadata("referenceNameFromStaticInDifferentModule.kt") public void testReferenceNameFromStaticInDifferentModule() 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 67f8d0b1787..3eda2e53fb5 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -13830,11 +13830,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/evaluate/intrinsics.kt"); } - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { runTest("compiler/testData/codegen/box/evaluate/kt9443.kt"); @@ -22882,6 +22877,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true); } + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) 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 ebf28f9c169..f6bf8bc5beb 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 @@ -12913,12 +12913,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true); } - @Test - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @Test @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { @@ -20977,6 +20971,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true); } + @Test + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") @TestDataPath("$PROJECT_ROOT") 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 ed05dca1930..93a6c327f52 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 @@ -13009,12 +13009,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - @Test - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @Test @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { @@ -20995,6 +20989,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } + @Test + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") @TestDataPath("$PROJECT_ROOT") 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 807e9862e08..2354b698a5b 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 @@ -13009,12 +13009,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - @Test - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @Test @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { @@ -20995,6 +20989,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } + @Test + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") @TestDataPath("$PROJECT_ROOT") 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 63edaaf868e..21a5876f1d1 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 @@ -13009,12 +13009,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); } - @Test - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @Test @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { @@ -20995,6 +20989,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); } + @Test + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") @TestDataPath("$PROJECT_ROOT") diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/testOld/wasm/semantics/IrCodegenBoxWasmTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/testOld/wasm/semantics/IrCodegenBoxWasmTestGenerated.java index 1d5dfaaa4e5..ac96c3850a4 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/testOld/wasm/semantics/IrCodegenBoxWasmTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/testOld/wasm/semantics/IrCodegenBoxWasmTestGenerated.java @@ -11535,11 +11535,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); } - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { runTest("compiler/testData/codegen/box/evaluate/kt9443.kt"); @@ -18640,6 +18635,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); } + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/K2NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/K2NativeCodegenBoxTestGenerated.java index 9e82d21ce76..4faf2ba3fc1 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/K2NativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/K2NativeCodegenBoxTestGenerated.java @@ -14188,12 +14188,6 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @Test @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { @@ -23948,6 +23942,12 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") @TestDataPath("$PROJECT_ROOT") 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 fac3a9f01d0..83d9962d250 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 @@ -14023,12 +14023,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("kt55912.kt") - public void testKt55912() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/kt55912.kt"); - } - @Test @TestMetadata("kt9443.kt") public void testKt9443() throws Exception { @@ -23714,6 +23708,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("kt55912.kt") + public void testKt55912() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") @TestDataPath("$PROJECT_ROOT")