Remove some remaining tests on old coroutines

This commit is contained in:
Alexander Udalov
2021-01-12 22:26:22 +01:00
parent 7953974f3d
commit e0363788f4
26 changed files with 27 additions and 557 deletions
@@ -1478,11 +1478,6 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
public void testSuspendMain() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/main/suspendMain.kt");
}
@TestMetadata("suspendMain_before.kt")
public void testSuspendMain_before() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/main/suspendMain_before.kt");
}
}
@TestMetadata("compiler/testData/codegen/bytecodeListing/multiplatform")
@@ -4047,11 +4047,6 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/oldLanguageVersions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@TestMetadata("constCoroutine.kt")
public void testConstCoroutine() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/oldLanguageVersions/constCoroutine.kt");
}
@TestMetadata("noInlineJavaProtectedConstants.kt")
public void testNoInlineJavaProtectedConstants() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/oldLanguageVersions/noInlineJavaProtectedConstants.kt");
@@ -4075,39 +4070,6 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/oldLanguageVersions/coroutines")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Coroutines extends AbstractBytecodeTextTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
public void testAllFilesPresentInCoroutines() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/oldLanguageVersions/coroutines"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@TestMetadata("crossinlineSuspendContinuation_1_2.kt")
public void testCrossinlineSuspendContinuation_1_2() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/oldLanguageVersions/coroutines/crossinlineSuspendContinuation_1_2.kt");
}
@TestMetadata("doNotReassignContinuation_1_2.kt")
public void testDoNotReassignContinuation_1_2() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/oldLanguageVersions/coroutines/doNotReassignContinuation_1_2.kt");
}
@TestMetadata("varValueConflictsWithTableSameSort_1_2.kt")
public void testVarValueConflictsWithTableSameSort_1_2() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/oldLanguageVersions/coroutines/varValueConflictsWithTableSameSort_1_2.kt");
}
@TestMetadata("varValueConflictsWithTable_1_2.kt")
public void testVarValueConflictsWithTable_1_2() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/oldLanguageVersions/coroutines/varValueConflictsWithTable_1_2.kt");
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/oldLanguageVersions/ieee754")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -1478,11 +1478,6 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
public void testSuspendMain() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/main/suspendMain.kt");
}
@TestMetadata("suspendMain_before.kt")
public void testSuspendMain_before() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/main/suspendMain_before.kt");
}
}
@TestMetadata("compiler/testData/codegen/bytecodeListing/multiplatform")