Tests: minor, remove obsolete diagnostic tests

- `require.kt` was added to check JVM accidental override diagnostic
  when using the "traits with required classes" feature, which was
  removed a long time ago.
- `withErrorTypes.kt` was testing conflicting JVM declarations error (a
  backend diagnostic) in presence of error types -- not very useful
  scenario because the backend is not run when there's a frontend error.
This commit is contained in:
Alexander Udalov
2024-03-11 22:23:42 +01:00
committed by Space Team
parent f7f779df53
commit 5be1ff1d5f
11 changed files with 0 additions and 108 deletions
@@ -11959,12 +11959,6 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/privateClassFunctionOverriddenByProperty.kt");
}
@Test
@TestMetadata("require.kt")
public void testRequire() {
runTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/require.kt");
}
@Test
@TestMetadata("traitFunctionOverriddenByProperty.kt")
public void testTraitFunctionOverriddenByProperty() {
@@ -12268,12 +12262,6 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
public void testTrait() {
runTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty/trait.kt");
}
@Test
@TestMetadata("withErrorTypes.kt")
public void testWithErrorTypes() {
runTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty/withErrorTypes.kt");
}
}
@Nested
@@ -11959,12 +11959,6 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/privateClassFunctionOverriddenByProperty.kt");
}
@Test
@TestMetadata("require.kt")
public void testRequire() {
runTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/require.kt");
}
@Test
@TestMetadata("traitFunctionOverriddenByProperty.kt")
public void testTraitFunctionOverriddenByProperty() {
@@ -12268,12 +12262,6 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
public void testTrait() {
runTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty/trait.kt");
}
@Test
@TestMetadata("withErrorTypes.kt")
public void testWithErrorTypes() {
runTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty/withErrorTypes.kt");
}
}
@Nested