Add several new SMAP tests

Some of them are still failing and suppose to be
fixed later
This commit is contained in:
Ivan Kylchik
2022-12-20 18:10:13 +01:00
committed by Space Team
parent 32a7633c06
commit bb401c39d9
26 changed files with 603 additions and 0 deletions
@@ -3922,6 +3922,12 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
}
@Test
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
public void testCoroutinesWithTailCallOtpimization() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
}
@Test
@TestMetadata("crossroutines.kt")
public void testCrossroutines() throws Exception {
@@ -3946,6 +3952,12 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
}
@Test
@TestMetadata("interleavedFiles.kt")
public void testInterleavedFiles() throws Exception {
@@ -4012,6 +4024,12 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
}
@Test
@TestMetadata("tryFinally1.kt")
public void testTryFinally1() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
@TestDataPath("$PROJECT_ROOT")
@@ -3922,6 +3922,12 @@ public class FirJsCodegenInlineTestGenerated extends AbstractFirJsCodegenInlineT
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
}
@Test
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
public void testCoroutinesWithTailCallOtpimization() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
}
@Test
@TestMetadata("crossroutines.kt")
public void testCrossroutines() throws Exception {
@@ -3946,6 +3952,12 @@ public class FirJsCodegenInlineTestGenerated extends AbstractFirJsCodegenInlineT
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
}
@Test
@TestMetadata("interleavedFiles.kt")
public void testInterleavedFiles() throws Exception {
@@ -4012,6 +4024,12 @@ public class FirJsCodegenInlineTestGenerated extends AbstractFirJsCodegenInlineT
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
}
@Test
@TestMetadata("tryFinally1.kt")
public void testTryFinally1() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
@TestDataPath("$PROJECT_ROOT")
@@ -3922,6 +3922,12 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
}
@Test
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
public void testCoroutinesWithTailCallOtpimization() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
}
@Test
@TestMetadata("crossroutines.kt")
public void testCrossroutines() throws Exception {
@@ -3946,6 +3952,12 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
}
@Test
@TestMetadata("interleavedFiles.kt")
public void testInterleavedFiles() throws Exception {
@@ -4012,6 +4024,12 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
}
@Test
@TestMetadata("tryFinally1.kt")
public void testTryFinally1() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
@TestDataPath("$PROJECT_ROOT")
@@ -3922,6 +3922,12 @@ public class IrJsES6CodegenInlineTestGenerated extends AbstractIrJsES6CodegenInl
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
}
@Test
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
public void testCoroutinesWithTailCallOtpimization() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
}
@Test
@TestMetadata("crossroutines.kt")
public void testCrossroutines() throws Exception {
@@ -3946,6 +3952,12 @@ public class IrJsES6CodegenInlineTestGenerated extends AbstractIrJsES6CodegenInl
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
}
@Test
@TestMetadata("interleavedFiles.kt")
public void testInterleavedFiles() throws Exception {
@@ -4012,6 +4024,12 @@ public class IrJsES6CodegenInlineTestGenerated extends AbstractIrJsES6CodegenInl
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
}
@Test
@TestMetadata("tryFinally1.kt")
public void testTryFinally1() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
@TestDataPath("$PROJECT_ROOT")