Supported SAM adapters as plus/minus/etc operators.

This commit is contained in:
Evgeny Gerashchenko
2013-06-26 00:44:42 +04:00
parent b1fb0aafea
commit 036960f117
4 changed files with 97 additions and 0 deletions
@@ -232,6 +232,11 @@ public class BlackBoxWithJavaCodegenTestGenerated extends AbstractBlackBoxCodege
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/boxWithJava/samAdapters/operators"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("binary.kt")
public void testBinary() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/operators/binary.kt");
}
@TestMetadata("get.kt")
public void testGet() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/operators/get.kt");