Tests: remove diagnostic tests which are present elsewhere

- `typeParameterWithTwoBounds.kt` is already present in
  `diagnostics/testsWithJvmBackend/duplicateJvmSignature/erasure/`.
- `clashWithCompanionObjectField.kt` is already present in
  `codegen/box/fieldRename/jvmFieldNoClash1.kt`.
- `jvmFieldAndJavaGetter.kt` is already present in
  `codegen/box/jvmField/noClashWithInheritedJavaMethod.kt`.

In case of two latter tests on JvmField, there's (correctly) no error
reported in JVM IR, which is why those are box tests.
This commit is contained in:
Alexander Udalov
2024-03-12 12:25:42 +01:00
committed by Space Team
parent c62fe0d107
commit 81a9f5654e
14 changed files with 0 additions and 207 deletions
@@ -30820,12 +30820,6 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/redeclarations/TypeAliasVsProperty.kt");
}
@Test
@TestMetadata("typeParameterWithTwoBounds.kt")
public void testTypeParameterWithTwoBounds() {
runTest("compiler/testData/diagnostics/tests/redeclarations/typeParameterWithTwoBounds.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension")
@TestDataPath("$PROJECT_ROOT")
@@ -41897,12 +41891,6 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/testsWithStdLib/javaForKClass.kt");
}
@Test
@TestMetadata("jvmFieldAndJavaGetter.kt")
public void testJvmFieldAndJavaGetter() {
runTest("compiler/testData/diagnostics/testsWithStdLib/jvmFieldAndJavaGetter.kt");
}
@Test
@TestMetadata("kt54410.kt")
public void testKt54410() {
@@ -42485,12 +42473,6 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("clashWithCompanionObjectField.kt")
public void testClashWithCompanionObjectField() {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmField/clashWithCompanionObjectField.kt");
}
@Test
@TestMetadata("inMultiFileFacade.kt")
public void testInMultiFileFacade() {
@@ -30820,12 +30820,6 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/redeclarations/TypeAliasVsProperty.kt");
}
@Test
@TestMetadata("typeParameterWithTwoBounds.kt")
public void testTypeParameterWithTwoBounds() {
runTest("compiler/testData/diagnostics/tests/redeclarations/typeParameterWithTwoBounds.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension")
@TestDataPath("$PROJECT_ROOT")
@@ -41897,12 +41891,6 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/testsWithStdLib/javaForKClass.kt");
}
@Test
@TestMetadata("jvmFieldAndJavaGetter.kt")
public void testJvmFieldAndJavaGetter() {
runTest("compiler/testData/diagnostics/testsWithStdLib/jvmFieldAndJavaGetter.kt");
}
@Test
@TestMetadata("kt54410.kt")
public void testKt54410() {
@@ -42485,12 +42473,6 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("clashWithCompanionObjectField.kt")
public void testClashWithCompanionObjectField() {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmField/clashWithCompanionObjectField.kt");
}
@Test
@TestMetadata("inMultiFileFacade.kt")
public void testInMultiFileFacade() {