From 3e6175fe30baf67176aca2f24faad5151b6d813d Mon Sep 17 00:00:00 2001 From: Vladimir Sukharev Date: Thu, 22 Jun 2023 14:50:18 +0000 Subject: [PATCH] [Test] Convert IGNORE: NATIVE directives in box tests "super" ^KT-59057 Merge-request: KT-MR-10764 Merged-by: Vladimir Sukharev --- .../testData/codegen/box/super/basicmethodSuperClass.kt | 2 +- .../blackboxtest/FirNativeCodegenBoxTestGenerated.java | 6 ------ .../blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java | 6 ------ .../konan/blackboxtest/NativeCodegenBoxTestGenerated.java | 6 ------ .../blackboxtest/NativeCodegenBoxTestNoPLGenerated.java | 6 ------ 5 files changed, 1 insertion(+), 25 deletions(-) diff --git a/compiler/testData/codegen/box/super/basicmethodSuperClass.kt b/compiler/testData/codegen/box/super/basicmethodSuperClass.kt index 93beeae8c96..038540639b8 100644 --- a/compiler/testData/codegen/box/super/basicmethodSuperClass.kt +++ b/compiler/testData/codegen/box/super/basicmethodSuperClass.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: WASM // WASM_MUTE_REASON: STDLIB_COLLECTION_INHERITANCE // KJS_WITH_FULL_RUNTIME -// IGNORE_BACKEND: NATIVE +// DONT_TARGET_EXACT_BACKEND: NATIVE class N() : ArrayList() { override fun add(el: Any) : Boolean { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java index 7e723f2e734..6261175abf7 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java @@ -38489,12 +38489,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("basicmethodSuperClass.kt") - public void testBasicmethodSuperClass() throws Exception { - runTest("compiler/testData/codegen/box/super/basicmethodSuperClass.kt"); - } - @Test @TestMetadata("basicmethodSuperTrait.kt") public void testBasicmethodSuperTrait() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java index a20d6b61c60..7fc7064c8c2 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java @@ -39467,12 +39467,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("basicmethodSuperClass.kt") - public void testBasicmethodSuperClass() throws Exception { - runTest("compiler/testData/codegen/box/super/basicmethodSuperClass.kt"); - } - @Test @TestMetadata("basicmethodSuperTrait.kt") public void testBasicmethodSuperTrait() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java index dabeba6f4b9..2f5a3261216 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java @@ -38001,12 +38001,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("basicmethodSuperClass.kt") - public void testBasicmethodSuperClass() throws Exception { - runTest("compiler/testData/codegen/box/super/basicmethodSuperClass.kt"); - } - @Test @TestMetadata("basicmethodSuperTrait.kt") public void testBasicmethodSuperTrait() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java index 3373256b5bf..5867a782c95 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java @@ -38490,12 +38490,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } - @Test - @TestMetadata("basicmethodSuperClass.kt") - public void testBasicmethodSuperClass() throws Exception { - runTest("compiler/testData/codegen/box/super/basicmethodSuperClass.kt"); - } - @Test @TestMetadata("basicmethodSuperTrait.kt") public void testBasicmethodSuperTrait() throws Exception {