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:
committed by
TeamCityServer
parent
2865d8bd45
commit
5a284de2d4
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+48
@@ -15791,6 +15791,54 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/ir/privateSignatures")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class PrivateSignatures extends AbstractIrJsCodegenBoxES6Test {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR_ES6, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInPrivateSignatures() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/privateSignatures"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalClassProperties.kt")
|
||||
public void testDeepLocalClassProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalClassProperties.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalClassProperties2.kt")
|
||||
public void testDeepLocalClassProperties2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalClassProperties2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalDefaultArgumentWithLocalClass.kt")
|
||||
public void testDeepLocalDefaultArgumentWithLocalClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalDefaultArgumentWithLocalClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalFakeOverride.kt")
|
||||
public void testDeepLocalFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalFakeOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumEntryArguments.kt")
|
||||
public void testEnumEntryArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/enumEntryArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFakeOverride.kt")
|
||||
public void testLocalFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/localFakeOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevelPrivateDelegate.kt")
|
||||
public void testTopLevelPrivateDelegate() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/topLevelPrivateDelegate.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/ir/serializationRegressions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Generated
+48
@@ -15197,6 +15197,54 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/ir/privateSignatures")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class PrivateSignatures extends AbstractIrJsCodegenBoxTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInPrivateSignatures() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/privateSignatures"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalClassProperties.kt")
|
||||
public void testDeepLocalClassProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalClassProperties.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalClassProperties2.kt")
|
||||
public void testDeepLocalClassProperties2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalClassProperties2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalDefaultArgumentWithLocalClass.kt")
|
||||
public void testDeepLocalDefaultArgumentWithLocalClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalDefaultArgumentWithLocalClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalFakeOverride.kt")
|
||||
public void testDeepLocalFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalFakeOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumEntryArguments.kt")
|
||||
public void testEnumEntryArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/enumEntryArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFakeOverride.kt")
|
||||
public void testLocalFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/localFakeOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevelPrivateDelegate.kt")
|
||||
public void testTopLevelPrivateDelegate() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/topLevelPrivateDelegate.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/ir/serializationRegressions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Generated
+48
@@ -15262,6 +15262,54 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/ir/privateSignatures")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class PrivateSignatures extends AbstractJsCodegenBoxTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInPrivateSignatures() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/privateSignatures"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalClassProperties.kt")
|
||||
public void testDeepLocalClassProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalClassProperties.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalClassProperties2.kt")
|
||||
public void testDeepLocalClassProperties2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalClassProperties2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalDefaultArgumentWithLocalClass.kt")
|
||||
public void testDeepLocalDefaultArgumentWithLocalClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalDefaultArgumentWithLocalClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deepLocalFakeOverride.kt")
|
||||
public void testDeepLocalFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalFakeOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumEntryArguments.kt")
|
||||
public void testEnumEntryArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/enumEntryArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFakeOverride.kt")
|
||||
public void testLocalFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/localFakeOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevelPrivateDelegate.kt")
|
||||
public void testTopLevelPrivateDelegate() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/topLevelPrivateDelegate.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/ir/serializationRegressions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+18
@@ -8997,6 +8997,24 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/ir/privateSignatures")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class PrivateSignatures extends AbstractIrCodegenBoxWasmTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInPrivateSignatures() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/privateSignatures"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, 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)
|
||||
|
||||
Reference in New Issue
Block a user