Added tests with mixture of SAM and non-SAM parameters.

This commit is contained in:
Evgeny Gerashchenko
2013-04-16 22:45:48 +04:00
parent 7bd11718de
commit e554228a73
6 changed files with 44 additions and 0 deletions
@@ -127,6 +127,11 @@ public class BlackBoxWithJavaCodegenTestGenerated extends AbstractBlackBoxCodege
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/fileFilter.kt");
}
@TestMetadata("severalSamParameters.kt")
public void testSeveralSamParameters() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/severalSamParameters.kt");
}
@TestMetadata("simplest.kt")
public void testSimplest() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/simplest.kt");
@@ -1234,6 +1234,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
doTestCompiledJava("compiler/testData/loadJava/compiledJava/singleAbstractMethod/adapter/NonTrivialFunctionType.java");
}
@TestMetadata("SeveralSamParameters.java")
public void testSeveralSamParameters() throws Exception {
doTestCompiledJava("compiler/testData/loadJava/compiledJava/singleAbstractMethod/adapter/SeveralSamParameters.java");
}
}
public static Test innerSuite() {