Add test to check that name field in Java enum is not constant
This commit is contained in:
+6
@@ -21163,6 +21163,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/enumConstName_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumJavaName_after.kt")
|
||||
public void testEnumJavaName_after() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/enumJavaName_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equals_after.kt")
|
||||
public void testEquals_after() throws Exception {
|
||||
|
||||
+12
@@ -21163,6 +21163,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/enumConstName_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumJavaName_after.kt")
|
||||
public void testEnumJavaName_after() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/enumJavaName_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equals_after.kt")
|
||||
public void testEquals_after() throws Exception {
|
||||
@@ -21229,6 +21235,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/stdlibConstFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringConcatenation.kt")
|
||||
public void testStringConcatenation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/stringConcatenation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringConcatenationWithObject.kt")
|
||||
public void testStringConcatenationWithObject() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user