[IR] Extract toString interpretation test of float value into new file

We need to distinguish `toString` results for JVM and JS
This commit is contained in:
Ivan Kylchik
2023-04-10 17:15:52 +02:00
committed by Space Team
parent 45aacae945
commit 8cc8e54a9f
16 changed files with 120 additions and 50 deletions
@@ -21085,12 +21085,6 @@ 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("jsIrToConst.kt")
public void testJsIrToConst() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/jsIrToConst.kt");
}
@Test
@TestMetadata("kt55912.kt")
public void testKt55912() throws Exception {
@@ -21166,6 +21160,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
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 {
@@ -21085,12 +21085,6 @@ 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("jsIrToConst.kt")
public void testJsIrToConst() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/jsIrToConst.kt");
}
@Test
@TestMetadata("kt55912.kt")
public void testKt55912() throws Exception {
@@ -21166,6 +21160,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
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 {
@@ -21085,12 +21085,6 @@ 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("jsIrToConst.kt")
public void testJsIrToConst() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/jsIrToConst.kt");
}
@Test
@TestMetadata("kt55912.kt")
public void testKt55912() throws Exception {
@@ -21166,6 +21160,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
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 {