[K/N] Add test for inter-module suspend function override

This commit is contained in:
Pavel Kunyavskiy
2022-09-08 15:16:39 +02:00
committed by Space Team
parent 132bb941e1
commit 2d4c94a115
9 changed files with 95 additions and 0 deletions
@@ -9268,6 +9268,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("inheritFromAnotherModule.kt")
public void testInheritFromAnotherModule() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/multiModule/inheritFromAnotherModule.kt");
}
@Test
@TestMetadata("inlineCrossModule.kt")
public void testInlineCrossModule() throws Exception {
@@ -9358,6 +9358,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("inheritFromAnotherModule.kt")
public void testInheritFromAnotherModule() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/multiModule/inheritFromAnotherModule.kt");
}
@Test
@TestMetadata("inlineCrossModule.kt")
public void testInlineCrossModule() throws Exception {
@@ -8245,6 +8245,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/multiModule"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("inheritFromAnotherModule.kt")
public void testInheritFromAnotherModule() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/multiModule/inheritFromAnotherModule.kt");
}
@TestMetadata("inlineCrossModule.kt")
public void testInlineCrossModule() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/multiModule/inlineCrossModule.kt");