[FIR] add more tests diagnostic tests on data and delegated classes

^KT-63522
^KT-63512
^KT-63042
This commit is contained in:
Dmitrii Gridin
2023-11-16 15:48:11 +01:00
committed by Space Team
parent fab63e38aa
commit b3b184f00d
121 changed files with 22418 additions and 0 deletions
@@ -13399,6 +13399,18 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/delegation/kt8154.kt");
}
@Test
@TestMetadata("nestedNameClash.kt")
public void testNestedNameClash() throws Exception {
runTest("compiler/testData/codegen/box/delegation/nestedNameClash.kt");
}
@Test
@TestMetadata("nestedNameClash2.kt")
public void testNestedNameClash2() throws Exception {
runTest("compiler/testData/codegen/box/delegation/nestedNameClash2.kt");
}
@Test
@TestMetadata("smartCastedDelegation.kt")
public void testSmartCastedDelegation() throws Exception {
@@ -13711,6 +13711,18 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/delegation/kt8154.kt");
}
@Test
@TestMetadata("nestedNameClash.kt")
public void testNestedNameClash() throws Exception {
runTest("compiler/testData/codegen/box/delegation/nestedNameClash.kt");
}
@Test
@TestMetadata("nestedNameClash2.kt")
public void testNestedNameClash2() throws Exception {
runTest("compiler/testData/codegen/box/delegation/nestedNameClash2.kt");
}
@Test
@TestMetadata("smartCastedDelegation.kt")
public void testSmartCastedDelegation() throws Exception {
@@ -13087,6 +13087,18 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/delegation/kt8154.kt");
}
@Test
@TestMetadata("nestedNameClash.kt")
public void testNestedNameClash() throws Exception {
runTest("compiler/testData/codegen/box/delegation/nestedNameClash.kt");
}
@Test
@TestMetadata("nestedNameClash2.kt")
public void testNestedNameClash2() throws Exception {
runTest("compiler/testData/codegen/box/delegation/nestedNameClash2.kt");
}
@Test
@TestMetadata("smartCastedDelegation.kt")
public void testSmartCastedDelegation() throws Exception {
@@ -13400,6 +13400,18 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/delegation/kt8154.kt");
}
@Test
@TestMetadata("nestedNameClash.kt")
public void testNestedNameClash() throws Exception {
runTest("compiler/testData/codegen/box/delegation/nestedNameClash.kt");
}
@Test
@TestMetadata("nestedNameClash2.kt")
public void testNestedNameClash2() throws Exception {
runTest("compiler/testData/codegen/box/delegation/nestedNameClash2.kt");
}
@Test
@TestMetadata("smartCastedDelegation.kt")
public void testSmartCastedDelegation() throws Exception {