[FIR] Find the correct FIR file in Java finder for file with JvmName

#KT-57802
This commit is contained in:
Ivan Kylchik
2023-07-10 12:55:59 +02:00
committed by Space Team
parent 8c7c44f9f5
commit a45bb8d92b
11 changed files with 92 additions and 14 deletions
@@ -24708,6 +24708,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/involvesIrInterpreter/constEvaluationFromJavaWorld/accessTopLevelConst.kt");
}
@TestMetadata("accessTopLevelConstWithCustomFileName.kt")
public void testAccessTopLevelConstWithCustomFileName() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/constEvaluationFromJavaWorld/accessTopLevelConstWithCustomFileName.kt");
}
public void testAllFilesPresentInConstEvaluationFromJavaWorld() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter/constEvaluationFromJavaWorld"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}