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
@@ -5,7 +5,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
fun <T> test1() = null as T
|
||||
fun <T> test2(): T {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// This is a big, ugly, semi-auto generated test.
|
||||
// Use corresponding 'Small' test for debug.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// This is a big, ugly, semi-auto generated test.
|
||||
// Use corresponding 'Small' test for debug.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
// FILE: JFun.java
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// This is a big, ugly, semi-auto generated test.
|
||||
// Use corresponding 'Small' test for debug.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// This is a big, ugly, semi-auto generated test.
|
||||
// Use corresponding 'Small' test for debug.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
fun fn0() {}
|
||||
fun fn1(x: Any) {}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// This is a big, ugly, semi-auto generated test.
|
||||
// Use corresponding 'Small' test for debug.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
fun fn0() {}
|
||||
fun fn1(x: Any) {}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
public static A nil() { return null; }
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
public static A nil() { return null; }
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
public static A nil() { return null; }
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
public static A nil() { return null; }
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
public static A nil() { return null; }
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
public static A nil() { return null; }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
public static A nil() { return null; }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
public static A nil() { return null; }
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// JVM_TARGET: 1.8
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FULL_JDK
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// JVM_TARGET: 1.8
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FULL_JDK
|
||||
// FILE: A.java
|
||||
public class A {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
|
||||
class Itr : Iterator<String> by ArrayList<String>().iterator()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
class Itr : Iterator<String> by ArrayList<String>().iterator()
|
||||
class MItr : MutableIterator<String> by ArrayList<String>().iterator()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
abstract class Itr : Iterator<String>
|
||||
abstract class MItr : MutableIterator<String>
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
|
||||
class Itr : Iterator<String> by ArrayList<String>().iterator()
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
class Itr : Iterator<String> by ArrayList<String>().iterator()
|
||||
class MItr : MutableIterator<String> by ArrayList<String>().iterator()
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
|
||||
class Itr : Iterator<String> by ArrayList<String>().iterator()
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
|
||||
class Itr : Iterator<String> by ArrayList<String>().iterator()
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
fun unsupported(): Nothing = throw UnsupportedOperationException()
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
fun foo() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user