Added tests for signatures propagation.
This commit is contained in:
@@ -481,6 +481,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("HalfSubstitutedTypeParameters.java")
|
||||
public void testHalfSubstitutedTypeParameters() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/HalfSubstitutedTypeParameters.java");
|
||||
}
|
||||
|
||||
@TestMetadata("InheritNullabilityGenericSubclassSimple.java")
|
||||
public void testInheritNullabilityGenericSubclassSimple() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/InheritNullabilityGenericSubclassSimple.java");
|
||||
@@ -521,6 +526,21 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/InheritVariance.java");
|
||||
}
|
||||
|
||||
@TestMetadata("SameProjectionKind.java")
|
||||
public void testSameProjectionKind() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/SameProjectionKind.java");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoSuperclassesConflictingProjectionKinds.java")
|
||||
public void testTwoSuperclassesConflictingProjectionKinds() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesConflictingProjectionKinds.java");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoSuperclassesMutableAndNot.java")
|
||||
public void testTwoSuperclassesMutableAndNot() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesMutableAndNot.java");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoSuperclassesReturnJavaSubtype.java")
|
||||
public void testTwoSuperclassesReturnJavaSubtype() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesReturnJavaSubtype.java");
|
||||
@@ -531,6 +551,26 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesReturnSameJavaType.java");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoSuperclassesSupplementNotNull.java")
|
||||
public void testTwoSuperclassesSupplementNotNull() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesSupplementNotNull.java");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeParamOfClass.java")
|
||||
public void testTypeParamOfClass() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TypeParamOfClass.java");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeParamOfClassSubstituted.java")
|
||||
public void testTypeParamOfClassSubstituted() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TypeParamOfClassSubstituted.java");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeParamOfFun.java")
|
||||
public void testTypeParamOfFun() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/propagation/return/TypeParamOfFun.java");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static Test innerSuite() {
|
||||
|
||||
+40
@@ -1391,6 +1391,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("HalfSubstitutedTypeParameters.kt")
|
||||
public void testHalfSubstitutedTypeParameters() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/HalfSubstitutedTypeParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InheritNullabilityGenericSubclassSimple.kt")
|
||||
public void testInheritNullabilityGenericSubclassSimple() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/InheritNullabilityGenericSubclassSimple.kt");
|
||||
@@ -1431,6 +1436,21 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/InheritVariance.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SameProjectionKind.kt")
|
||||
public void testSameProjectionKind() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/SameProjectionKind.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoSuperclassesConflictingProjectionKinds.kt")
|
||||
public void testTwoSuperclassesConflictingProjectionKinds() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesConflictingProjectionKinds.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoSuperclassesMutableAndNot.kt")
|
||||
public void testTwoSuperclassesMutableAndNot() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesMutableAndNot.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoSuperclassesReturnJavaSubtype.kt")
|
||||
public void testTwoSuperclassesReturnJavaSubtype() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesReturnJavaSubtype.kt");
|
||||
@@ -1441,6 +1461,26 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesReturnSameJavaType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoSuperclassesSupplementNotNull.kt")
|
||||
public void testTwoSuperclassesSupplementNotNull() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TwoSuperclassesSupplementNotNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeParamOfClass.kt")
|
||||
public void testTypeParamOfClass() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TypeParamOfClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeParamOfClassSubstituted.kt")
|
||||
public void testTypeParamOfClassSubstituted() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TypeParamOfClassSubstituted.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeParamOfFun.kt")
|
||||
public void testTypeParamOfFun() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/return/TypeParamOfFun.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static Test innerSuite() {
|
||||
|
||||
Reference in New Issue
Block a user