Replace all occurrences of WITH_RUNTIME with WITH_STDLIB
We are going to deprecate `WITH_RUNTIME` directive. The main reason behind this change is that `WITH_STDLIB` directive better describes its meaning, specifically it will add kotlin stdlib to test's classpath.
This commit is contained in:
committed by
TeamCityServer
parent
960ba3ffde
commit
c7435ba760
+1
-1
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
inline fun <reified T : Any> check(expected: String) {
|
||||
val clazz = T::class.javaObjectType!!
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
inline fun <reified T : Any> check(expected: String) {
|
||||
val clazz = T::class.javaPrimitiveType!!
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
inline fun <reified T : Any> check(expected: String) {
|
||||
val clazz = T::class.java!!
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user