K1/K2: add tests confirming behavior of remaining KT-63242 cases

This commit is contained in:
Mikhail Glukhikh
2024-02-27 16:50:04 +01:00
committed by Space Team
parent 0008e832d8
commit e8ba534904
25 changed files with 372 additions and 0 deletions
@@ -28176,6 +28176,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class JavaInterop extends AbstractLightAnalysisModeTest {
@TestMetadata("invisibleFake2.kt")
public void ignoreInvisibleFake2() {
runTest("compiler/testData/codegen/box/javaInterop/invisibleFake2.kt");
}
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
}
@@ -28229,6 +28234,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/javaInterop/inheritanceWithWildcard.kt");
}
@TestMetadata("invisibleFake.kt")
public void testInvisibleFake() {
runTest("compiler/testData/codegen/box/javaInterop/invisibleFake.kt");
}
@TestMetadata("javaForKotlinOverrideProperty.kt")
public void testJavaForKotlinOverrideProperty() {
runTest("compiler/testData/codegen/box/javaInterop/javaForKotlinOverrideProperty.kt");