[KT-24335]
Fix inheritance from interface which is also inherited from an external interface Add test case
This commit is contained in:
committed by
Roman Artemev
parent
93f5fe2451
commit
4f2d5baa5d
+5
@@ -3547,6 +3547,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inheritance/interfaces"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@TestMetadata("fromExternalInterface.kt")
|
||||
public void testFromExternalInterface() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/interfaces/fromExternalInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("withDefaultMethod.kt")
|
||||
public void testWithDefaultMethod() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/interfaces/withDefaultMethod.kt");
|
||||
|
||||
+5
@@ -3547,6 +3547,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inheritance/interfaces"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("fromExternalInterface.kt")
|
||||
public void testFromExternalInterface() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/interfaces/fromExternalInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("withDefaultMethod.kt")
|
||||
public void testWithDefaultMethod() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/interfaces/withDefaultMethod.kt");
|
||||
|
||||
Reference in New Issue
Block a user