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 84e10c48b6b..23b89b10728 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 @@ -28295,6 +28295,54 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } + @Test + @TestMetadata("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("enumRecursiveName.kt") + public void testEnumRecursiveName() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/enumRecursiveName.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jvmFloatDoubleToString.kt") + public void testJvmFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt53480.kt") public void testKt53480() throws Exception { @@ -28325,24 +28373,66 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57313.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("objectConstValInAnnotationArgument.kt") + public void testObjectConstValInAnnotationArgument() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/objectConstValInAnnotationArgument.kt"); + } + @Test @TestMetadata("referenceNameFromStaticInDifferentModule.kt") public void testReferenceNameFromStaticInDifferentModule() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/referenceNameFromStaticInDifferentModule.kt"); } + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Test @TestMetadata("useCorrectToString.kt") public void testUseCorrectToString() throws Exception { @@ -28350,144 +28440,54 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr } @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } @Test @TestMetadata("constTrimIndent.kt") public void testConstTrimIndent() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimIndent.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimIndent.kt"); } @Test @TestMetadata("constTrimMargin.kt") public void testConstTrimMargin() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimMargin.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimMargin.kt"); } @Test @TestMetadata("enumName.kt") public void testEnumName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumName.kt"); - } - - @Test - @TestMetadata("enumRecursiveName.kt") - public void testEnumRecursiveName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumRecursiveName.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/enumName.kt"); } @Test @TestMetadata("equals_after.kt") public void testEquals_after() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/equals_after.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/equals_after.kt"); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jvmFloatDoubleToString.kt") - public void testJvmFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } @Test @TestMetadata("kCallableName.kt") public void testKCallableName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kCallableName.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kCallableName.kt"); } @Test @TestMetadata("kt53272.kt") public void testKt53272() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kt53272.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("objectConstValInAnnotationArgument.kt") - public void testObjectConstValInAnnotationArgument() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/objectConstValInAnnotationArgument.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kt53272.kt"); } } 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 dc1725fa82e..6f4aab872dc 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 @@ -28295,6 +28295,54 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } + @Test + @TestMetadata("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("enumRecursiveName.kt") + public void testEnumRecursiveName() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/enumRecursiveName.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jvmFloatDoubleToString.kt") + public void testJvmFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt53480.kt") public void testKt53480() throws Exception { @@ -28325,24 +28373,66 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57313.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("objectConstValInAnnotationArgument.kt") + public void testObjectConstValInAnnotationArgument() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/objectConstValInAnnotationArgument.kt"); + } + @Test @TestMetadata("referenceNameFromStaticInDifferentModule.kt") public void testReferenceNameFromStaticInDifferentModule() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/referenceNameFromStaticInDifferentModule.kt"); } + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Test @TestMetadata("useCorrectToString.kt") public void testUseCorrectToString() throws Exception { @@ -28350,144 +28440,54 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo } @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } @Test @TestMetadata("constTrimIndent.kt") public void testConstTrimIndent() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimIndent.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimIndent.kt"); } @Test @TestMetadata("constTrimMargin.kt") public void testConstTrimMargin() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimMargin.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimMargin.kt"); } @Test @TestMetadata("enumName.kt") public void testEnumName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumName.kt"); - } - - @Test - @TestMetadata("enumRecursiveName.kt") - public void testEnumRecursiveName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumRecursiveName.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/enumName.kt"); } @Test @TestMetadata("equals_after.kt") public void testEquals_after() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/equals_after.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/equals_after.kt"); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jvmFloatDoubleToString.kt") - public void testJvmFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } @Test @TestMetadata("kCallableName.kt") public void testKCallableName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kCallableName.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kCallableName.kt"); } @Test @TestMetadata("kt53272.kt") public void testKt53272() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kt53272.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("objectConstValInAnnotationArgument.kt") - public void testObjectConstValInAnnotationArgument() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/objectConstValInAnnotationArgument.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kt53272.kt"); } } diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt b/compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt b/compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt b/compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt b/compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumRecursiveName.kt b/compiler/testData/codegen/box/involvesIrInterpreter/enumRecursiveName.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumRecursiveName.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/enumRecursiveName.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt b/compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt b/compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimIndent.kt b/compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimIndent.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimIndent.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimIndent.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimMargin.kt b/compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimMargin.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimMargin.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimMargin.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumName.kt b/compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/enumName.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumName.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/enumName.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/equals_after.kt b/compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/equals_after.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/equals_after.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/equals_after.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt b/compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kCallableName.kt b/compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kCallableName.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kCallableName.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kCallableName.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kt53272.kt b/compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kt53272.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kt53272.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kt53272.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jsFloatDoubleToString.kt b/compiler/testData/codegen/box/involvesIrInterpreter/jsFloatDoubleToString.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jsFloatDoubleToString.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/jsFloatDoubleToString.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt b/compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt b/compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/objectConstValInAnnotationArgument.kt b/compiler/testData/codegen/box/involvesIrInterpreter/objectConstValInAnnotationArgument.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/objectConstValInAnnotationArgument.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/objectConstValInAnnotationArgument.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt b/compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt b/compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt b/compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt b/compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt b/compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt similarity index 100% rename from compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt rename to compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.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 33dbcd8c41f..cb7aa7ac743 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 @@ -27258,12 +27258,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true); } } 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 9aa5546852f..3e5a201e0e8 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 @@ -28295,6 +28295,54 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } + @Test + @TestMetadata("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("enumRecursiveName.kt") + public void testEnumRecursiveName() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/enumRecursiveName.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jvmFloatDoubleToString.kt") + public void testJvmFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt53480.kt") public void testKt53480() throws Exception { @@ -28325,24 +28373,66 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57313.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("objectConstValInAnnotationArgument.kt") + public void testObjectConstValInAnnotationArgument() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/objectConstValInAnnotationArgument.kt"); + } + @Test @TestMetadata("referenceNameFromStaticInDifferentModule.kt") public void testReferenceNameFromStaticInDifferentModule() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/referenceNameFromStaticInDifferentModule.kt"); } + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Test @TestMetadata("useCorrectToString.kt") public void testUseCorrectToString() throws Exception { @@ -28350,144 +28440,54 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes } @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } @Test @TestMetadata("constTrimIndent.kt") public void testConstTrimIndent() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimIndent.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimIndent.kt"); } @Test @TestMetadata("constTrimMargin.kt") public void testConstTrimMargin() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimMargin.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimMargin.kt"); } @Test @TestMetadata("enumName.kt") public void testEnumName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumName.kt"); - } - - @Test - @TestMetadata("enumRecursiveName.kt") - public void testEnumRecursiveName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumRecursiveName.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/enumName.kt"); } @Test @TestMetadata("equals_after.kt") public void testEquals_after() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/equals_after.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/equals_after.kt"); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jvmFloatDoubleToString.kt") - public void testJvmFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } @Test @TestMetadata("kCallableName.kt") public void testKCallableName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kCallableName.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kCallableName.kt"); } @Test @TestMetadata("kt53272.kt") public void testKt53272() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kt53272.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("objectConstValInAnnotationArgument.kt") - public void testObjectConstValInAnnotationArgument() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/objectConstValInAnnotationArgument.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kt53272.kt"); } } 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 c4288fc46cf..01d5340dbc5 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 @@ -28295,6 +28295,54 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } + @Test + @TestMetadata("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("enumRecursiveName.kt") + public void testEnumRecursiveName() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/enumRecursiveName.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jvmFloatDoubleToString.kt") + public void testJvmFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt53480.kt") public void testKt53480() throws Exception { @@ -28325,24 +28373,66 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57313.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("objectConstValInAnnotationArgument.kt") + public void testObjectConstValInAnnotationArgument() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/objectConstValInAnnotationArgument.kt"); + } + @Test @TestMetadata("referenceNameFromStaticInDifferentModule.kt") public void testReferenceNameFromStaticInDifferentModule() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/referenceNameFromStaticInDifferentModule.kt"); } + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Test @TestMetadata("useCorrectToString.kt") public void testUseCorrectToString() throws Exception { @@ -28350,144 +28440,54 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack } @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); } @Test @TestMetadata("constTrimIndent.kt") public void testConstTrimIndent() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimIndent.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimIndent.kt"); } @Test @TestMetadata("constTrimMargin.kt") public void testConstTrimMargin() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/constTrimMargin.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/constTrimMargin.kt"); } @Test @TestMetadata("enumName.kt") public void testEnumName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumName.kt"); - } - - @Test - @TestMetadata("enumRecursiveName.kt") - public void testEnumRecursiveName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/enumRecursiveName.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/enumName.kt"); } @Test @TestMetadata("equals_after.kt") public void testEquals_after() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/equals_after.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/equals_after.kt"); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jvmFloatDoubleToString.kt") - public void testJvmFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } @Test @TestMetadata("kCallableName.kt") public void testKCallableName() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kCallableName.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kCallableName.kt"); } @Test @TestMetadata("kt53272.kt") public void testKt53272() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/kt53272.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("objectConstValInAnnotationArgument.kt") - public void testObjectConstValInAnnotationArgument() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/objectConstValInAnnotationArgument.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kt53272.kt"); } } diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 8aca96d8268..42bfd63c614 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -22977,16 +22977,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt56215.kt"); } - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) - public static class DumpIrAndCheck extends AbstractLightAnalysisModeTest { + public static class IntrinsicConst extends AbstractLightAnalysisModeTest { private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true); } } 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 b10e9d9320e..0a2e806ff28 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 @@ -21080,12 +21080,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { } @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true); } } 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 28f0d254b7e..12e9ba513fc 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 @@ -21085,6 +21085,48 @@ 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("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jsFloatDoubleToString.kt") + public void testJsFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jsFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt55912.kt") public void testKt55912() throws Exception { @@ -21097,109 +21139,67 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt56215.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jsFloatDoubleToString.kt") - public void testJsFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jsFloatDoubleToString.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } } 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 da3d45f4653..09f6763243d 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 @@ -21085,6 +21085,48 @@ 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("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jsFloatDoubleToString.kt") + public void testJsFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jsFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt55912.kt") public void testKt55912() throws Exception { @@ -21097,109 +21139,67 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt56215.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jsFloatDoubleToString.kt") - public void testJsFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jsFloatDoubleToString.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } } 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 39e2fe73e6d..22ece5804a2 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 @@ -21085,6 +21085,48 @@ 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("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jsFloatDoubleToString.kt") + public void testJsFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jsFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt55912.kt") public void testKt55912() throws Exception { @@ -21097,109 +21139,67 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt56215.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jsFloatDoubleToString.kt") - public void testJsFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jsFloatDoubleToString.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } } 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 221780e81fa..b9a87cd5e3f 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 @@ -24281,6 +24281,48 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jvmFloatDoubleToString.kt") + public void testJvmFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt55912.kt") public void testKt55912() throws Exception { @@ -24293,113 +24335,71 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt56215.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") @Tag("codegenK2") @Tag("firCodegen") @UseExtTestCaseGroupProvider() @FirPipeline() - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jvmFloatDoubleToString.kt") - public void testJvmFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } } 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 f73bb514e16..f4e16b51a82 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 @@ -24749,6 +24749,48 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jvmFloatDoubleToString.kt") + public void testJvmFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt55912.kt") public void testKt55912() throws Exception { @@ -24761,20 +24803,56 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt56215.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") @Tag("codegenK2") @Tag("firCodegen") @@ -24782,94 +24860,16 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB @FirPipeline() @UsePartialLinkage(mode = Mode.DISABLED) @Tag("no-partial-linkage-may-be-skipped") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jvmFloatDoubleToString.kt") - public void testJvmFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } } 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 293fbdc30bc..b6111c7350f 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 @@ -24047,6 +24047,48 @@ 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("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jvmFloatDoubleToString.kt") + public void testJvmFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt55912.kt") public void testKt55912() throws Exception { @@ -24059,112 +24101,70 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt56215.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") @Tag("codegen") @Tag("k1Codegen") @UseExtTestCaseGroupProvider() - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jvmFloatDoubleToString.kt") - public void testJvmFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.kt"); } } 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 01dba2c6d9c..cd53aab1a0c 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 @@ -24515,6 +24515,48 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("booleanOperations.kt") + public void testBooleanOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/booleanOperations.kt"); + } + + @Test + @TestMetadata("byteOperations.kt") + public void testByteOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/byteOperations.kt"); + } + + @Test + @TestMetadata("charOperations.kt") + public void testCharOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt"); + } + + @Test + @TestMetadata("doubleOperations.kt") + public void testDoubleOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt"); + } + + @Test + @TestMetadata("floatOperations.kt") + public void testFloatOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/floatOperations.kt"); + } + + @Test + @TestMetadata("intOperations.kt") + public void testIntOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intOperations.kt"); + } + + @Test + @TestMetadata("jvmFloatDoubleToString.kt") + public void testJvmFloatDoubleToString() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/jvmFloatDoubleToString.kt"); + } + @Test @TestMetadata("kt55912.kt") public void testKt55912() throws Exception { @@ -24527,114 +24569,72 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt56215.kt"); } + @Test + @TestMetadata("longOperations.kt") + public void testLongOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/longOperations.kt"); + } + + @Test + @TestMetadata("shortOperations.kt") + public void testShortOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/shortOperations.kt"); + } + + @Test + @TestMetadata("stdlibConst.kt") + public void testStdlibConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stdlibConst.kt"); + } + + @Test + @TestMetadata("stringConcatenation.kt") + public void testStringConcatenation() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenation.kt"); + } + @Test @TestMetadata("stringConcatenationWithObject.kt") public void testStringConcatenationWithObject() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringConcatenationWithObject.kt"); } + @Test + @TestMetadata("stringOperations.kt") + public void testStringOperations() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/stringOperations.kt"); + } + @Test @TestMetadata("thisPlusString.kt") public void testThisPlusString() throws Exception { runTest("compiler/testData/codegen/box/involvesIrInterpreter/thisPlusString.kt"); } + @Test + @TestMetadata("unsignedConst.kt") + public void testUnsignedConst() throws Exception { + runTest("compiler/testData/codegen/box/involvesIrInterpreter/unsignedConst.kt"); + } + @Nested - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") @Tag("codegen") @Tag("k1Codegen") @UseExtTestCaseGroupProvider() @UsePartialLinkage(mode = Mode.DISABLED) @Tag("no-partial-linkage-may-be-skipped") - public class DumpIrAndCheck { + public class IntrinsicConst { @Test - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); - } - - @Test - @TestMetadata("booleanOperations.kt") - public void testBooleanOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/booleanOperations.kt"); - } - - @Test - @TestMetadata("byteOperations.kt") - public void testByteOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/byteOperations.kt"); - } - - @Test - @TestMetadata("charOperations.kt") - public void testCharOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/charOperations.kt"); - } - - @Test - @TestMetadata("doubleOperations.kt") - public void testDoubleOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/doubleOperations.kt"); - } - - @Test - @TestMetadata("floatOperations.kt") - public void testFloatOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/floatOperations.kt"); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @TestMetadata("ifConstVal.kt") public void testIfConstVal() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/ifConstVal.kt"); - } - - @Test - @TestMetadata("intOperations.kt") - public void testIntOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/intOperations.kt"); - } - - @Test - @TestMetadata("jvmFloatDoubleToString.kt") - public void testJvmFloatDoubleToString() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/jvmFloatDoubleToString.kt"); - } - - @Test - @TestMetadata("longOperations.kt") - public void testLongOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/longOperations.kt"); - } - - @Test - @TestMetadata("shortOperations.kt") - public void testShortOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/shortOperations.kt"); - } - - @Test - @TestMetadata("stdlibConst.kt") - public void testStdlibConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stdlibConst.kt"); - } - - @Test - @TestMetadata("stringConcatenation.kt") - public void testStringConcatenation() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringConcatenation.kt"); - } - - @Test - @TestMetadata("stringOperations.kt") - public void testStringOperations() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/stringOperations.kt"); - } - - @Test - @TestMetadata("unsignedConst.kt") - public void testUnsignedConst() throws Exception { - runTest("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck/unsignedConst.kt"); + runTest("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/ifConstVal.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 e5e92bb50b6..cca3d6f86b0 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 @@ -18720,16 +18720,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt56215.kt"); } - @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck") + @TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) - public static class DumpIrAndCheck extends AbstractIrCodegenBoxWasmTest { + public static class IntrinsicConst extends AbstractIrCodegenBoxWasmTest { private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); } - public void testAllFilesPresentInDumpIrAndCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/dumpIrAndCheck"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + public void testAllFilesPresentInIntrinsicConst() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); } }