Supported generic subclasses in submethods.

#KT-2776 in progress
This commit is contained in:
Evgeny Gerashchenko
2012-11-09 17:11:19 +04:00
parent e2d213f1fd
commit 89b413b7ad
7 changed files with 111 additions and 18 deletions
@@ -476,6 +476,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("InheritNullabilityGenericSubclassSimple.java")
public void testInheritNullabilityGenericSubclassSimple() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/InheritNullabilityGenericSubclassSimple.java");
}
@TestMetadata("InheritNullabilityJavaSubtype.java")
public void testInheritNullabilityJavaSubtype() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/InheritNullabilityJavaSubtype.java");
@@ -1371,6 +1371,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("InheritNullabilityGenericSubclassSimple.kt")
public void testInheritNullabilityGenericSubclassSimple() throws Exception {
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/InheritNullabilityGenericSubclassSimple.kt");
}
@TestMetadata("InheritNullabilityJavaSubtype.kt")
public void testInheritNullabilityJavaSubtype() throws Exception {
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/InheritNullabilityJavaSubtype.kt");