Run test genericFunctionReferenceSignature.kt only for JVM and native

Merge-request: KT-MR-6636
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2022-07-12 13:07:14 +00:00
committed by Space
parent 270a98d02f
commit a9789203ac
4 changed files with 3 additions and 17 deletions
@@ -1,3 +1,6 @@
// TARGET_BACKEND: JVM
// TARGET_BACKEND: NATIVE
// WITH_REFLECT
package test
@@ -31023,12 +31023,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testAllFilesPresentInGenericSignature() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/genericSignature"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("genericFunctionReferenceSignature.kt")
public void testGenericFunctionReferenceSignature() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/genericFunctionReferenceSignature.kt");
}
}
@Nested
@@ -31125,12 +31125,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testAllFilesPresentInGenericSignature() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/genericSignature"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("genericFunctionReferenceSignature.kt")
public void testGenericFunctionReferenceSignature() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/genericFunctionReferenceSignature.kt");
}
}
@Nested
@@ -27852,11 +27852,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
public void testAllFilesPresentInGenericSignature() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/genericSignature"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("genericFunctionReferenceSignature.kt")
public void testGenericFunctionReferenceSignature() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/genericFunctionReferenceSignature.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/reflection/isInstance")