Support default method invocation via super

#KT-5970 Fixed
This commit is contained in:
Michael Bogdanov
2015-05-05 16:04:16 +03:00
parent 3fbdf05921
commit 99cad4b43f
4 changed files with 54 additions and 3 deletions
@@ -71,6 +71,12 @@ public class BlackBoxWithJava8CodegenTestGenerated extends AbstractBlackBoxCodeg
doTestWithJava(fileName);
}
@TestMetadata("invokeDefaultViaSuper")
public void testInvokeDefaultViaSuper() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/java8/boxWithJava/invokeDefaultViaSuper/");
doTestWithJava(fileName);
}
@TestMetadata("samOnInterfaceWithDefaultMethod")
public void testSamOnInterfaceWithDefaultMethod() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/java8/boxWithJava/samOnInterfaceWithDefaultMethod/");