Merge K2 box tests to main box tests

This commit is contained in:
Alexander Udalov
2023-03-23 12:28:07 +01:00
committed by Space Team
parent 14c2030595
commit d3be38476a
32 changed files with 584 additions and 402 deletions
@@ -14126,6 +14126,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/enum/innerWithExistingClassObject.kt");
}
@Test
@TestMetadata("k54079.kt")
public void testK54079() throws Exception {
runTest("compiler/testData/codegen/box/enum/k54079.kt");
}
@Test
@TestMetadata("kt1119.kt")
public void testKt1119() throws Exception {
@@ -29469,6 +29475,20 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/properties/unreachableUninitializedProperty.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/backingField")
@TestDataPath("$PROJECT_ROOT")
@Tag("codegenK2")
@Tag("firCodegen")
@UseExtTestCaseGroupProvider()
@FirPipeline()
public class BackingField {
@Test
public void testAllFilesPresentInBackingField() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/backingField"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/const")
@TestDataPath("$PROJECT_ROOT")
@@ -13963,6 +13963,12 @@ public class K1NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
runTest("compiler/testData/codegen/box/enum/innerWithExistingClassObject.kt");
}
@Test
@TestMetadata("k54079.kt")
public void testK54079() throws Exception {
runTest("compiler/testData/codegen/box/enum/k54079.kt");
}
@Test
@TestMetadata("kt1119.kt")
public void testKt1119() throws Exception {
@@ -29141,6 +29147,19 @@ public class K1NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
runTest("compiler/testData/codegen/box/properties/unreachableUninitializedProperty.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/backingField")
@TestDataPath("$PROJECT_ROOT")
@Tag("codegen")
@Tag("k1Codegen")
@UseExtTestCaseGroupProvider()
public class BackingField {
@Test
public void testAllFilesPresentInBackingField() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/backingField"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/const")
@TestDataPath("$PROJECT_ROOT")