Minor. Add regression test

#KT-45539 Obsolete
This commit is contained in:
Ilmir Usmanov
2021-04-12 12:07:51 +02:00
parent 19b1b48e87
commit 29c975fc43
8 changed files with 102 additions and 5 deletions
@@ -7094,6 +7094,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/coroutines/kt44221.kt");
}
@TestMetadata("kt44710.kt")
public void testKt44710() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt44710.kt");
}
@TestMetadata("kt45377.kt")
public void testKt45377() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt45377.kt");
@@ -15183,6 +15188,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class BoxReturnValueOnOverride extends AbstractLightAnalysisModeTest {
@TestMetadata("boxReturnValueInDefaultMethod.kt")
public void ignoreBoxReturnValueInDefaultMethod() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/boxReturnValueInDefaultMethod.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -15191,11 +15201,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@TestMetadata("boxReturnValueInDefaultMethod.kt")
public void testBoxReturnValueInDefaultMethod() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/boxReturnValueInDefaultMethod.kt");
}
@TestMetadata("covariantOverrideChainErasedToAny.kt")
public void testCovariantOverrideChainErasedToAny() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideChainErasedToAny.kt");