Supported cases with two superclasses when they have different variances.

This commit is contained in:
Evgeny Gerashchenko
2012-12-04 14:13:21 +04:00
parent 482d7813ee
commit 6975691e7a
9 changed files with 234 additions and 102 deletions
@@ -664,6 +664,16 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesConflictingProjectionKinds.java");
}
@TestMetadata("TwoSuperclassesInvariantAndCovariantInferMutability.java")
public void testTwoSuperclassesInvariantAndCovariantInferMutability() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesInvariantAndCovariantInferMutability.java");
}
@TestMetadata("TwoSuperclassesInvariantAndCovariantInferNullability.java")
public void testTwoSuperclassesInvariantAndCovariantInferNullability() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesInvariantAndCovariantInferNullability.java");
}
@TestMetadata("TwoSuperclassesMutableAndNot.java")
public void testTwoSuperclassesMutableAndNot() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesMutableAndNot.java");
@@ -1554,6 +1554,16 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesConflictingProjectionKinds.kt");
}
@TestMetadata("TwoSuperclassesInvariantAndCovariantInferMutability.kt")
public void testTwoSuperclassesInvariantAndCovariantInferMutability() throws Exception {
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesInvariantAndCovariantInferMutability.kt");
}
@TestMetadata("TwoSuperclassesInvariantAndCovariantInferNullability.kt")
public void testTwoSuperclassesInvariantAndCovariantInferNullability() throws Exception {
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesInvariantAndCovariantInferNullability.kt");
}
@TestMetadata("TwoSuperclassesMutableAndNot.kt")
public void testTwoSuperclassesMutableAndNot() throws Exception {
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesMutableAndNot.kt");