[Test] Convert IGNORE: NATIVE directives in box tests from A to C

^KT-59057

Merge-request: KT-MR-10747
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-06-22 08:39:20 +00:00
committed by Space Team
parent 2da0e622c0
commit 3d60ed8874
49 changed files with 429 additions and 1430 deletions
@@ -1604,6 +1604,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt");
}
@TestMetadata("checkcastAndInstanceOf2.kt")
public void testCheckcastAndInstanceOf2() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf2.kt");
}
@TestMetadata("explicitEqualsOnDouble.kt")
public void testExplicitEqualsOnDouble() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/explicitEqualsOnDouble.kt");
@@ -4233,6 +4238,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt");
}
@TestMetadata("isFunKSmallJVM.kt")
public void testIsFunKSmallJVM() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallJVM.kt");
}
@TestMetadata("isFunKSmallNonJS.kt")
public void testIsFunKSmallNonJS() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallNonJS.kt");
}
@TestMetadata("javaTypeIsFunK.kt")
public void testJavaTypeIsFunK() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/javaTypeIsFunK.kt");
@@ -10036,24 +10051,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/anonymous")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Anonymous extends AbstractLightAnalysisModeTest {
@TestMetadata("simple.kt")
public void ignoreSimple() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/anonymous/simple.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
public void testAllFilesPresentInAnonymous() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/anonymous"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
}
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/named")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)