Remove "FIR" foreign annotation tests
They do not actually use FIR.
This commit is contained in:
+21
-237
@@ -23,7 +23,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Tests {
|
||||
@Test
|
||||
public void testAllFilesPresentInTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -140,7 +140,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Jsr305 {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsr305() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -179,7 +179,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Ignore {
|
||||
@Test
|
||||
public void testAllFilesPresentInIgnore() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/ignore"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/ignore"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -195,7 +195,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class NullabilityWarnings {
|
||||
@Test
|
||||
public void testAllFilesPresentInNullabilityWarnings() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -246,7 +246,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class FromPlatformTypes {
|
||||
@Test
|
||||
public void testAllFilesPresentInFromPlatformTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/fromPlatformTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/fromPlatformTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -376,7 +376,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class TypeQualifierDefault {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -435,7 +435,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class TypeQualifierDefault {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -500,7 +500,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Jsr305NullabilityWarnings {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsr305NullabilityWarnings() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -509,7 +509,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Migration {
|
||||
@Test
|
||||
public void testAllFilesPresentInMigration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings/migration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings/migration"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -574,7 +574,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class TypeQualifierDefault {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -591,7 +591,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Java8Tests {
|
||||
@Test
|
||||
public void testAllFilesPresentInJava8Tests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -618,7 +618,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Jspecify {
|
||||
@Test
|
||||
public void testAllFilesPresentInJspecify() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -627,7 +627,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class StrictMode {
|
||||
@Test
|
||||
public void testAllFilesPresentInStrictMode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -636,48 +636,24 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/AnnotatedBoundsOfWildcard.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AnnotatedBoundsOfWildcard.fir.kt")
|
||||
public void testAnnotatedBoundsOfWildcard_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.fir.kt")
|
||||
public void testDefaults_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Defaults.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/IgnoreAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.fir.kt")
|
||||
public void testIgnoreAnnotations_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/IgnoreAnnotations.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47396.kt")
|
||||
public void testKt47396() throws Exception {
|
||||
@@ -702,83 +678,41 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NonPlatformTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NonPlatformTypeParameter.fir.kt")
|
||||
public void testNonPlatformTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NonPlatformTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NullnessUnspecifiedTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.fir.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NullnessUnspecifiedTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.kt")
|
||||
public void testSelfType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/SelfType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.fir.kt")
|
||||
public void testSelfType_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/SelfType.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.fir.kt")
|
||||
public void testSimple_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Simple.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.kt")
|
||||
public void testTypeArgumentsFromParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeArgumentsFromParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.fir.kt")
|
||||
public void testTypeArgumentsFromParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeArgumentsFromParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.kt")
|
||||
public void testTypeParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.fir.kt")
|
||||
public void testTypeParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.kt")
|
||||
public void testWildcardsWithDefault() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/WildcardsWithDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.fir.kt")
|
||||
public void testWildcardsWithDefault_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/WildcardsWithDefault.fir.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -787,7 +721,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class WarnMode {
|
||||
@Test
|
||||
public void testAllFilesPresentInWarnMode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -796,48 +730,24 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/AnnotatedBoundsOfWildcard.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AnnotatedBoundsOfWildcard.fir.kt")
|
||||
public void testAnnotatedBoundsOfWildcard_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.fir.kt")
|
||||
public void testDefaults_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Defaults.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/IgnoreAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.fir.kt")
|
||||
public void testIgnoreAnnotations_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/IgnoreAnnotations.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47899.kt")
|
||||
public void testKt47899() throws Exception {
|
||||
@@ -850,83 +760,41 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NonPlatformTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NonPlatformTypeParameter.fir.kt")
|
||||
public void testNonPlatformTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NonPlatformTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NullnessUnspecifiedTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.fir.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NullnessUnspecifiedTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.kt")
|
||||
public void testSelfType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/SelfType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.fir.kt")
|
||||
public void testSelfType_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/SelfType.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.fir.kt")
|
||||
public void testSimple_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Simple.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.kt")
|
||||
public void testTypeArgumentsFromParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeArgumentsFromParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.fir.kt")
|
||||
public void testTypeArgumentsFromParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeArgumentsFromParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.kt")
|
||||
public void testTypeParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.fir.kt")
|
||||
public void testTypeParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.kt")
|
||||
public void testWildcardsWithDefault() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/WildcardsWithDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.fir.kt")
|
||||
public void testWildcardsWithDefault_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/WildcardsWithDefault.fir.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -936,7 +804,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Jsr305 {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsr305() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -976,7 +844,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Misc {
|
||||
@Test
|
||||
public void testAllFilesPresentInMisc() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -985,12 +853,6 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/annotatedTypeArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotatedTypeArguments.fir.kt")
|
||||
public void testAnnotatedTypeArguments_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/annotatedTypeArguments.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameterBound.kt")
|
||||
public void testClassTypeParameterBound() throws Exception {
|
||||
@@ -1003,66 +865,30 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/classTypeParameterBoundWithWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameterBoundWithWarnings.fir.kt")
|
||||
public void testClassTypeParameterBoundWithWarnings_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/classTypeParameterBoundWithWarnings.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameterBound.fir.kt")
|
||||
public void testClassTypeParameterBound_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/classTypeParameterBound.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enhancedRecursiveStarProjection.kt")
|
||||
public void testEnhancedRecursiveStarProjection() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/enhancedRecursiveStarProjection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enhancedRecursiveStarProjection.fir.kt")
|
||||
public void testEnhancedRecursiveStarProjection_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/enhancedRecursiveStarProjection.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodWithTypeParameter.kt")
|
||||
public void testMethodWithTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/methodWithTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodWithTypeParameter.fir.kt")
|
||||
public void testMethodWithTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/methodWithTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullVarargsOverrides.kt")
|
||||
public void testNotNullVarargsOverrides() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/notNullVarargsOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullVarargsOverrides.fir.kt")
|
||||
public void testNotNullVarargsOverrides_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/notNullVarargsOverrides.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableVarargsOverrides.kt")
|
||||
public void testNullableVarargsOverrides() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/nullableVarargsOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableVarargsOverrides.fir.kt")
|
||||
public void testNullableVarargsOverrides_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/nullableVarargsOverrides.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnType.kt")
|
||||
public void testReturnType() throws Exception {
|
||||
@@ -1075,54 +901,24 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeDifferentConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeDifferentConstructor.fir.kt")
|
||||
public void testReturnTypeDifferentConstructor_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeDifferentConstructor.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeOverrideInKotlin.kt")
|
||||
public void testReturnTypeOverrideInKotlin() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeOverrideInKotlin.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeOverrideInKotlin.fir.kt")
|
||||
public void testReturnTypeOverrideInKotlin_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeOverrideInKotlin.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeWithWarnings.kt")
|
||||
public void testReturnTypeWithWarnings() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeWithWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeWithWarnings.fir.kt")
|
||||
public void testReturnTypeWithWarnings_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeWithWarnings.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnType.fir.kt")
|
||||
public void testReturnType_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnType.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.fir.kt")
|
||||
public void testSimple_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/simple.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("useTypeParameterAnnotationToEnhanceItsUsages.kt")
|
||||
public void testUseTypeParameterAnnotationToEnhanceItsUsages() throws Exception {
|
||||
@@ -1141,18 +937,6 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/valueParameterWithWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameterWithWarnings.fir.kt")
|
||||
public void testValueParameterWithWarnings_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/valueParameterWithWarnings.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameter.fir.kt")
|
||||
public void testValueParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/valueParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("warningsBasedOnEnhancedBasedType.kt")
|
||||
public void testWarningsBasedOnEnhancedBasedType() throws Exception {
|
||||
@@ -1167,7 +951,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Java9Tests {
|
||||
@Test
|
||||
public void testAllFilesPresentInJava9Tests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -1176,7 +960,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Jspecify {
|
||||
@Test
|
||||
public void testAllFilesPresentInJspecify() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -1185,7 +969,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class ModuleAnnotations {
|
||||
@Test
|
||||
public void testAllFilesPresentInModuleAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -1194,7 +978,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Strict {
|
||||
@Test
|
||||
public void testAllFilesPresentInStrict() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/strict"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/strict"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -1270,7 +1054,7 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
public class Warn {
|
||||
@Test
|
||||
public void testAllFilesPresentInWarn() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/warn"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/warn"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+21
-237
@@ -23,7 +23,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Tests {
|
||||
@Test
|
||||
public void testAllFilesPresentInTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -140,7 +140,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Jsr305 {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsr305() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -179,7 +179,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Ignore {
|
||||
@Test
|
||||
public void testAllFilesPresentInIgnore() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/ignore"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/ignore"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -195,7 +195,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class NullabilityWarnings {
|
||||
@Test
|
||||
public void testAllFilesPresentInNullabilityWarnings() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -246,7 +246,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class FromPlatformTypes {
|
||||
@Test
|
||||
public void testAllFilesPresentInFromPlatformTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/fromPlatformTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/fromPlatformTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -376,7 +376,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class TypeQualifierDefault {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -435,7 +435,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class TypeQualifierDefault {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -500,7 +500,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Jsr305NullabilityWarnings {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsr305NullabilityWarnings() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -509,7 +509,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Migration {
|
||||
@Test
|
||||
public void testAllFilesPresentInMigration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings/migration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings/migration"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -574,7 +574,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class TypeQualifierDefault {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -591,7 +591,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Java8Tests {
|
||||
@Test
|
||||
public void testAllFilesPresentInJava8Tests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -618,7 +618,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Jspecify {
|
||||
@Test
|
||||
public void testAllFilesPresentInJspecify() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -627,7 +627,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class StrictMode {
|
||||
@Test
|
||||
public void testAllFilesPresentInStrictMode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -636,48 +636,24 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/AnnotatedBoundsOfWildcard.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AnnotatedBoundsOfWildcard.fir.kt")
|
||||
public void testAnnotatedBoundsOfWildcard_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.fir.kt")
|
||||
public void testDefaults_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Defaults.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/IgnoreAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.fir.kt")
|
||||
public void testIgnoreAnnotations_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/IgnoreAnnotations.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47396.kt")
|
||||
public void testKt47396() throws Exception {
|
||||
@@ -702,83 +678,41 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NonPlatformTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NonPlatformTypeParameter.fir.kt")
|
||||
public void testNonPlatformTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NonPlatformTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NullnessUnspecifiedTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.fir.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NullnessUnspecifiedTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.kt")
|
||||
public void testSelfType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/SelfType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.fir.kt")
|
||||
public void testSelfType_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/SelfType.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.fir.kt")
|
||||
public void testSimple_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Simple.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.kt")
|
||||
public void testTypeArgumentsFromParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeArgumentsFromParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.fir.kt")
|
||||
public void testTypeArgumentsFromParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeArgumentsFromParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.kt")
|
||||
public void testTypeParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.fir.kt")
|
||||
public void testTypeParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.kt")
|
||||
public void testWildcardsWithDefault() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/WildcardsWithDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.fir.kt")
|
||||
public void testWildcardsWithDefault_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/WildcardsWithDefault.fir.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -787,7 +721,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class WarnMode {
|
||||
@Test
|
||||
public void testAllFilesPresentInWarnMode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -796,48 +730,24 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/AnnotatedBoundsOfWildcard.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AnnotatedBoundsOfWildcard.fir.kt")
|
||||
public void testAnnotatedBoundsOfWildcard_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.fir.kt")
|
||||
public void testDefaults_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Defaults.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/IgnoreAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.fir.kt")
|
||||
public void testIgnoreAnnotations_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/IgnoreAnnotations.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47899.kt")
|
||||
public void testKt47899() throws Exception {
|
||||
@@ -850,83 +760,41 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NonPlatformTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NonPlatformTypeParameter.fir.kt")
|
||||
public void testNonPlatformTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NonPlatformTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NullnessUnspecifiedTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.fir.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NullnessUnspecifiedTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.kt")
|
||||
public void testSelfType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/SelfType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.fir.kt")
|
||||
public void testSelfType_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/SelfType.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.fir.kt")
|
||||
public void testSimple_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Simple.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.kt")
|
||||
public void testTypeArgumentsFromParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeArgumentsFromParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.fir.kt")
|
||||
public void testTypeArgumentsFromParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeArgumentsFromParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.kt")
|
||||
public void testTypeParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.fir.kt")
|
||||
public void testTypeParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.kt")
|
||||
public void testWildcardsWithDefault() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/WildcardsWithDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.fir.kt")
|
||||
public void testWildcardsWithDefault_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/WildcardsWithDefault.fir.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -936,7 +804,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Jsr305 {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsr305() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -976,7 +844,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Misc {
|
||||
@Test
|
||||
public void testAllFilesPresentInMisc() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -985,12 +853,6 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/annotatedTypeArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotatedTypeArguments.fir.kt")
|
||||
public void testAnnotatedTypeArguments_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/annotatedTypeArguments.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameterBound.kt")
|
||||
public void testClassTypeParameterBound() throws Exception {
|
||||
@@ -1003,66 +865,30 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/classTypeParameterBoundWithWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameterBoundWithWarnings.fir.kt")
|
||||
public void testClassTypeParameterBoundWithWarnings_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/classTypeParameterBoundWithWarnings.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameterBound.fir.kt")
|
||||
public void testClassTypeParameterBound_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/classTypeParameterBound.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enhancedRecursiveStarProjection.kt")
|
||||
public void testEnhancedRecursiveStarProjection() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/enhancedRecursiveStarProjection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enhancedRecursiveStarProjection.fir.kt")
|
||||
public void testEnhancedRecursiveStarProjection_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/enhancedRecursiveStarProjection.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodWithTypeParameter.kt")
|
||||
public void testMethodWithTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/methodWithTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodWithTypeParameter.fir.kt")
|
||||
public void testMethodWithTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/methodWithTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullVarargsOverrides.kt")
|
||||
public void testNotNullVarargsOverrides() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/notNullVarargsOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullVarargsOverrides.fir.kt")
|
||||
public void testNotNullVarargsOverrides_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/notNullVarargsOverrides.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableVarargsOverrides.kt")
|
||||
public void testNullableVarargsOverrides() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/nullableVarargsOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableVarargsOverrides.fir.kt")
|
||||
public void testNullableVarargsOverrides_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/nullableVarargsOverrides.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnType.kt")
|
||||
public void testReturnType() throws Exception {
|
||||
@@ -1075,54 +901,24 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeDifferentConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeDifferentConstructor.fir.kt")
|
||||
public void testReturnTypeDifferentConstructor_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeDifferentConstructor.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeOverrideInKotlin.kt")
|
||||
public void testReturnTypeOverrideInKotlin() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeOverrideInKotlin.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeOverrideInKotlin.fir.kt")
|
||||
public void testReturnTypeOverrideInKotlin_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeOverrideInKotlin.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeWithWarnings.kt")
|
||||
public void testReturnTypeWithWarnings() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeWithWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeWithWarnings.fir.kt")
|
||||
public void testReturnTypeWithWarnings_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeWithWarnings.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnType.fir.kt")
|
||||
public void testReturnType_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnType.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.fir.kt")
|
||||
public void testSimple_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/simple.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("useTypeParameterAnnotationToEnhanceItsUsages.kt")
|
||||
public void testUseTypeParameterAnnotationToEnhanceItsUsages() throws Exception {
|
||||
@@ -1141,18 +937,6 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/valueParameterWithWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameterWithWarnings.fir.kt")
|
||||
public void testValueParameterWithWarnings_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/valueParameterWithWarnings.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameter.fir.kt")
|
||||
public void testValueParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/valueParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("warningsBasedOnEnhancedBasedType.kt")
|
||||
public void testWarningsBasedOnEnhancedBasedType() throws Exception {
|
||||
@@ -1167,7 +951,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Java9Tests {
|
||||
@Test
|
||||
public void testAllFilesPresentInJava9Tests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -1176,7 +960,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Jspecify {
|
||||
@Test
|
||||
public void testAllFilesPresentInJspecify() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -1185,7 +969,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class ModuleAnnotations {
|
||||
@Test
|
||||
public void testAllFilesPresentInModuleAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -1194,7 +978,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Strict {
|
||||
@Test
|
||||
public void testAllFilesPresentInStrict() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/strict"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/strict"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -1270,7 +1054,7 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
public class Warn {
|
||||
@Test
|
||||
public void testAllFilesPresentInWarn() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/warn"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/warn"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+21
-237
@@ -23,7 +23,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Tests {
|
||||
@Test
|
||||
public void testAllFilesPresentInTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -140,7 +140,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Jsr305 {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsr305() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -179,7 +179,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Ignore {
|
||||
@Test
|
||||
public void testAllFilesPresentInIgnore() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/ignore"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/ignore"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -195,7 +195,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class NullabilityWarnings {
|
||||
@Test
|
||||
public void testAllFilesPresentInNullabilityWarnings() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -246,7 +246,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class FromPlatformTypes {
|
||||
@Test
|
||||
public void testAllFilesPresentInFromPlatformTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/fromPlatformTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/fromPlatformTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -376,7 +376,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class TypeQualifierDefault {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/nullabilityWarnings/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -435,7 +435,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class TypeQualifierDefault {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -500,7 +500,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Jsr305NullabilityWarnings {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsr305NullabilityWarnings() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -509,7 +509,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Migration {
|
||||
@Test
|
||||
public void testAllFilesPresentInMigration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings/migration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305NullabilityWarnings/migration"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -574,7 +574,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class TypeQualifierDefault {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/tests/typeQualifierDefault"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -591,7 +591,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Java8Tests {
|
||||
@Test
|
||||
public void testAllFilesPresentInJava8Tests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -618,7 +618,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Jspecify {
|
||||
@Test
|
||||
public void testAllFilesPresentInJspecify() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -627,7 +627,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class StrictMode {
|
||||
@Test
|
||||
public void testAllFilesPresentInStrictMode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -636,48 +636,24 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/AnnotatedBoundsOfWildcard.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AnnotatedBoundsOfWildcard.fir.kt")
|
||||
public void testAnnotatedBoundsOfWildcard_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.fir.kt")
|
||||
public void testDefaults_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Defaults.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/IgnoreAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.fir.kt")
|
||||
public void testIgnoreAnnotations_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/IgnoreAnnotations.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47396.kt")
|
||||
public void testKt47396() throws Exception {
|
||||
@@ -702,83 +678,41 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NonPlatformTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NonPlatformTypeParameter.fir.kt")
|
||||
public void testNonPlatformTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NonPlatformTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NullnessUnspecifiedTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.fir.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/NullnessUnspecifiedTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.kt")
|
||||
public void testSelfType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/SelfType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.fir.kt")
|
||||
public void testSelfType_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/SelfType.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.fir.kt")
|
||||
public void testSimple_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Simple.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.kt")
|
||||
public void testTypeArgumentsFromParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeArgumentsFromParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.fir.kt")
|
||||
public void testTypeArgumentsFromParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeArgumentsFromParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.kt")
|
||||
public void testTypeParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.fir.kt")
|
||||
public void testTypeParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/TypeParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.kt")
|
||||
public void testWildcardsWithDefault() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/WildcardsWithDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.fir.kt")
|
||||
public void testWildcardsWithDefault_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/WildcardsWithDefault.fir.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -787,7 +721,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class WarnMode {
|
||||
@Test
|
||||
public void testAllFilesPresentInWarnMode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -796,48 +730,24 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/AnnotatedBoundsOfWildcard.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AnnotatedBoundsOfWildcard.fir.kt")
|
||||
public void testAnnotatedBoundsOfWildcard_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.fir.kt")
|
||||
public void testDefaults_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Defaults.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/IgnoreAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.fir.kt")
|
||||
public void testIgnoreAnnotations_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/IgnoreAnnotations.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47899.kt")
|
||||
public void testKt47899() throws Exception {
|
||||
@@ -850,83 +760,41 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NonPlatformTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NonPlatformTypeParameter.fir.kt")
|
||||
public void testNonPlatformTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NonPlatformTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NullnessUnspecifiedTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullnessUnspecifiedTypeParameter.fir.kt")
|
||||
public void testNullnessUnspecifiedTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/NullnessUnspecifiedTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.kt")
|
||||
public void testSelfType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/SelfType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SelfType.fir.kt")
|
||||
public void testSelfType_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/SelfType.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.fir.kt")
|
||||
public void testSimple_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Simple.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.kt")
|
||||
public void testTypeArgumentsFromParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeArgumentsFromParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeArgumentsFromParameterBounds.fir.kt")
|
||||
public void testTypeArgumentsFromParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeArgumentsFromParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.kt")
|
||||
public void testTypeParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.fir.kt")
|
||||
public void testTypeParameterBounds_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/TypeParameterBounds.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.kt")
|
||||
public void testWildcardsWithDefault() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/WildcardsWithDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WildcardsWithDefault.fir.kt")
|
||||
public void testWildcardsWithDefault_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/WildcardsWithDefault.fir.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -936,7 +804,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Jsr305 {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsr305() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jsr305"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -976,7 +844,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Misc {
|
||||
@Test
|
||||
public void testAllFilesPresentInMisc() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -985,12 +853,6 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/annotatedTypeArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotatedTypeArguments.fir.kt")
|
||||
public void testAnnotatedTypeArguments_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/annotatedTypeArguments.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameterBound.kt")
|
||||
public void testClassTypeParameterBound() throws Exception {
|
||||
@@ -1003,66 +865,30 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/classTypeParameterBoundWithWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameterBoundWithWarnings.fir.kt")
|
||||
public void testClassTypeParameterBoundWithWarnings_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/classTypeParameterBoundWithWarnings.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameterBound.fir.kt")
|
||||
public void testClassTypeParameterBound_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/classTypeParameterBound.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enhancedRecursiveStarProjection.kt")
|
||||
public void testEnhancedRecursiveStarProjection() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/enhancedRecursiveStarProjection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enhancedRecursiveStarProjection.fir.kt")
|
||||
public void testEnhancedRecursiveStarProjection_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/enhancedRecursiveStarProjection.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodWithTypeParameter.kt")
|
||||
public void testMethodWithTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/methodWithTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodWithTypeParameter.fir.kt")
|
||||
public void testMethodWithTypeParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/methodWithTypeParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullVarargsOverrides.kt")
|
||||
public void testNotNullVarargsOverrides() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/notNullVarargsOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullVarargsOverrides.fir.kt")
|
||||
public void testNotNullVarargsOverrides_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/notNullVarargsOverrides.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableVarargsOverrides.kt")
|
||||
public void testNullableVarargsOverrides() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/nullableVarargsOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableVarargsOverrides.fir.kt")
|
||||
public void testNullableVarargsOverrides_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/nullableVarargsOverrides.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnType.kt")
|
||||
public void testReturnType() throws Exception {
|
||||
@@ -1075,54 +901,24 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeDifferentConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeDifferentConstructor.fir.kt")
|
||||
public void testReturnTypeDifferentConstructor_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeDifferentConstructor.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeOverrideInKotlin.kt")
|
||||
public void testReturnTypeOverrideInKotlin() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeOverrideInKotlin.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeOverrideInKotlin.fir.kt")
|
||||
public void testReturnTypeOverrideInKotlin_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeOverrideInKotlin.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeWithWarnings.kt")
|
||||
public void testReturnTypeWithWarnings() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeWithWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnTypeWithWarnings.fir.kt")
|
||||
public void testReturnTypeWithWarnings_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnTypeWithWarnings.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnType.fir.kt")
|
||||
public void testReturnType_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/returnType.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.fir.kt")
|
||||
public void testSimple_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/simple.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("useTypeParameterAnnotationToEnhanceItsUsages.kt")
|
||||
public void testUseTypeParameterAnnotationToEnhanceItsUsages() throws Exception {
|
||||
@@ -1141,18 +937,6 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/valueParameterWithWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameterWithWarnings.fir.kt")
|
||||
public void testValueParameterWithWarnings_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/valueParameterWithWarnings.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameter.fir.kt")
|
||||
public void testValueParameter_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/misc/valueParameter.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("warningsBasedOnEnhancedBasedType.kt")
|
||||
public void testWarningsBasedOnEnhancedBasedType() throws Exception {
|
||||
@@ -1167,7 +951,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Java9Tests {
|
||||
@Test
|
||||
public void testAllFilesPresentInJava9Tests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -1176,7 +960,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Jspecify {
|
||||
@Test
|
||||
public void testAllFilesPresentInJspecify() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -1185,7 +969,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class ModuleAnnotations {
|
||||
@Test
|
||||
public void testAllFilesPresentInModuleAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -1194,7 +978,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Strict {
|
||||
@Test
|
||||
public void testAllFilesPresentInStrict() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/strict"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/strict"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -1270,7 +1054,7 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
public class Warn {
|
||||
@Test
|
||||
public void testAllFilesPresentInWarn() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/warn"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/foreignAnnotationsTests/java9Tests/jspecify/moduleAnnotations/warn"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user