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: Enable when JS backend gets support of Java class library
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun ok(b: Boolean) = if (b) "OK" else "Fail"
fun box(): String {
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun check(expected: String, obj: Any?) {
val actual = obj.toString()
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun box(): String {
val f = fun (s: String): String = s
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// FILE: JavaClass.java
@@ -1,5 +1,5 @@
//KT-3190 Compiler crash if function called 'invoke' calls a closure
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// JS backend does not allow to implement Function{N} interfaces
fun box(): String {
@@ -1,5 +1,5 @@
//KT-3822 Compiler crashes when use invoke convention with `this` in class which extends Function0<T>
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// JS backend does not allow to implement Function{N} interfaces
class B() : Function0<Boolean> {
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
interface MyIterator<T> {
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
public class RunnableFunctionWrapper(val f : () -> Unit) : Runnable {
public override fun run() {
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
var result = "Fail"
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class It(val id: String)