Added test with vararg parameter in SAM interface.

This commit is contained in:
Evgeny Gerashchenko
2013-06-20 17:45:13 +04:00
parent 906f900b28
commit 63dbfcb81c
3 changed files with 17 additions and 0 deletions
@@ -1238,6 +1238,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
doTestCompiledJava("compiler/testData/loadJava/compiledJava/singleAbstractMethod/SubstitutedSamInterfaceSubclassOfBuiltin.java");
}
@TestMetadata("VarargParameter.java")
public void testVarargParameter() throws Exception {
doTestCompiledJava("compiler/testData/loadJava/compiledJava/singleAbstractMethod/VarargParameter.java");
}
@TestMetadata("compiler/testData/loadJava/compiledJava/singleAbstractMethod/adapter")
public static class Adapter extends AbstractLoadJavaTest {
public void testAllFilesPresentInAdapter() throws Exception {