Test for KT-5969: Codegen overrides all java 8 default methods with delegation to unexisting Timpl

#KT-5969 Fixed
This commit is contained in:
Michael Bogdanov
2015-04-18 12:49:36 +03:00
parent 115c4b78c0
commit 2f88f830b8
3 changed files with 25 additions and 0 deletions
@@ -47,6 +47,12 @@ public class BlackBoxWithJava8CodegenTestGenerated extends AbstractBlackBoxCodeg
doTestWithJava(fileName);
}
@TestMetadata("dontDelegateToDefaultMethods")
public void testDontDelegateToDefaultMethods() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/java8/boxWithJava/dontDelegateToDefaultMethods/");
doTestWithJava(fileName);
}
@TestMetadata("samOnInterfaceWithDefaultMethod")
public void testSamOnInterfaceWithDefaultMethod() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/java8/boxWithJava/samOnInterfaceWithDefaultMethod/");