Enum entries: add new tests with language feature ON & fix checker
This commit is contained in:
committed by
Space Team
parent
c534c54a1c
commit
41966a745e
+30
@@ -10397,18 +10397,36 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyAsExtensionClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyAsExtensionClashOn.kt")
|
||||
public void testEntriesPropertyAsExtensionClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyAsExtensionClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyImportedClash.kt")
|
||||
public void testEntriesPropertyImportedClash() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyImportedClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyImportedClashOn.kt")
|
||||
public void testEntriesPropertyImportedClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyImportedClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyInCompanionClash.kt")
|
||||
public void testEntriesPropertyInCompanionClash() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyInCompanionClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyInCompanionClashOn.kt")
|
||||
public void testEntriesPropertyInCompanionClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyInCompanionClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyWithJvmStaticClash.kt")
|
||||
public void testEntriesPropertyWithJvmStaticClash() throws Exception {
|
||||
@@ -10445,11 +10463,23 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/nameShadowingOfExternallyDefinedEntries.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameShadowingOfExternallyDefinedEntriesOn.kt")
|
||||
public void testNameShadowingOfExternallyDefinedEntriesOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/nameShadowingOfExternallyDefinedEntriesOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("redeclarationOfEnumEntriesNameWithIntrinsic.kt")
|
||||
public void testRedeclarationOfEnumEntriesNameWithIntrinsic() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/redeclarationOfEnumEntriesNameWithIntrinsic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("redeclarationOfEnumEntriesNameWithIntrinsicOn.kt")
|
||||
public void testRedeclarationOfEnumEntriesNameWithIntrinsicOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/redeclarationOfEnumEntriesNameWithIntrinsicOn.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+30
@@ -10391,18 +10391,36 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyAsExtensionClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyAsExtensionClashOn.kt")
|
||||
public void testEntriesPropertyAsExtensionClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyAsExtensionClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyImportedClash.kt")
|
||||
public void testEntriesPropertyImportedClash() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyImportedClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyImportedClashOn.kt")
|
||||
public void testEntriesPropertyImportedClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyImportedClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyInCompanionClash.kt")
|
||||
public void testEntriesPropertyInCompanionClash() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyInCompanionClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyInCompanionClashOn.kt")
|
||||
public void testEntriesPropertyInCompanionClashOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/entriesPropertyInCompanionClashOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyWithJvmStaticClash.kt")
|
||||
public void testEntriesPropertyWithJvmStaticClash() throws Exception {
|
||||
@@ -10439,11 +10457,23 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/nameShadowingOfExternallyDefinedEntries.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameShadowingOfExternallyDefinedEntriesOn.kt")
|
||||
public void testNameShadowingOfExternallyDefinedEntriesOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/nameShadowingOfExternallyDefinedEntriesOn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("redeclarationOfEnumEntriesNameWithIntrinsic.kt")
|
||||
public void testRedeclarationOfEnumEntriesNameWithIntrinsic() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/redeclarationOfEnumEntriesNameWithIntrinsic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("redeclarationOfEnumEntriesNameWithIntrinsicOn.kt")
|
||||
public void testRedeclarationOfEnumEntriesNameWithIntrinsicOn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/redeclarationOfEnumEntriesNameWithIntrinsicOn.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user