Add tests for property const initializers
Merge-request: KT-MR-8661 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
3a9ca1c1eb
commit
e75d739c7a
+24
@@ -28375,6 +28375,30 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/properties/initOrderMultiModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializerOfConstValWithConst.kt")
|
||||
public void testInitializerOfConstValWithConst() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/initializerOfConstValWithConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializerOfConstValWithConstExpr.kt")
|
||||
public void testInitializerOfConstValWithConstExpr() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/initializerOfConstValWithConstExpr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializerOfValWithConstExpr.kt")
|
||||
public void testInitializerOfValWithConstExpr() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/initializerOfValWithConstExpr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializerOfValWithNonConstExpr.kt")
|
||||
public void testInitializerOfValWithNonConstExpr() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/initializerOfValWithNonConstExpr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10715.kt")
|
||||
public void testKt10715() throws Exception {
|
||||
|
||||
+24
@@ -28052,6 +28052,30 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/properties/initOrderMultiModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializerOfConstValWithConst.kt")
|
||||
public void testInitializerOfConstValWithConst() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/initializerOfConstValWithConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializerOfConstValWithConstExpr.kt")
|
||||
public void testInitializerOfConstValWithConstExpr() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/initializerOfConstValWithConstExpr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializerOfValWithConstExpr.kt")
|
||||
public void testInitializerOfValWithConstExpr() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/initializerOfValWithConstExpr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializerOfValWithNonConstExpr.kt")
|
||||
public void testInitializerOfValWithNonConstExpr() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/initializerOfValWithNonConstExpr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10715.kt")
|
||||
public void testKt10715() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user