K2: reproduce KT-57954 and reorganize tests around enum entries warnings
In particular, here we add FIR_DUMP to all enum entries tests with some deprecation diagnostics and the feature on, and remove all txt-files
This commit is contained in:
committed by
Space Team
parent
63e65a482c
commit
70899d492d
+24
@@ -11065,6 +11065,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/conflictingPropertyEntriesAndReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingPropertyEntriesAndReferenceOn.kt")
|
||||
public void testConflictingPropertyEntriesAndReferenceOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/conflictingPropertyEntriesAndReferenceOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyAsExtensionClash.kt")
|
||||
public void testEntriesPropertyAsExtensionClash() throws Exception {
|
||||
@@ -11107,6 +11113,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyWithJvmStaticClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyWithJvmStaticClashOn.kt")
|
||||
public void testEntriesPropertyWithJvmStaticClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyWithJvmStaticClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesUnsupported.kt")
|
||||
public void testEntriesUnsupported() throws Exception {
|
||||
@@ -11125,12 +11137,24 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/genericEntriesPropertyClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericEntriesPropertyClashOn.kt")
|
||||
public void testGenericEntriesPropertyClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/genericEntriesPropertyClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnumEntriesAmbiguity.kt")
|
||||
public void testJavaEnumEntriesAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/javaEnumEntriesAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnumEntriesAmbiguityOn.kt")
|
||||
public void testJavaEnumEntriesAmbiguityOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/javaEnumEntriesAmbiguityOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameShadowingOfExternallyDefinedEntries.kt")
|
||||
public void testNameShadowingOfExternallyDefinedEntries() throws Exception {
|
||||
|
||||
+24
@@ -11065,6 +11065,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/conflictingPropertyEntriesAndReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingPropertyEntriesAndReferenceOn.kt")
|
||||
public void testConflictingPropertyEntriesAndReferenceOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/conflictingPropertyEntriesAndReferenceOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyAsExtensionClash.kt")
|
||||
public void testEntriesPropertyAsExtensionClash() throws Exception {
|
||||
@@ -11107,6 +11113,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyWithJvmStaticClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyWithJvmStaticClashOn.kt")
|
||||
public void testEntriesPropertyWithJvmStaticClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyWithJvmStaticClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesUnsupported.kt")
|
||||
public void testEntriesUnsupported() throws Exception {
|
||||
@@ -11125,12 +11137,24 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/genericEntriesPropertyClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericEntriesPropertyClashOn.kt")
|
||||
public void testGenericEntriesPropertyClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/genericEntriesPropertyClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnumEntriesAmbiguity.kt")
|
||||
public void testJavaEnumEntriesAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/javaEnumEntriesAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnumEntriesAmbiguityOn.kt")
|
||||
public void testJavaEnumEntriesAmbiguityOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/javaEnumEntriesAmbiguityOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameShadowingOfExternallyDefinedEntries.kt")
|
||||
public void testNameShadowingOfExternallyDefinedEntries() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user