Add tests for obsolete issues

#KT-38804 Obsolete
 #KT-38801 Obsolete
 #KT-38835 Obsolete
 #KT-38737 Obsolete
 #KT-38664 Obsolete
 #KT-38549 Obsolete
 #KT-38766 Obsolete
 #KT-38714 Obsolete
This commit is contained in:
Mikhail Zarechenskiy
2020-08-11 10:11:47 +03:00
parent 7f4df19dd1
commit 2e131b870a
30 changed files with 503 additions and 0 deletions
@@ -6218,6 +6218,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/inferenceFromReceiver2.kt");
}
@TestMetadata("kt38714.kt")
public void testKt38714() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.kt");
}
@TestMetadata("localDelegatedProperty.kt")
public void testLocalDelegatedProperty() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/localDelegatedProperty.kt");
@@ -11929,6 +11934,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt37650.kt");
}
@TestMetadata("kt38549.kt")
public void testKt38549() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt38549.kt");
}
@TestMetadata("kt38691.kt")
public void testKt38691() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt38691.kt");
@@ -21727,6 +21737,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnIf.kt");
}
@TestMetadata("smartCastOnLastExpressionOfLambdaAfterNothing.kt")
public void testSmartCastOnLastExpressionOfLambdaAfterNothing() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnLastExpressionOfLambdaAfterNothing.kt");
}
@TestMetadata("smartCastOnWhen.kt")
public void testSmartCastOnWhen() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnWhen.kt");
@@ -2098,6 +2098,11 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/kt38667.kt");
}
@TestMetadata("kt38766.kt")
public void testKt38766() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/kt38766.kt");
}
@TestMetadata("nestedLambdaInferenceWithListMap.kt")
public void testNestedLambdaInferenceWithListMap() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/nestedLambdaInferenceWithListMap.kt");
@@ -3075,6 +3080,16 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38143.kt");
}
@TestMetadata("kt38737.kt")
public void testKt38737() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38737.kt");
}
@TestMetadata("kt38801.kt")
public void testKt38801() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38801.kt");
}
@TestMetadata("kt4975.kt")
public void testKt4975() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt4975.kt");
@@ -2098,6 +2098,11 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/kt38667.kt");
}
@TestMetadata("kt38766.kt")
public void testKt38766() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/kt38766.kt");
}
@TestMetadata("nestedLambdaInferenceWithListMap.kt")
public void testNestedLambdaInferenceWithListMap() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/nestedLambdaInferenceWithListMap.kt");
@@ -3075,6 +3080,16 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38143.kt");
}
@TestMetadata("kt38737.kt")
public void testKt38737() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38737.kt");
}
@TestMetadata("kt38801.kt")
public void testKt38801() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38801.kt");
}
@TestMetadata("kt4975.kt")
public void testKt4975() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt4975.kt");
@@ -6213,6 +6213,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/inferenceFromReceiver2.kt");
}
@TestMetadata("kt38714.kt")
public void testKt38714() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.kt");
}
@TestMetadata("localDelegatedProperty.kt")
public void testLocalDelegatedProperty() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/localDelegatedProperty.kt");
@@ -11924,6 +11929,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt37650.kt");
}
@TestMetadata("kt38549.kt")
public void testKt38549() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt38549.kt");
}
@TestMetadata("kt38691.kt")
public void testKt38691() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt38691.kt");
@@ -21652,6 +21662,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnIf.kt");
}
@TestMetadata("smartCastOnLastExpressionOfLambdaAfterNothing.kt")
public void testSmartCastOnLastExpressionOfLambdaAfterNothing() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnLastExpressionOfLambdaAfterNothing.kt");
}
@TestMetadata("smartCastOnWhen.kt")
public void testSmartCastOnWhen() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnWhen.kt");
@@ -13729,6 +13729,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/inference/kt36446.kt");
}
@TestMetadata("kt38664.kt")
public void testKt38664() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt38664.kt");
}
@TestMetadata("kt39824.kt")
public void testKt39824() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt39824.kt");
@@ -32307,6 +32312,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/vararg/notInLastPosition.kt");
}
@TestMetadata("referenceToContainsFromVarargParameter.kt")
public void testReferenceToContainsFromVarargParameter() throws Exception {
runTest("compiler/testData/codegen/box/vararg/referenceToContainsFromVarargParameter.kt");
}
@TestMetadata("singleAssignmentToVarargsInFunction.kt")
public void testSingleAssignmentToVarargsInFunction() throws Exception {
runTest("compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt");
@@ -13729,6 +13729,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/inference/kt36446.kt");
}
@TestMetadata("kt38664.kt")
public void testKt38664() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt38664.kt");
}
@TestMetadata("kt39824.kt")
public void testKt39824() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt39824.kt");
@@ -29941,6 +29946,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/vararg/notInLastPosition.kt");
}
@TestMetadata("referenceToContainsFromVarargParameter.kt")
public void testReferenceToContainsFromVarargParameter() throws Exception {
runTest("compiler/testData/codegen/box/vararg/referenceToContainsFromVarargParameter.kt");
}
@TestMetadata("singleAssignmentToVarargsInFunction.kt")
public void testSingleAssignmentToVarargsInFunction() throws Exception {
runTest("compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt");
@@ -12504,6 +12504,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/inference/kt36446.kt");
}
@TestMetadata("kt38664.kt")
public void testKt38664() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt38664.kt");
}
@TestMetadata("kt39824.kt")
public void testKt39824() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt39824.kt");
@@ -30711,6 +30716,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/vararg/notInLastPosition.kt");
}
@TestMetadata("referenceToContainsFromVarargParameter.kt")
public void testReferenceToContainsFromVarargParameter() throws Exception {
runTest("compiler/testData/codegen/box/vararg/referenceToContainsFromVarargParameter.kt");
}
@TestMetadata("singleAssignmentToVarargsInFunction.kt")
public void testSingleAssignmentToVarargsInFunction() throws Exception {
runTest("compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt");