Fixed calling inherited SAM adapter.

This commit is contained in:
Evgeny Gerashchenko
2013-04-30 17:19:50 +04:00
parent fed5cf6524
commit 516a5b76e8
5 changed files with 48 additions and 3 deletions
@@ -135,6 +135,11 @@ public class BlackBoxWithJavaCodegenTestGenerated extends AbstractBlackBoxCodege
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/boxWithJava/samAdapters"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("cantCallInherited.kt")
public void testCantCallInherited() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/cantCallInherited.kt");
}
@TestMetadata("comparator.kt")
public void testComparator() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/comparator.kt");