Add tests for obsolete issues

#KT-37734 Obsolete
 #KT-39824 Obsolete
This commit is contained in:
Mikhail Zarechenskiy
2020-06-26 06:24:59 +03:00
parent 9844607d0f
commit 684ca5029f
14 changed files with 121 additions and 0 deletions
@@ -3102,6 +3102,11 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/exactAnnotation.kt");
}
@TestMetadata("exactAnnotationWithUpperBoundConstraint.kt")
public void testExactAnnotationWithUpperBoundConstraint() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/exactAnnotationWithUpperBoundConstraint.kt");
}
@TestMetadata("explicitTypeArgumentAsValidInputType.kt")
public void testExplicitTypeArgumentAsValidInputType() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/explicitTypeArgumentAsValidInputType.kt");
@@ -3102,6 +3102,11 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/exactAnnotation.kt");
}
@TestMetadata("exactAnnotationWithUpperBoundConstraint.kt")
public void testExactAnnotationWithUpperBoundConstraint() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/exactAnnotationWithUpperBoundConstraint.kt");
}
@TestMetadata("explicitTypeArgumentAsValidInputType.kt")
public void testExplicitTypeArgumentAsValidInputType() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/explicitTypeArgumentAsValidInputType.kt");
@@ -13639,6 +13639,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/inference/kt36446.kt");
}
@TestMetadata("kt39824.kt")
public void testKt39824() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt39824.kt");
}
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
@@ -13639,6 +13639,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/inference/kt36446.kt");
}
@TestMetadata("kt39824.kt")
public void testKt39824() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt39824.kt");
}
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
@@ -12414,6 +12414,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/inference/kt36446.kt");
}
@TestMetadata("kt39824.kt")
public void testKt39824() throws Exception {
runTest("compiler/testData/codegen/box/inference/kt39824.kt");
}
@TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt")
public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception {
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");