Loading functional interfaces with generic parameters.

This commit is contained in:
Evgeny Gerashchenko
2013-03-18 18:53:42 +04:00
parent 526cc3ce15
commit 3b558d575c
5 changed files with 44 additions and 5 deletions
@@ -1130,6 +1130,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/loadJava/compiledJava/singleAbstractMethod"), Pattern.compile("^(.+)\\.java$"), true);
}
@TestMetadata("Comparator.java")
public void testComparator() throws Exception {
doTestCompiledJava("compiler/testData/loadJava/compiledJava/singleAbstractMethod/Comparator.java");
}
@TestMetadata("FilenameFilter.java")
public void testFilenameFilter() throws Exception {
doTestCompiledJava("compiler/testData/loadJava/compiledJava/singleAbstractMethod/FilenameFilter.java");