Minor, add a bit more tests for KT-12063
This commit is contained in:
+28
-6
@@ -23490,12 +23490,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectProtected.kt")
|
||||
public void testCompanionObjectProtected() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/companionObjectProtected.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("convention.kt")
|
||||
public void testConvention() throws Exception {
|
||||
@@ -23687,6 +23681,34 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
public void testSyntheticAccessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/syntheticAccessor.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ProtectedInSuperClass {
|
||||
@Test
|
||||
public void testAllFilesPresentInProtectedInSuperClass() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultArguments.kt")
|
||||
public void testDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass/defaultArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunction.kt")
|
||||
public void testSimpleFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass/simpleFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleProperty.kt")
|
||||
public void testSimpleProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass/simpleProperty.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user