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
@@ -12689,6 +12689,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
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 {
@@ -25835,6 +25841,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/properties/unreachableUninitializedProperty.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/backingField")
@TestDataPath("$PROJECT_ROOT")
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.JS, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/const")
@TestDataPath("$PROJECT_ROOT")
@@ -12785,6 +12785,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
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 {
@@ -25979,6 +25985,16 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/properties/unreachableUninitializedProperty.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/backingField")
@TestDataPath("$PROJECT_ROOT")
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.JS_IR, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/const")
@TestDataPath("$PROJECT_ROOT")
@@ -12785,6 +12785,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
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 {
@@ -25979,6 +25985,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/properties/unreachableUninitializedProperty.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/backingField")
@TestDataPath("$PROJECT_ROOT")
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.JS_IR, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/const")
@TestDataPath("$PROJECT_ROOT")
@@ -12785,6 +12785,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
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 {
@@ -25979,6 +25985,16 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/properties/unreachableUninitializedProperty.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/backingField")
@TestDataPath("$PROJECT_ROOT")
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.JS_IR_ES6, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/properties/const")
@TestDataPath("$PROJECT_ROOT")