add tests for private signatures

regenerate tests

add test for EnumEntry's argument declarations

add another test

regenerate test

fix test a bit
This commit is contained in:
Roman Artemev
2021-05-13 17:05:18 +03:00
committed by TeamCityServer
parent 2865d8bd45
commit 5a284de2d4
15 changed files with 665 additions and 0 deletions
@@ -18637,6 +18637,24 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
}
}
@TestMetadata("compiler/testData/codegen/box/ir/privateSignatures")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class PrivateSignatures extends AbstractLightAnalysisModeTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
public void testAllFilesPresentInPrivateSignatures() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/privateSignatures"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@TestMetadata("enumEntryArguments.kt")
public void testEnumEntryArguments() throws Exception {
runTest("compiler/testData/codegen/box/ir/privateSignatures/enumEntryArguments.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/ir/serializationRegressions")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)