K1/K2: add a group of BB test around primitives in Java

Related to KT-62554, KT-63242
This commit is contained in:
Mikhail Glukhikh
2024-01-22 18:12:48 +01:00
committed by Space Team
parent e42c1be354
commit 51093a4764
27 changed files with 724 additions and 53 deletions
@@ -14802,6 +14802,16 @@ public class FirWasmCodegenBoxTestGenerated extends AbstractFirWasmCodegenBoxTes
public void testToLong() throws Exception {
runTest("compiler/testData/codegen/box/fir/toLong.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/fir/primitivesInJava")
@TestDataPath("$PROJECT_ROOT")
public class PrimitivesInJava {
@Test
public void testAllFilesPresentInPrimitivesInJava() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fir/primitivesInJava"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
}
}
@Nested
@@ -14802,6 +14802,16 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
public void testToLong() throws Exception {
runTest("compiler/testData/codegen/box/fir/toLong.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/fir/primitivesInJava")
@TestDataPath("$PROJECT_ROOT")
public class PrimitivesInJava {
@Test
public void testAllFilesPresentInPrimitivesInJava() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fir/primitivesInJava"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
}
}
@Nested