K1/K2: add a group of BB test around primitives in Java
Related to KT-62554, KT-63242
This commit is contained in:
committed by
Space Team
parent
e42c1be354
commit
51093a4764
+52
-6
@@ -20192,12 +20192,6 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
|
||||
runTest("compiler/testData/codegen/box/fir/notFoundClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDoubleJavaKotlinIntersection.kt")
|
||||
public void testPrimitiveDoubleJavaKotlinIntersection() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitiveDoubleJavaKotlinIntersection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("publicMethodCallViaPackagePrivateCommon.kt")
|
||||
public void testPublicMethodCallViaPackagePrivateCommon() throws Exception {
|
||||
@@ -20329,6 +20323,58 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
|
||||
public void testVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/vararg.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, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDoubleJavaKotlinIntersection.kt")
|
||||
public void testPrimitiveDoubleJavaKotlinIntersection() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/primitiveDoubleJavaKotlinIntersection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleType.kt")
|
||||
public void testTriangleWithFlexibleType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleTypeAndSubstitution.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution2.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleTypeAndSubstitution2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution3.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution3() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleTypeAndSubstitution3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution5.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution5() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleTypeAndSubstitution5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithNullableType.kt")
|
||||
public void testTriangleWithNullableType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithNullableType.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+52
-6
@@ -20192,12 +20192,6 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
|
||||
runTest("compiler/testData/codegen/box/fir/notFoundClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDoubleJavaKotlinIntersection.kt")
|
||||
public void testPrimitiveDoubleJavaKotlinIntersection() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitiveDoubleJavaKotlinIntersection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("publicMethodCallViaPackagePrivateCommon.kt")
|
||||
public void testPublicMethodCallViaPackagePrivateCommon() throws Exception {
|
||||
@@ -20329,6 +20323,58 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
|
||||
public void testVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/vararg.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, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDoubleJavaKotlinIntersection.kt")
|
||||
public void testPrimitiveDoubleJavaKotlinIntersection() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/primitiveDoubleJavaKotlinIntersection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleType.kt")
|
||||
public void testTriangleWithFlexibleType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleTypeAndSubstitution.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution2.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleTypeAndSubstitution2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution3.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution3() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleTypeAndSubstitution3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution5.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution5() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithFlexibleTypeAndSubstitution5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithNullableType.kt")
|
||||
public void testTriangleWithNullableType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/primitivesInJava/triangleWithNullableType.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user