[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:
committed by
Space Team
parent
d0dc292c30
commit
7930885131
@@ -1,4 +1,6 @@
|
||||
// !SANITIZE_PARENTHESES
|
||||
// JS error: com.google.gwt.dev.js.parserExceptions.JsParserException: missing ) after formal parameters at (95, 33)
|
||||
// NATIVE error: name contains illegal characters: "()"
|
||||
// IGNORE_BACKEND: JS, NATIVE
|
||||
// !LANGUAGE: +JsAllowInvalidCharsIdentifiersEscaping
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// https://youtrack.jetbrains.com/issue/KT-50289/EXCBADACCESS-getting-non-null-property-in-safe-call-chain
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
abstract class Z {
|
||||
|
||||
+2
-6
@@ -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 {
|
||||
|
||||
@@ -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
@@ -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
@@ -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
@@ -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 {
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
// 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
|
||||
var boxtest_log: String = ""
|
||||
|
||||
fun box(): String? {
|
||||
val log = System.getProperty("boxtest.log")
|
||||
System.clearProperty("boxtest.log") // test can be run twice
|
||||
return if (log == "bca") "OK" else log
|
||||
fun box(): String {
|
||||
return if (boxtest_log == "bca") "OK" else boxtest_log
|
||||
}
|
||||
|
||||
val b = log("b")
|
||||
@@ -16,6 +9,5 @@ val c = log("c")
|
||||
val a = log("a")
|
||||
|
||||
fun log(message: String) {
|
||||
val value = (System.getProperty("boxtest.log") ?: "") + message
|
||||
System.setProperty("boxtest.log", value)
|
||||
}
|
||||
boxtest_log += message
|
||||
}
|
||||
|
||||
+2
-7
@@ -1,10 +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
|
||||
// StackOverflow with StringBuilder (escape()) on Android 4.4
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
|
||||
|
||||
+2
-6
@@ -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
|
||||
|
||||
package bottles
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
class L<T>(var a: T) {}
|
||||
|
||||
|
||||
+2
-6
@@ -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 object RefreshQueue {
|
||||
|
||||
|
||||
+2
-6
@@ -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
|
||||
|
||||
interface A {
|
||||
val method : (() -> Unit )?
|
||||
|
||||
+2
-6
@@ -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
|
||||
// not sure if it's ok to change Object to Any
|
||||
|
||||
// WITH_STDLIB
|
||||
|
||||
Reference in New Issue
Block a user