FIR: Support java array in type argument

^KT-37321 Fixed
This commit is contained in:
Denis Zharkov
2020-05-20 16:13:35 +03:00
parent 164b4dd439
commit 4d484dd971
16 changed files with 105 additions and 44 deletions
@@ -30,6 +30,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/loadJava/compiledJava"), Pattern.compile("^(.+)\\.java$"), null, true);
}
@TestMetadata("ArrayInGenericArguments.java")
public void testArrayInGenericArguments() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/ArrayInGenericArguments.java");
}
@TestMetadata("ArrayTypeVariance.java")
public void testArrayTypeVariance() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/ArrayTypeVariance.java");
@@ -28,6 +28,11 @@ public class LoadJavaWithPsiClassReadingTestGenerated extends AbstractLoadJavaWi
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/loadJava/compiledJava"), Pattern.compile("^(.+)\\.java$"), null, true);
}
@TestMetadata("ArrayInGenericArguments.java")
public void testArrayInGenericArguments() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/ArrayInGenericArguments.java");
}
@TestMetadata("ArrayTypeVariance.java")
public void testArrayTypeVariance() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/ArrayTypeVariance.java");
@@ -31,6 +31,11 @@ public class IrLoadJavaTestGenerated extends AbstractIrLoadJavaTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/loadJava/compiledJava"), Pattern.compile("^(.+)\\.java$"), null, TargetBackend.JVM_IR, true);
}
@TestMetadata("ArrayInGenericArguments.java")
public void testArrayInGenericArguments() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/ArrayInGenericArguments.java");
}
@TestMetadata("ArrayTypeVariance.java")
public void testArrayTypeVariance() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/ArrayTypeVariance.java");
@@ -30,6 +30,11 @@ public class LoadJavaUsingJavacTestGenerated extends AbstractLoadJavaUsingJavacT
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/loadJava/compiledJava"), Pattern.compile("^(.+)\\.java$"), null, true);
}
@TestMetadata("ArrayInGenericArguments.java")
public void testArrayInGenericArguments() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/ArrayInGenericArguments.java");
}
@TestMetadata("ArrayTypeVariance.java")
public void testArrayTypeVariance() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/ArrayTypeVariance.java");