backend/tests: Ignore all tests with IGNORE_BACKEND: JS directive

This commit is contained in:
Ilya Matveev
2017-01-19 14:06:38 +03:00
parent 89a74c0591
commit 2ef49da2fe
819 changed files with 819 additions and 819 deletions
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// KT-5665 // KT-5665
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FILE: Test.java // FILE: Test.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FILE: Test.java // FILE: Test.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FILE: JavaClass.java // FILE: JavaClass.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// FILE: JavaClass.java // FILE: JavaClass.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun test(a: String, b: String): String { fun test(a: String, b: String): String {
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
var invokeOrder = ""; var invokeOrder = "";
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
var invokeOrder = ""; var invokeOrder = "";
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
var invokeOrder: String = "" var invokeOrder: String = ""
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
var invokeOrder = ""; var invokeOrder = "";
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
return Z().test() return Z().test()
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
var res = ""; var res = "";
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
var res = ""; var res = "";
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
//test [], get and iterator calls //test [], get and iterator calls
fun test(createIntNotLong: Boolean): String { fun test(createIntNotLong: Boolean): String {
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun foo(x: Cloneable) = x fun foo(x: Cloneable) = x
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
val a = ByteArray(5) val a = ByteArray(5)
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
val a = LongArray(5) val a = LongArray(5)
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun iarr(vararg a : Int) = a fun iarr(vararg a : Int) = a
fun <T> array(vararg a : T) = a fun <T> array(vararg a : T) = a
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun test(b: Boolean): String { fun test(b: Boolean): String {
val a = if (b) IntArray(5) else LongArray(5) val a = if (b) IntArray(5) else LongArray(5)
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun testArray() { fun testArray() {
Array<String>(5) { i -> Array<String>(5) { i ->
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// reason - multifile tests are not supported in JS tests // reason - multifile tests are not supported in JS tests
//FILE: Holder.java //FILE: Holder.java
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// reason - multifile tests are not supported in JS tests // reason - multifile tests are not supported in JS tests
//FILE: JavaClass.java //FILE: JavaClass.java
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// reason - no ArithmeticException in JS // reason - no ArithmeticException in JS
fun box(): String { fun box(): String {
val a1 = 0 val a1 = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyCollection<T>: Collection<T> { class MyCollection<T>: Collection<T> {
override val size: Int get() = 0 override val size: Int get() = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyIterator<T>(val v: T): Iterator<T> { class MyIterator<T>(val v: T): Iterator<T> {
override fun next(): T = v override fun next(): T = v
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyIterator<T>(val v: T): Iterator<T> { class MyIterator<T>(val v: T): Iterator<T> {
override fun next(): T = v override fun next(): T = v
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyList<T>: List<T> { class MyList<T>: List<T> {
override val size: Int get() = 0 override val size: Int get() = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyListIterator<T> : ListIterator<T> { class MyListIterator<T> : ListIterator<T> {
override fun next(): T = null!! override fun next(): T = null!!
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyList<T>(val v: T): List<T> { class MyList<T>(val v: T): List<T> {
override val size: Int get() = 0 override val size: Int get() = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
open class Super<T>(val v: T) { open class Super<T>(val v: T) {
public fun add(e: T): Boolean = true public fun add(e: T): Boolean = true
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyMap<K, V>: Map<K, V> { class MyMap<K, V>: Map<K, V> {
override val size: Int get() = 0 override val size: Int get() = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyMapEntry<K, V>: Map.Entry<K, V> { class MyMapEntry<K, V>: Map.Entry<K, V> {
override fun hashCode(): Int = 0 override fun hashCode(): Int = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyMapEntry<K, V>: Map.Entry<K, V> { class MyMapEntry<K, V>: Map.Entry<K, V> {
override fun hashCode(): Int = 0 override fun hashCode(): Int = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyMap<K, V>: Map<K, V> { class MyMap<K, V>: Map<K, V> {
override val size: Int get() = 0 override val size: Int get() = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyList: List<String> { class MyList: List<String> {
override val size: Int get() = 0 override val size: Int get() = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
abstract class A : Iterator<String> { abstract class A : Iterator<String> {
abstract fun remove(): Unit abstract fun remove(): Unit
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// FULL_JDK // FULL_JDK
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
interface Addable { interface Addable {
fun add(s: String): Boolean = true fun add(s: String): Boolean = true
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
open class SetStringImpl { open class SetStringImpl {
fun add(s: String): Boolean = false fun add(s: String): Boolean = false
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyCollection<T> : Collection<List<Iterator<T>>> { class MyCollection<T> : Collection<List<Iterator<T>>> {
override fun iterator() = null!! override fun iterator() = null!!
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class MyIterator<E : Number> : Iterator<E> { class MyIterator<E : Number> : Iterator<E> {
override fun next() = null!! override fun next() = null!!
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// FILE: Test.java // FILE: Test.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// FILE: Test.java // FILE: Test.java
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
enum class E { enum class E {
A, B; A, B;
@@ -1,5 +1,5 @@
// TODO: investigate should it be ran for JS or not // TODO: investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// See https://youtrack.jetbrains.com/issue/KT-14938 // See https://youtrack.jetbrains.com/issue/KT-14938
// WITH_REFLECT // WITH_REFLECT
@@ -1,5 +1,5 @@
// TODO: investigate should it be ran for JS or not // TODO: investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
@@ -1,5 +1,5 @@
// TODO: investigate should it be ran for JS or not // TODO: investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
package test package test
@@ -1,5 +1,5 @@
// TODO: investigate should it be ran for JS or not // TODO: investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
@@ -1,5 +1,5 @@
// Enable when callable references to builtin members is supported // Enable when callable references to builtin members is supported
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
var state = 0 var state = 0
val name = (state++)::toString.name val name = (state++)::toString.name
@@ -1,5 +1,5 @@
// Enable when callable references to builtin members is supported // Enable when callable references to builtin members is supported
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun <T> get(t: T): () -> String { fun <T> get(t: T): () -> String {
return t::toString return t::toString
} }
@@ -1,5 +1,5 @@
//WITH_RUNTIME //WITH_RUNTIME
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
val a = intArrayOf(1, 2) val a = intArrayOf(1, 2)
val b = arrayOf("OK") val b = arrayOf("OK")
@@ -1,5 +1,5 @@
// Enable when callable references to builtin members is supported // Enable when callable references to builtin members is supported
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
val f = "KOTLIN"::get val f = "KOTLIN"::get
return "${f(1)}${f(0)}" return "${f(1)}${f(0)}"
@@ -1,5 +1,5 @@
// Enable when callable references to builtin members are supported. // Enable when callable references to builtin members are supported.
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
val f = "kotlin"::length val f = "kotlin"::length
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
if ((Boolean::not)(true) != false) return "Fail 1" if ((Boolean::not)(true) != false) return "Fail 1"
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
enum class E { enum class E {
ENTRY ENTRY
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class A class A
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// KT-5123 // KT-5123
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
fun OK() {} fun OK() {}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
private fun <T> upcast(value: T): T = value private fun <T> upcast(value: T): T = value
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
import kotlin.reflect.* import kotlin.reflect.*
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
class Test { class Test {
private var iv = 1 private var iv = 1
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// See KT-12337 Reference to property with invisible setter should not be a KMutableProperty // See KT-12337 Reference to property with invisible setter should not be a KMutableProperty
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun foo(x: Any) = x as Runnable fun foo(x: Any) = x as Runnable
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
if (check(1, { it as Int }) == "OK") return "fail 1" if (check(1, { it as Int }) == "OK") return "fail 1"
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun foo(x: Any) = x as? Runnable fun foo(x: Any) = x as? Runnable
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
if ((1 as? Int) == null) return "fail 1" if ((1 as? Int) == null) return "fail 1"
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// This is a big, ugly, semi-auto generated test. // This is a big, ugly, semi-auto generated test.
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun fn0() {} fun fn0() {}
fun fn1(x: Any) {} fun fn1(x: Any) {}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// This is a big, ugly, semi-auto generated test. // This is a big, ugly, semi-auto generated test.
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// FILE: JFun.java // FILE: JFun.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// This is a big, ugly, semi-auto generated test. // This is a big, ugly, semi-auto generated test.
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun fn0() {} fun fn0() {}
fun fn1(x: Any) {} fun fn1(x: Any) {}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// This is a big, ugly, semi-auto generated test. // This is a big, ugly, semi-auto generated test.
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME

Some files were not shown because too many files have changed in this diff Show More