Ignored/fixed some tests for Kotlin/Native

This commit is contained in:
Igor Chevdar
2017-06-21 11:56:22 +03:00
committed by jetbrains
parent 7b52300287
commit d7e4350d42
23 changed files with 115 additions and 30 deletions
@@ -1,6 +1,7 @@
// NO_CHECK_LAMBDA_INLINING
// FILE: 1.kt
// WITH_RUNTIME
// IGNORE_BACKEND: NATIVE
package test
open class A(val value: String)
@@ -29,7 +30,7 @@ fun box(): String {
init = { invokeOrder += " init"; "I" }())
if (result != "C, R, I") return "fail 1: $result"
//Change test after KT-17691 FIX
//Change test after KT-17691 FIX; and remove cloned test for Native (enable this).
if (invokeOrder != " receiver initconstraints") return "fail 2: $invokeOrder"
result = ""
@@ -1,7 +1,7 @@
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
//WITH_RUNTIME
package test
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// WITH_REFLECT
package test
@@ -1,6 +1,7 @@
// FILE: 1.kt
// FULL_JDK
// WITH_REFLECT
// IGNORE_BACKEND: NATIVE
package test
import kotlin.properties.Delegates
@@ -1,6 +1,7 @@
// FILE: 1.kt
// FULL_JDK
// WITH_REFLECT
// IGNORE_BACKEND: NATIVE
package test
import kotlin.properties.Delegates
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
package test