[JS IR] Add test on interface with default method calling extension method on super-interface
^KT-42176 fixed
This commit is contained in:
+12
@@ -13178,6 +13178,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMethodCallExtensionSuper.kt")
|
||||
public void testClassMethodCallExtensionSuper() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionFunctions/classMethodCallExtensionSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultMethodInterfaceCallExtensionSuper.kt")
|
||||
public void testDefaultMethodInterfaceCallExtensionSuper() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionFunctions/defaultMethodInterfaceCallExtensionSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("executionOrder.kt")
|
||||
public void testExecutionOrder() throws Exception {
|
||||
|
||||
+12
@@ -13178,6 +13178,18 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMethodCallExtensionSuper.kt")
|
||||
public void testClassMethodCallExtensionSuper() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionFunctions/classMethodCallExtensionSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultMethodInterfaceCallExtensionSuper.kt")
|
||||
public void testDefaultMethodInterfaceCallExtensionSuper() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionFunctions/defaultMethodInterfaceCallExtensionSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("executionOrder.kt")
|
||||
public void testExecutionOrder() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user