[test] Split KMP IR text tests onto K1-only and K2-only groups

^KT-60390
This commit is contained in:
Dmitriy Dolovov
2023-12-08 17:30:04 +01:00
committed by Space Team
parent 79c300209e
commit 0b3d64719f
39 changed files with 256 additions and 250 deletions
@@ -835,39 +835,39 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/multiplatform"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("expectClassInherited.kt")
public void testExpectClassInherited() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.kt");
@TestMetadata("K1_expectClassInherited.kt")
public void testK1_expectClassInherited() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/K1_expectClassInherited.kt");
}
@TestMetadata("expectIntersectionOverride.kt")
public void testExpectIntersectionOverride() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/expectIntersectionOverride.kt");
@TestMetadata("K1_expectMemberInNotExpectClass.kt")
public void testK1_expectMemberInNotExpectClass() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/K1_expectMemberInNotExpectClass.kt");
}
@TestMetadata("expectMemberInNotExpectClass.kt")
public void testExpectMemberInNotExpectClass() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/expectMemberInNotExpectClass.kt");
@TestMetadata("K1_expectedEnumClass.kt")
public void testK1_expectedEnumClass() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/K1_expectedEnumClass.kt");
}
@TestMetadata("expectMemberInNotExpectClassFir.kt")
public void testExpectMemberInNotExpectClassFir() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/expectMemberInNotExpectClassFir.kt");
@TestMetadata("K1_expectedSealedClass.kt")
public void testK1_expectedSealedClass() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/K1_expectedSealedClass.kt");
}
@TestMetadata("expectedEnumClass.kt")
public void testExpectedEnumClass() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.kt");
@TestMetadata("K2_expectIntersectionOverride.kt")
public void testK2_expectIntersectionOverride() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/K2_expectIntersectionOverride.kt");
}
@TestMetadata("expectedEnumClass2.kt")
public void testExpectedEnumClass2() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass2.kt");
@TestMetadata("K2_expectMemberInNotExpectClass.kt")
public void testK2_expectMemberInNotExpectClass() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/K2_expectMemberInNotExpectClass.kt");
}
@TestMetadata("expectedSealedClass.kt")
public void testExpectedSealedClass() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.kt");
@TestMetadata("K2_expectedEnumClass.kt")
public void testK2_expectedEnumClass() throws Exception {
runTest("compiler/testData/ir/irText/declarations/multiplatform/K2_expectedEnumClass.kt");
}
}