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:
committed by
Space Team
parent
f7f779df53
commit
5be1ff1d5f
-12
@@ -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
|
||||
|
||||
-12
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user