Add tests for obsolete issues

#KT-12126
 #KT-12189
 #KT-23628
 #KT-24209
 #KT-34338
 #KT-47279
 #KT-48498
This commit is contained in:
Alexander Udalov
2021-08-31 16:32:07 +02:00
committed by Space
parent 5c3ce66e99
commit d5372521f1
28 changed files with 400 additions and 0 deletions
@@ -12552,6 +12552,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Elvis extends AbstractLightAnalysisModeTest {
@TestMetadata("kt24209.kt")
public void ignoreKt24209() throws Exception {
runTest("compiler/testData/codegen/box/elvis/kt24209.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -21961,6 +21966,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class JvmField extends AbstractLightAnalysisModeTest {
@TestMetadata("kt12189_noClashOnDifferentCase.kt")
public void ignoreKt12189_noClashOnDifferentCase() throws Exception {
runTest("compiler/testData/codegen/box/jvmField/kt12189_noClashOnDifferentCase.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -25141,6 +25151,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class ParametersMetadata extends AbstractLightAnalysisModeTest {
@TestMetadata("jvmOverloads.kt")
public void ignoreJvmOverloads() throws Exception {
runTest("compiler/testData/codegen/box/parametersMetadata/jvmOverloads.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -32367,6 +32382,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/regressions/kt44993.kt");
}
@TestMetadata("kt47279.kt")
public void testKt47279() throws Exception {
runTest("compiler/testData/codegen/box/regressions/kt47279.kt");
}
@TestMetadata("kt5056.kt")
public void testKt5056() throws Exception {
runTest("compiler/testData/codegen/box/regressions/kt5056.kt");