[Test] Convert IGNORE: NATIVE directives in box tests from D to I
^KT-59057 Merge-request: KT-MR-10748 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
919d6401f7
commit
a036e41809
+3
-5
@@ -1,8 +1,6 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS
|
||||
// See the end of KT-8135 description: The same problem appears when using delegating properties with unchecked casts inside
|
||||
// Test fail reason: ClassCastException is not thrown when using delegating properties with unchecked casts inside
|
||||
// IGNORE_BACKEND: NATIVE, JS, JS_IR, JS_IR_ES6, WASM
|
||||
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
|
||||
+3
-1
@@ -1,3 +1,5 @@
|
||||
// See the end of KT-8135 description: The same problem appears when using delegating properties with unchecked casts inside
|
||||
// Test fail reason: ClassCastException is not thrown when using delegating properties with unchecked casts inside
|
||||
// IGNORE_BACKEND: WASM
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
@@ -38,7 +40,7 @@ fun box(): String {
|
||||
val c = A().B()
|
||||
|
||||
(del as Delegate<String?>).inner = null
|
||||
asFailsWithCCE { c.prop } // does not fail in JVM, JS due KT-8135.
|
||||
asFailsWithCCE { c.prop } // throws AssertionError due to KT-8135.
|
||||
|
||||
return "OK"
|
||||
}
|
||||
+2
-5
@@ -1,8 +1,5 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// TARGET_BACKEND: JVM
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
|
||||
// No kotlin-reflect.jar in this test
|
||||
// WITH_STDLIB
|
||||
|
||||
+2
-5
@@ -1,8 +1,5 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// 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_REFLECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user