Use getter names for $annotations methods in most codegen tests
This is needed to update master to 1.4, while still testing the latest compiler by default. Also add one test on the old behavior.
This commit is contained in:
+5
@@ -1199,6 +1199,11 @@ public class WriteFlagsTestGenerated extends AbstractWriteFlagsTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/writeFlags/property/syntheticAnnotationsMethod"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("doNotUseGetterName.kt")
|
||||
public void testDoNotUseGetterName() throws Exception {
|
||||
runTest("compiler/testData/writeFlags/property/syntheticAnnotationsMethod/doNotUseGetterName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateProperty.kt")
|
||||
public void testPrivateProperty() throws Exception {
|
||||
runTest("compiler/testData/writeFlags/property/syntheticAnnotationsMethod/privateProperty.kt");
|
||||
|
||||
+5
@@ -1199,6 +1199,11 @@ public class IrWriteFlagsTestGenerated extends AbstractIrWriteFlagsTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/writeFlags/property/syntheticAnnotationsMethod"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("doNotUseGetterName.kt")
|
||||
public void testDoNotUseGetterName() throws Exception {
|
||||
runTest("compiler/testData/writeFlags/property/syntheticAnnotationsMethod/doNotUseGetterName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateProperty.kt")
|
||||
public void testPrivateProperty() throws Exception {
|
||||
runTest("compiler/testData/writeFlags/property/syntheticAnnotationsMethod/privateProperty.kt");
|
||||
|
||||
Reference in New Issue
Block a user