Mute some box tests for native backend

This patch mutes the following test categories:
   * Tests with java dependencies (System class,
     java stdlib, jvm-oriented annotations etc).
   * Coroutines tests.
   * Reflection tests.
   * Tests with an inheritance from the standard
     collections.
This commit is contained in:
Ilya Matveev
2017-03-07 11:04:08 +03:00
committed by ilmat192
parent d21d362f0f
commit a5e4e0284e
896 changed files with 936 additions and 744 deletions
@@ -1,5 +1,5 @@
// TODO: Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class SomeClass { companion object }
fun box() =
+1 -1
View File
@@ -1,5 +1,5 @@
// Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class TestJava(r : Runnable) : Runnable by r {}
class TestRunnable() : Runnable {
+1 -1
View File
@@ -1,6 +1,6 @@
// Won't ever work with JS backend.
// TODO: Consider rewriting this test without using threads, since the issue is not about threads at all.
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
object RefreshQueue {
val any = Any()
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: Enable when JS backend supports Java class library
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
public class SomeClass() : java.lang.Object() {
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
public object SomeClass {
private val work = object : Runnable {
override fun run() {
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: Enable when JS backend supports Java class library
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
public open class Test(): java.util.RandomAccess, Cloneable, java.io.Serializable
{
public override fun clone(): Test = Test() // Override 'clone()' with more precise type 'Test'
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class List<T>(val head: T, val tail: List<T>? = null)
fun <T> List<T>.mapHead(f: (T)-> T): List<T> = List<T>(f(head), null)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
class C {
private fun String.ext() : String = ""
private fun f() {}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
class C{
private var v : Int = 0