Not loading SAM adapters from compiled Kotlin classes.

This commit is contained in:
Evgeny Gerashchenko
2013-06-06 21:19:02 +04:00
parent 9601762b2c
commit 203dd93a7a
7 changed files with 48 additions and 1 deletions
@@ -414,6 +414,16 @@ public class LoadCompiledKotlinTestGenerated extends AbstractLoadCompiledKotlinT
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/loadKotlin/fun"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("NoSamAdapter.kt")
public void testNoSamAdapter() throws Exception {
doTestWithAccessors("compiler/testData/loadKotlin/fun/NoSamAdapter.kt");
}
@TestMetadata("NoSamConstructor.kt")
public void testNoSamConstructor() throws Exception {
doTestWithAccessors("compiler/testData/loadKotlin/fun/NoSamConstructor.kt");
}
@TestMetadata("PropagateDeepSubclass.kt")
public void testPropagateDeepSubclass() throws Exception {
doTestWithAccessors("compiler/testData/loadKotlin/fun/PropagateDeepSubclass.kt");
@@ -416,6 +416,16 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/loadKotlin/fun"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("NoSamAdapter.kt")
public void testNoSamAdapter() throws Exception {
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadKotlin/fun/NoSamAdapter.kt");
}
@TestMetadata("NoSamConstructor.kt")
public void testNoSamConstructor() throws Exception {
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadKotlin/fun/NoSamConstructor.kt");
}
@TestMetadata("PropagateDeepSubclass.kt")
public void testPropagateDeepSubclass() throws Exception {
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadKotlin/fun/PropagateDeepSubclass.kt");