[Test] Convert IGNORE: NATIVE directives in box tests from M to R

^KT-59057

Merge-request: KT-MR-10757
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-06-23 14:15:48 +00:00
committed by Space Team
parent d0dc292c30
commit 7930885131
28 changed files with 102 additions and 521 deletions
+2 -6
View File
@@ -1,9 +1,5 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
public open class Test() {
open public fun test() : Unit {
+15
View File
@@ -0,0 +1,15 @@
var result: String = "FAIL"
public open class Test() {
open public fun test() : Unit {
result = ok!!
}
companion object {
private val ok : String? = "OK"
}
}
fun box() : String {
Test().test()
return result
}
+2 -6
View File
@@ -1,9 +1,5 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
fun box(): String {
return object {
+2 -6
View File
@@ -1,9 +1,5 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
fun box() : String {
var a = 1
+2 -6
View File
@@ -1,9 +1,5 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
// WITH_STDLIB
object Obj {