Add tests for obsolete issues
(Test for KT-37331 is added to multiplatform/defaultArguments/suspend.kt.) #KT-30080 #KT-33641 #KT-36237 #KT-36952 #KT-37331 #KT-38920 #KT-39256 #KT-42415 #KT-44636 #KT-45704 #KT-47084 #KT-47894
This commit is contained in:
+55
@@ -2963,6 +2963,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Bound extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("kt44636_localExtension.kt")
|
||||
public void ignoreKt44636_localExtension() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/kt44636_localExtension.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -5284,6 +5289,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/closures/kt47840.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47894_inlineFunWithObjectWithNothing.kt")
|
||||
public void testKt47894_inlineFunWithObjectWithNothing() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/kt47894_inlineFunWithObjectWithNothing.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt5589.kt")
|
||||
public void testKt5589() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/kt5589.kt");
|
||||
@@ -6800,6 +6810,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt45704_elvisInInlineFun.kt")
|
||||
public void testKt45704_elvisInInlineFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt45704_elvisInInlineFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt9022And.kt")
|
||||
public void testKt9022And() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt9022And.kt");
|
||||
@@ -8702,6 +8717,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Tailrec extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("kt38920_localTailrec.kt")
|
||||
public void ignoreKt38920_localTailrec() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/kt38920_localTailrec.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -10760,6 +10780,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ToString extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("primitiveArrays.kt")
|
||||
public void ignorePrimitiveArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/dataClasses/toString/primitiveArrays.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -12380,6 +12405,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47084_lambdaInDefaultArgument.kt")
|
||||
public void testKt47084_lambdaInDefaultArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/kt47084_lambdaInDefaultArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("labeledThisReferences.kt")
|
||||
public void testLabeledThisReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt");
|
||||
@@ -27868,6 +27898,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36952_identityEqualsWithBooleanInLocalFunction.kt")
|
||||
public void testKt36952_identityEqualsWithBooleanInLocalFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/kt36952_identityEqualsWithBooleanInLocalFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt37505.kt")
|
||||
public void testKt37505() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/kt37505.kt");
|
||||
@@ -27888,6 +27923,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/kt4210.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt42415_javaClassOfLongLiteral.kt")
|
||||
public void testKt42415_javaClassOfLongLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/kt42415_javaClassOfLongLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt4251.kt")
|
||||
public void testKt4251() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/kt4251.kt");
|
||||
@@ -34922,6 +34962,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36237.kt")
|
||||
public void testKt36237() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reified/kt36237.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt39256_privateInlineWithAnonymousObject.kt")
|
||||
public void testKt39256_privateInlineWithAnonymousObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reified/kt39256_privateInlineWithAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedReified.kt")
|
||||
public void testNestedReified() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reified/nestedReified.kt");
|
||||
@@ -39169,6 +39219,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt33641_inlineClass.kt")
|
||||
public void testKt33641_inlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt33641_inlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("rangeCheckOnSubjectVariable.kt")
|
||||
public void testRangeCheckOnSubjectVariable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/rangeCheckOnSubjectVariable.kt");
|
||||
|
||||
Reference in New Issue
Block a user