Add different black box tests around KT-52338

This commit is contained in:
Mikhail Glukhikh
2023-01-30 13:34:09 +01:00
committed by Space Team
parent f6bd4d5e15
commit bf090cdc6d
27 changed files with 1064 additions and 8 deletions
@@ -17951,12 +17951,42 @@ 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 {
@@ -17969,6 +17999,90 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
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 {