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
@@ -18023,138 +18023,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/fieldRename/genericPropertyWithItself.kt");
}
@Test
@TestMetadata("javaCloseFieldAndKotlinProperty.kt")
public void testJavaCloseFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaCloseFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndCompanionProperty.kt")
public void testJavaFieldAndCompanionProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndCompanionProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisibleProperty.kt")
public void testJavaFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyViaTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyWithGetter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyWithGetter() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinInvisiblePropertyWithGetter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinLateinitProperty.kt")
public void testJavaFieldAndKotlinLateinitProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinLateinitProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPrivateProperty.kt")
public void testJavaFieldAndKotlinPrivateProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPrivateProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinProperty.kt")
public void testJavaFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReference.kt")
public void testJavaFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReferenceFromInner.kt")
public void testJavaFieldAndKotlinPropertyReferenceFromInner() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyReferenceFromInner.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertySuperAccess.kt")
public void testJavaFieldAndKotlinPropertySuperAccess() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertySuperAccess.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithComplexReceiver.kt")
public void testJavaFieldAndKotlinPropertyWithComplexReceiver() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyWithComplexReceiver.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithSmartcast.kt")
public void testJavaFieldAndKotlinPropertyWithSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyWithSmartcast.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaField.kt")
public void testJavaFieldKotlinPropertyJavaField() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldKotlinPropertyJavaField.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaPackagePrivate.kt")
public void testJavaFieldKotlinPropertyJavaPackagePrivate() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldKotlinPropertyJavaPackagePrivate.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinProperty.kt")
public void testJavaInvisibleFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaInvisibleFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinPropertyReference.kt")
public void testJavaInvisibleFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaInvisibleFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisibleProperty.kt")
public void testJavaProtectedFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyReference.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinInvisiblePropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyWrite() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinPropertyReference.kt")
public void testJavaProtectedFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAnotherPackageReference.kt")
public void testJavaProtectedFieldAnotherPackageReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAnotherPackageReference.kt");
}
@Test
@TestMetadata("jvmFieldNoClash1.kt")
public void testJvmFieldNoClash1() throws Exception {
@@ -28758,6 +28626,148 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
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.JVM_IR, true);
}
@Test
@TestMetadata("javaCloseFieldAndKotlinProperty.kt")
public void testJavaCloseFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaCloseFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndCompanionProperty.kt")
public void testJavaFieldAndCompanionProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndCompanionProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisibleProperty.kt")
public void testJavaFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyViaTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyWithGetter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyWithGetter() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinInvisiblePropertyWithGetter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinLateinitProperty.kt")
public void testJavaFieldAndKotlinLateinitProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinLateinitProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPrivateProperty.kt")
public void testJavaFieldAndKotlinPrivateProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPrivateProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinProperty.kt")
public void testJavaFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReference.kt")
public void testJavaFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReferenceFromInner.kt")
public void testJavaFieldAndKotlinPropertyReferenceFromInner() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyReferenceFromInner.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertySuperAccess.kt")
public void testJavaFieldAndKotlinPropertySuperAccess() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertySuperAccess.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithComplexReceiver.kt")
public void testJavaFieldAndKotlinPropertyWithComplexReceiver() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyWithComplexReceiver.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithSmartcast.kt")
public void testJavaFieldAndKotlinPropertyWithSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyWithSmartcast.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaField.kt")
public void testJavaFieldKotlinPropertyJavaField() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldKotlinPropertyJavaField.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaPackagePrivate.kt")
public void testJavaFieldKotlinPropertyJavaPackagePrivate() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldKotlinPropertyJavaPackagePrivate.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinProperty.kt")
public void testJavaInvisibleFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaInvisibleFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinPropertyReference.kt")
public void testJavaInvisibleFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaInvisibleFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisibleProperty.kt")
public void testJavaProtectedFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyReference.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinInvisiblePropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyWrite() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinPropertyReference.kt")
public void testJavaProtectedFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAnotherPackageReference.kt")
public void testJavaProtectedFieldAnotherPackageReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAnotherPackageReference.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@@ -18023,138 +18023,6 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/fieldRename/genericPropertyWithItself.kt");
}
@Test
@TestMetadata("javaCloseFieldAndKotlinProperty.kt")
public void testJavaCloseFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaCloseFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndCompanionProperty.kt")
public void testJavaFieldAndCompanionProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndCompanionProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisibleProperty.kt")
public void testJavaFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyViaTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyWithGetter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyWithGetter() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinInvisiblePropertyWithGetter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinLateinitProperty.kt")
public void testJavaFieldAndKotlinLateinitProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinLateinitProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPrivateProperty.kt")
public void testJavaFieldAndKotlinPrivateProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPrivateProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinProperty.kt")
public void testJavaFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReference.kt")
public void testJavaFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReferenceFromInner.kt")
public void testJavaFieldAndKotlinPropertyReferenceFromInner() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyReferenceFromInner.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertySuperAccess.kt")
public void testJavaFieldAndKotlinPropertySuperAccess() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertySuperAccess.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithComplexReceiver.kt")
public void testJavaFieldAndKotlinPropertyWithComplexReceiver() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyWithComplexReceiver.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithSmartcast.kt")
public void testJavaFieldAndKotlinPropertyWithSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyWithSmartcast.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaField.kt")
public void testJavaFieldKotlinPropertyJavaField() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldKotlinPropertyJavaField.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaPackagePrivate.kt")
public void testJavaFieldKotlinPropertyJavaPackagePrivate() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldKotlinPropertyJavaPackagePrivate.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinProperty.kt")
public void testJavaInvisibleFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaInvisibleFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinPropertyReference.kt")
public void testJavaInvisibleFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaInvisibleFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisibleProperty.kt")
public void testJavaProtectedFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyReference.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinInvisiblePropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyWrite() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinPropertyReference.kt")
public void testJavaProtectedFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAnotherPackageReference.kt")
public void testJavaProtectedFieldAnotherPackageReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAnotherPackageReference.kt");
}
@Test
@TestMetadata("jvmFieldNoClash1.kt")
public void testJvmFieldNoClash1() throws Exception {
@@ -28758,6 +28626,148 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
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.JVM_IR, true);
}
@Test
@TestMetadata("javaCloseFieldAndKotlinProperty.kt")
public void testJavaCloseFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaCloseFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndCompanionProperty.kt")
public void testJavaFieldAndCompanionProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndCompanionProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisibleProperty.kt")
public void testJavaFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyViaTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyWithGetter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyWithGetter() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinInvisiblePropertyWithGetter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinLateinitProperty.kt")
public void testJavaFieldAndKotlinLateinitProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinLateinitProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPrivateProperty.kt")
public void testJavaFieldAndKotlinPrivateProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPrivateProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinProperty.kt")
public void testJavaFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReference.kt")
public void testJavaFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReferenceFromInner.kt")
public void testJavaFieldAndKotlinPropertyReferenceFromInner() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyReferenceFromInner.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertySuperAccess.kt")
public void testJavaFieldAndKotlinPropertySuperAccess() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertySuperAccess.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithComplexReceiver.kt")
public void testJavaFieldAndKotlinPropertyWithComplexReceiver() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyWithComplexReceiver.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithSmartcast.kt")
public void testJavaFieldAndKotlinPropertyWithSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyWithSmartcast.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaField.kt")
public void testJavaFieldKotlinPropertyJavaField() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldKotlinPropertyJavaField.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaPackagePrivate.kt")
public void testJavaFieldKotlinPropertyJavaPackagePrivate() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldKotlinPropertyJavaPackagePrivate.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinProperty.kt")
public void testJavaInvisibleFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaInvisibleFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinPropertyReference.kt")
public void testJavaInvisibleFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaInvisibleFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisibleProperty.kt")
public void testJavaProtectedFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyReference.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinInvisiblePropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyWrite() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinPropertyReference.kt")
public void testJavaProtectedFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAnotherPackageReference.kt")
public void testJavaProtectedFieldAnotherPackageReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAnotherPackageReference.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@@ -27504,6 +27504,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
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.JVM, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@@ -18023,138 +18023,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/fieldRename/genericPropertyWithItself.kt");
}
@Test
@TestMetadata("javaCloseFieldAndKotlinProperty.kt")
public void testJavaCloseFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaCloseFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndCompanionProperty.kt")
public void testJavaFieldAndCompanionProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndCompanionProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisibleProperty.kt")
public void testJavaFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyViaTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyWithGetter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyWithGetter() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinInvisiblePropertyWithGetter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinLateinitProperty.kt")
public void testJavaFieldAndKotlinLateinitProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinLateinitProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPrivateProperty.kt")
public void testJavaFieldAndKotlinPrivateProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPrivateProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinProperty.kt")
public void testJavaFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReference.kt")
public void testJavaFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReferenceFromInner.kt")
public void testJavaFieldAndKotlinPropertyReferenceFromInner() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyReferenceFromInner.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertySuperAccess.kt")
public void testJavaFieldAndKotlinPropertySuperAccess() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertySuperAccess.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithComplexReceiver.kt")
public void testJavaFieldAndKotlinPropertyWithComplexReceiver() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyWithComplexReceiver.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithSmartcast.kt")
public void testJavaFieldAndKotlinPropertyWithSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldAndKotlinPropertyWithSmartcast.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaField.kt")
public void testJavaFieldKotlinPropertyJavaField() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldKotlinPropertyJavaField.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaPackagePrivate.kt")
public void testJavaFieldKotlinPropertyJavaPackagePrivate() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaFieldKotlinPropertyJavaPackagePrivate.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinProperty.kt")
public void testJavaInvisibleFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaInvisibleFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinPropertyReference.kt")
public void testJavaInvisibleFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaInvisibleFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisibleProperty.kt")
public void testJavaProtectedFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyReference.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinInvisiblePropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyWrite() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinPropertyReference.kt")
public void testJavaProtectedFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAnotherPackageReference.kt")
public void testJavaProtectedFieldAnotherPackageReference() throws Exception {
runTest("compiler/testData/codegen/box/fieldRename/javaProtectedFieldAnotherPackageReference.kt");
}
@Test
@TestMetadata("jvmFieldNoClash1.kt")
public void testJvmFieldNoClash1() throws Exception {
@@ -28758,6 +28626,148 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
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.JVM_IR, true);
}
@Test
@TestMetadata("javaCloseFieldAndKotlinProperty.kt")
public void testJavaCloseFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaCloseFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndCompanionProperty.kt")
public void testJavaFieldAndCompanionProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndCompanionProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisibleProperty.kt")
public void testJavaFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyViaTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinInvisiblePropertyViaTypeParameter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinInvisiblePropertyWithGetter.kt")
public void testJavaFieldAndKotlinInvisiblePropertyWithGetter() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinInvisiblePropertyWithGetter.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinLateinitProperty.kt")
public void testJavaFieldAndKotlinLateinitProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinLateinitProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPrivateProperty.kt")
public void testJavaFieldAndKotlinPrivateProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPrivateProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinProperty.kt")
public void testJavaFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReference.kt")
public void testJavaFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyReferenceFromInner.kt")
public void testJavaFieldAndKotlinPropertyReferenceFromInner() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyReferenceFromInner.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertySuperAccess.kt")
public void testJavaFieldAndKotlinPropertySuperAccess() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertySuperAccess.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithComplexReceiver.kt")
public void testJavaFieldAndKotlinPropertyWithComplexReceiver() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyWithComplexReceiver.kt");
}
@Test
@TestMetadata("javaFieldAndKotlinPropertyWithSmartcast.kt")
public void testJavaFieldAndKotlinPropertyWithSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldAndKotlinPropertyWithSmartcast.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaField.kt")
public void testJavaFieldKotlinPropertyJavaField() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldKotlinPropertyJavaField.kt");
}
@Test
@TestMetadata("javaFieldKotlinPropertyJavaPackagePrivate.kt")
public void testJavaFieldKotlinPropertyJavaPackagePrivate() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaFieldKotlinPropertyJavaPackagePrivate.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinProperty.kt")
public void testJavaInvisibleFieldAndKotlinProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaInvisibleFieldAndKotlinProperty.kt");
}
@Test
@TestMetadata("javaInvisibleFieldAndKotlinPropertyReference.kt")
public void testJavaInvisibleFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaInvisibleFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisibleProperty.kt")
public void testJavaProtectedFieldAndKotlinInvisibleProperty() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinInvisibleProperty.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyReference.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinInvisiblePropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt")
public void testJavaProtectedFieldAndKotlinInvisiblePropertyWrite() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinInvisiblePropertyWrite.kt");
}
@Test
@TestMetadata("javaProtectedFieldAndKotlinPropertyReference.kt")
public void testJavaProtectedFieldAndKotlinPropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAndKotlinPropertyReference.kt");
}
@Test
@TestMetadata("javaProtectedFieldAnotherPackageReference.kt")
public void testJavaProtectedFieldAnotherPackageReference() throws Exception {
runTest("compiler/testData/codegen/box/javaFieldAndKotlinProperty/javaProtectedFieldAnotherPackageReference.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@@ -23211,6 +23211,19 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
}
}
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class JavaFieldAndKotlinProperty extends AbstractLightAnalysisModeTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
public void testAllFilesPresentInJavaFieldAndKotlinProperty() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaFieldAndKotlinProperty"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
}
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -21350,6 +21350,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
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.JS, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@@ -21368,6 +21368,16 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
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.JS_IR, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@@ -21368,6 +21368,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
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.JS_IR, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@@ -21368,6 +21368,16 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
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.JS_IR_ES6, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@@ -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")
@@ -18944,6 +18944,19 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
}
}
@TestMetadata("compiler/testData/codegen/box/javaFieldAndKotlinProperty")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class JavaFieldAndKotlinProperty extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInJavaFieldAndKotlinProperty() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaFieldAndKotlinProperty"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
}
@TestMetadata("compiler/testData/codegen/box/javaInterop")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)