Support reflection tests on Android

This commit is contained in:
Mikhael Bogdanov
2019-01-22 17:48:45 +01:00
parent 91980c5293
commit f2a51d3b80
49 changed files with 235 additions and 174 deletions
@@ -3,7 +3,7 @@
// TARGET_BACKEND: JVM
// WITH_REFLECT
// WITH_COROUTINES
package test
import helpers.*
import kotlin.coroutines.*
import kotlin.coroutines.intrinsics.*
@@ -31,5 +31,5 @@ fun box(): String {
result = A<String>().bar()
}
return if (result == "Continuation at A.bar(coroutineToString.kt:16)") "OK" else "Fail: $result"
return if (result == "Continuation at test.A.bar(coroutineToString.kt:16)") "OK" else "Fail: $result"
}
@@ -3,7 +3,7 @@
// WITH_RUNTIME
// FULL_JDK
// WITH_COROUTINES
package test
import helpers.*
import kotlin.coroutines.*
import kotlin.coroutines.intrinsics.*
@@ -5,7 +5,7 @@
// WITH_COROUTINES
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER", "CANNOT_OVERRIDE_INVISIBLE_MEMBER")
package test
import helpers.*
import kotlin.coroutines.*
import kotlin.coroutines.intrinsics.*