Checking for return type in kotlin signature if have super methods.

This commit is contained in:
Evgeny Gerashchenko
2012-12-04 16:01:34 +04:00
parent 6975691e7a
commit 5e86cbe004
6 changed files with 71 additions and 6 deletions
@@ -599,6 +599,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/loadJava/kotlinSignature/propagation/return"), "java", true);
}
@TestMetadata("CantMakeImmutableInSubclass.java")
public void testCantMakeImmutableInSubclass() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/CantMakeImmutableInSubclass.java");
}
@TestMetadata("HalfSubstitutedTypeParameters.java")
public void testHalfSubstitutedTypeParameters() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/HalfSubstitutedTypeParameters.java");
@@ -1489,6 +1489,11 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/loadJava/kotlinSignature/propagation/return"), "kt", true);
}
@TestMetadata("CantMakeImmutableInSubclass.kt")
public void testCantMakeImmutableInSubclass() throws Exception {
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/CantMakeImmutableInSubclass.kt");
}
@TestMetadata("HalfSubstitutedTypeParameters.kt")
public void testHalfSubstitutedTypeParameters() throws Exception {
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/HalfSubstitutedTypeParameters.kt");