Minor, move tests about Java field and Kotlin property

Because the `fieldRename` directory was originally about cases when
private fields are renamed because of clashes.
This commit is contained in:
Alexander Udalov
2023-02-08 23:32:00 +01:00
parent 4b1f739c89
commit 4ad594a3cd
38 changed files with 527 additions and 396 deletions
@@ -24309,6 +24309,19 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
@Tag("codegenK2")
@UseExtTestCaseGroupProvider()
@K2Pipeline()
public class JavaFieldAndKotlinProperty {
@Test
public void testAllFilesPresentInJavaFieldAndKotlinProperty() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaFieldAndKotlinProperty"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@@ -24069,6 +24069,18 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
@Tag("codegen")
@UseExtTestCaseGroupProvider()
public class JavaFieldAndKotlinProperty {
@Test
public void testAllFilesPresentInJavaFieldAndKotlinProperty() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaFieldAndKotlinProperty"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")