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
@@ -4570,6 +4570,12 @@ public class FirLightTreeBlackBoxInlineCodegenTestGenerated extends AbstractFirL
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 {
@@ -4594,6 +4600,12 @@ public class FirLightTreeBlackBoxInlineCodegenTestGenerated extends AbstractFirL
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 {
@@ -4666,6 +4678,18 @@ public class FirLightTreeBlackBoxInlineCodegenTestGenerated extends AbstractFirL
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");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
@TestDataPath("$PROJECT_ROOT")
@@ -4570,6 +4570,12 @@ public class FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated
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 {
@@ -4594,6 +4600,12 @@ public class FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated
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 {
@@ -4666,6 +4678,18 @@ public class FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated
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");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
@TestDataPath("$PROJECT_ROOT")
@@ -4570,6 +4570,12 @@ public class FirPsiBlackBoxInlineCodegenTestGenerated extends AbstractFirPsiBlac
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 {
@@ -4594,6 +4600,12 @@ public class FirPsiBlackBoxInlineCodegenTestGenerated extends AbstractFirPsiBlac
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 {
@@ -4666,6 +4678,18 @@ public class FirPsiBlackBoxInlineCodegenTestGenerated extends AbstractFirPsiBlac
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");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
@TestDataPath("$PROJECT_ROOT")
@@ -4570,6 +4570,12 @@ public class FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated extend
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 {
@@ -4594,6 +4600,12 @@ public class FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated extend
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 {
@@ -4666,6 +4678,18 @@ public class FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated extend
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");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
@TestDataPath("$PROJECT_ROOT")