[FIR] Allow to evaluate top level const properties in Java world
#KT-57802
This commit is contained in:
+15
-3
@@ -27794,6 +27794,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
@TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InvolvesIrInterpreter {
|
||||
@Test
|
||||
@TestMetadata("accessTopLevelConstFromJava.kt")
|
||||
public void testAccessTopLevelConstFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/accessTopLevelConstFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInInvolvesIrInterpreter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
@@ -27824,9 +27830,15 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57802.kt")
|
||||
public void testKt57802() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57802.kt");
|
||||
@TestMetadata("kt57802_1.kt")
|
||||
public void testKt57802_1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57802_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57802_2.kt")
|
||||
public void testKt57802_2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57802_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+15
-3
@@ -29066,6 +29066,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
@TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InvolvesIrInterpreter {
|
||||
@Test
|
||||
@TestMetadata("accessTopLevelConstFromJava.kt")
|
||||
public void testAccessTopLevelConstFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/accessTopLevelConstFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInInvolvesIrInterpreter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
@@ -29168,9 +29174,15 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57802.kt")
|
||||
public void testKt57802() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57802.kt");
|
||||
@TestMetadata("kt57802_1.kt")
|
||||
public void testKt57802_1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57802_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57802_2.kt")
|
||||
public void testKt57802_2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57802_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+15
-3
@@ -29066,6 +29066,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
|
||||
@TestMetadata("compiler/testData/codegen/box/involvesIrInterpreter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InvolvesIrInterpreter {
|
||||
@Test
|
||||
@TestMetadata("accessTopLevelConstFromJava.kt")
|
||||
public void testAccessTopLevelConstFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/accessTopLevelConstFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInInvolvesIrInterpreter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
@@ -29168,9 +29174,15 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57802.kt")
|
||||
public void testKt57802() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57802.kt");
|
||||
@TestMetadata("kt57802_1.kt")
|
||||
public void testKt57802_1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57802_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57802_2.kt")
|
||||
public void testKt57802_2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/kt57802_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user