Add tests for obsolete issues

#KT-38092 Obsolete
 #KT-38179 Obsolete
 #KT-35105 Obsolete
 #KT-36696 Obsolete
 #KT-36947 Obsolete
 #KT-37337 Obsolete
 #KT-37309 Obsolete
 #KT-37727 Obsolete
 #KT-37735 Obsolete
 #KT-37853 Obsolete
 #KT-37920 Obsolete
 #KT-37709 Obsolete
 #KT-37706 Obsolete
This commit is contained in:
Mikhail Zarechenskiy
2020-04-20 00:18:16 +03:00
parent 57597f5900
commit befa1e114c
36 changed files with 559 additions and 0 deletions
@@ -1886,6 +1886,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/callableReference/kt34314_lambda.kt");
}
@TestMetadata("kt35105.kt")
public void testKt35105() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/kt35105.kt");
}
@TestMetadata("kt35959.kt")
public void testKt35959() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/kt35959.kt");
@@ -10138,6 +10143,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/inference/kt36819.kt");
}
@TestMetadata("kt37853.kt")
public void testKt37853() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt37853.kt");
}
@TestMetadata("kt6175.kt")
public void testKt6175() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt6175.kt");
@@ -13472,6 +13482,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/j+k/sam/inheritedStaticSam.kt");
}
@TestMetadata("kt37920.kt")
public void testKt37920() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/sam/kt37920.kt");
}
@TestMetadata("privateCandidatesWithWrongArguments.kt")
public void testPrivateCandidatesWithWrongArguments() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/sam/privateCandidatesWithWrongArguments.kt");
@@ -1583,6 +1583,11 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/allowResultInReturnType_1_4.kt");
}
@TestMetadata("basicBuildListBuildMap.kt")
public void testBasicBuildListBuildMap() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/basicBuildListBuildMap.kt");
}
@TestMetadata("callableReferences.kt")
public void testCallableReferences() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/callableReferences.kt");
@@ -1633,6 +1638,21 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt28658.kt");
}
@TestMetadata("kt36947.kt")
public void testKt36947() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt36947.kt");
}
@TestMetadata("kt37309.kt")
public void testKt37309() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt37309.kt");
}
@TestMetadata("kt38179.kt")
public void testKt38179() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt38179.kt");
}
@TestMetadata("lambdaExpectedType.kt")
public void testLambdaExpectedType() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/lambdaExpectedType.kt");
@@ -3384,6 +3404,21 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt37554.kt");
}
@TestMetadata("kt37706.kt")
public void testKt37706() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt37706.kt");
}
@TestMetadata("kt37727.kt")
public void testKt37727() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt37727.kt");
}
@TestMetadata("kt37735.kt")
public void testKt37735() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt37735.kt");
}
@TestMetadata("kt9820_javaFunctionTypeInheritor.kt")
public void testKt9820_javaFunctionTypeInheritor() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt9820_javaFunctionTypeInheritor.kt");
@@ -1583,6 +1583,11 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/allowResultInReturnType_1_4.kt");
}
@TestMetadata("basicBuildListBuildMap.kt")
public void testBasicBuildListBuildMap() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/basicBuildListBuildMap.kt");
}
@TestMetadata("callableReferences.kt")
public void testCallableReferences() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/callableReferences.kt");
@@ -1633,6 +1638,21 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt28658.kt");
}
@TestMetadata("kt36947.kt")
public void testKt36947() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt36947.kt");
}
@TestMetadata("kt37309.kt")
public void testKt37309() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt37309.kt");
}
@TestMetadata("kt38179.kt")
public void testKt38179() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt38179.kt");
}
@TestMetadata("lambdaExpectedType.kt")
public void testLambdaExpectedType() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/lambdaExpectedType.kt");
@@ -3384,6 +3404,21 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt37554.kt");
}
@TestMetadata("kt37706.kt")
public void testKt37706() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt37706.kt");
}
@TestMetadata("kt37727.kt")
public void testKt37727() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt37727.kt");
}
@TestMetadata("kt37735.kt")
public void testKt37735() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt37735.kt");
}
@TestMetadata("kt9820_javaFunctionTypeInheritor.kt")
public void testKt9820_javaFunctionTypeInheritor() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/regression/kt9820_javaFunctionTypeInheritor.kt");
@@ -1881,6 +1881,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/callableReference/kt34314_lambda.kt");
}
@TestMetadata("kt35105.kt")
public void testKt35105() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/kt35105.kt");
}
@TestMetadata("kt35959.kt")
public void testKt35959() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/kt35959.kt");
@@ -10133,6 +10138,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/inference/kt36819.kt");
}
@TestMetadata("kt37853.kt")
public void testKt37853() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt37853.kt");
}
@TestMetadata("kt6175.kt")
public void testKt6175() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt6175.kt");
@@ -13467,6 +13477,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/j+k/sam/inheritedStaticSam.kt");
}
@TestMetadata("kt37920.kt")
public void testKt37920() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/sam/kt37920.kt");
}
@TestMetadata("privateCandidatesWithWrongArguments.kt")
public void testPrivateCandidatesWithWrongArguments() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/sam/privateCandidatesWithWrongArguments.kt");
@@ -13296,6 +13296,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/inference/coerctionToUnitForLastExpressionWithStarProjection.kt");
}
@TestMetadata("earlyReturnInsideCrossinlineLambda.kt")
public void testEarlyReturnInsideCrossinlineLambda() throws Exception {
runTest("compiler/testData/codegen/box/inference/earlyReturnInsideCrossinlineLambda.kt");
}
@TestMetadata("integerLiteralTypeInLamdaReturnType.kt")
public void testIntegerLiteralTypeInLamdaReturnType() throws Exception {
runTest("compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt");
@@ -19702,6 +19707,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/operatorConventions/overloadedSet.kt");
}
@TestMetadata("plusAssignWithComplexRHS.kt")
public void testPlusAssignWithComplexRHS() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/plusAssignWithComplexRHS.kt");
}
@TestMetadata("plusExplicit.kt")
public void testPlusExplicit() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/plusExplicit.kt");
@@ -13296,6 +13296,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/inference/coerctionToUnitForLastExpressionWithStarProjection.kt");
}
@TestMetadata("earlyReturnInsideCrossinlineLambda.kt")
public void testEarlyReturnInsideCrossinlineLambda() throws Exception {
runTest("compiler/testData/codegen/box/inference/earlyReturnInsideCrossinlineLambda.kt");
}
@TestMetadata("integerLiteralTypeInLamdaReturnType.kt")
public void testIntegerLiteralTypeInLamdaReturnType() throws Exception {
runTest("compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt");
@@ -19702,6 +19707,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/operatorConventions/overloadedSet.kt");
}
@TestMetadata("plusAssignWithComplexRHS.kt")
public void testPlusAssignWithComplexRHS() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/plusAssignWithComplexRHS.kt");
}
@TestMetadata("plusExplicit.kt")
public void testPlusExplicit() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/plusExplicit.kt");
@@ -12081,6 +12081,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/inference/coerctionToUnitForLastExpressionWithStarProjection.kt");
}
@TestMetadata("earlyReturnInsideCrossinlineLambda.kt")
public void testEarlyReturnInsideCrossinlineLambda() throws Exception {
runTest("compiler/testData/codegen/box/inference/earlyReturnInsideCrossinlineLambda.kt");
}
@TestMetadata("integerLiteralTypeInLamdaReturnType.kt")
public void testIntegerLiteralTypeInLamdaReturnType() throws Exception {
runTest("compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt");
@@ -18121,6 +18126,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/operatorConventions/overloadedSet.kt");
}
@TestMetadata("plusAssignWithComplexRHS.kt")
public void testPlusAssignWithComplexRHS() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/plusAssignWithComplexRHS.kt");
}
@TestMetadata("plusExplicit.kt")
public void testPlusExplicit() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/plusExplicit.kt");