Unify properties initialization for init and clinit
This commit is contained in:
@@ -457,6 +457,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/box/classes"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("boxPrimitiveTypeInClinitOfClassObject.kt")
|
||||
public void testBoxPrimitiveTypeInClinitOfClassObject() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/classes/boxPrimitiveTypeInClinitOfClassObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classObject.kt")
|
||||
public void testClassObject() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/classes/classObject.kt");
|
||||
@@ -2621,6 +2626,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/box/namespace"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("boxPrimitiveTypeInClinit.kt")
|
||||
public void testBoxPrimitiveTypeInClinit() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/namespace/boxPrimitiveTypeInClinit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("checkCast.kt")
|
||||
public void testCheckCast() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/namespace/checkCast.kt");
|
||||
|
||||
Reference in New Issue
Block a user