K2: add a black box test to confirm KT-55705 now works properly

This commit is contained in:
Mikhail Glukhikh
2023-11-13 22:33:05 +01:00
committed by Space Team
parent f2ef41dbbd
commit 4b1368409d
20 changed files with 138 additions and 0 deletions
@@ -38681,6 +38681,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/smartCasts/falseSmartCast.kt");
}
@Test
@TestMetadata("genericInheritanceWithNonGenericNoAmbiguity.kt")
public void testGenericInheritanceWithNonGenericNoAmbiguity() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/genericInheritanceWithNonGenericNoAmbiguity.kt");
}
@Test
@TestMetadata("genericIntersection.kt")
public void testGenericIntersection() throws Exception {
@@ -39679,6 +39679,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/smartCasts/falseSmartCast.kt");
}
@Test
@TestMetadata("genericInheritanceWithNonGenericNoAmbiguity.kt")
public void testGenericInheritanceWithNonGenericNoAmbiguity() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/genericInheritanceWithNonGenericNoAmbiguity.kt");
}
@Test
@TestMetadata("genericIntersection.kt")
public void testGenericIntersection() throws Exception {
@@ -38183,6 +38183,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/smartCasts/falseSmartCast.kt");
}
@Test
@TestMetadata("genericInheritanceWithNonGenericNoAmbiguity.kt")
public void testGenericInheritanceWithNonGenericNoAmbiguity() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/genericInheritanceWithNonGenericNoAmbiguity.kt");
}
@Test
@TestMetadata("genericIntersection.kt")
public void testGenericIntersection() throws Exception {
@@ -38682,6 +38682,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/smartCasts/falseSmartCast.kt");
}
@Test
@TestMetadata("genericInheritanceWithNonGenericNoAmbiguity.kt")
public void testGenericInheritanceWithNonGenericNoAmbiguity() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/genericInheritanceWithNonGenericNoAmbiguity.kt");
}
@Test
@TestMetadata("genericIntersection.kt")
public void testGenericIntersection() throws Exception {