[IR SERIALIZATION] Add tests about klib linkage

This commit is contained in:
Roman Artemev
2019-08-23 15:28:55 +03:00
committed by romanart
parent 1e547dd1cd
commit 90504c797a
4 changed files with 102 additions and 0 deletions
@@ -5339,6 +5339,16 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModule"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.JS_IR, true);
}
@TestMetadata("clashedDeclLinkage.kt")
public void testClashedDeclLinkage() throws Exception {
runTest("js/js.translator/testData/box/multiModule/clashedDeclLinkage.kt");
}
@TestMetadata("clashedInternalDeclarations.kt")
public void testClashedInternalDeclarations() throws Exception {
runTest("js/js.translator/testData/box/multiModule/clashedInternalDeclarations.kt");
}
@TestMetadata("interfaceMethodWithDefaultParameter.kt")
public void testInterfaceMethodWithDefaultParameter() throws Exception {
runTest("js/js.translator/testData/box/multiModule/interfaceMethodWithDefaultParameter.kt");
@@ -5354,6 +5354,16 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModule"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("clashedDeclLinkage.kt")
public void testClashedDeclLinkage() throws Exception {
runTest("js/js.translator/testData/box/multiModule/clashedDeclLinkage.kt");
}
@TestMetadata("clashedInternalDeclarations.kt")
public void testClashedInternalDeclarations() throws Exception {
runTest("js/js.translator/testData/box/multiModule/clashedInternalDeclarations.kt");
}
@TestMetadata("interfaceMethodWithDefaultParameter.kt")
public void testInterfaceMethodWithDefaultParameter() throws Exception {
runTest("js/js.translator/testData/box/multiModule/interfaceMethodWithDefaultParameter.kt");