[FIR] Bring equivalent call behavior closer to K1
#KT-61159 Fixed
This commit is contained in:
committed by
Space Team
parent
7c67e9e08b
commit
fa77e3952d
Generated
+16
@@ -13154,6 +13154,22 @@ public class FirWasmCodegenBoxTestGenerated extends AbstractFirWasmCodegenBoxTes
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/equivalentCalls")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class EquivalentCalls {
|
||||
@Test
|
||||
public void testAllFilesPresentInEquivalentCalls() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/equivalentCalls"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localEquivalentWins.kt")
|
||||
public void testLocalEquivalentWins() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/equivalentCalls/localEquivalentWins.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/evaluate")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Generated
+16
@@ -13154,6 +13154,22 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/equivalentCalls")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class EquivalentCalls {
|
||||
@Test
|
||||
public void testAllFilesPresentInEquivalentCalls() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/equivalentCalls"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localEquivalentWins.kt")
|
||||
public void testLocalEquivalentWins() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/equivalentCalls/localEquivalentWins.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/evaluate")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user