Not loading SAM adapters from compiled Kotlin classes.
This commit is contained in:
@@ -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");
|
||||
|
||||
+10
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user