Make some tests JVM only

This commit is contained in:
Ilya Gorbunov
2016-11-17 00:13:18 +03:00
parent 38840bb529
commit 0899a0fdda
38 changed files with 52 additions and 523 deletions
@@ -1,5 +1,4 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// TARGET_BACKEND: JVM
import java.util.ArrayList
@@ -1,3 +1,5 @@
// TARGET_BACKEND: JVM
import java.util.AbstractList
class A : AbstractList<String>() {
@@ -1,5 +1,4 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// TARGET_BACKEND: JVM
import java.util.AbstractMap
import java.util.Collections
@@ -1,5 +1,4 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// TARGET_BACKEND: JVM
// FILE: Test.java
@@ -1,13 +1,11 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
import java.util.Collections
// TARGET_BACKEND: JVM
// WITH_RUNTIME
class A<U : Number, V : U, W : V> : Set<W> {
override val size: Int get() = 0
override fun isEmpty(): Boolean = true
override fun contains(o: W): Boolean = false
override fun iterator(): Iterator<W> = Collections.emptySet<W>().iterator()
override fun iterator(): Iterator<W> = emptySet<W>().iterator()
override fun containsAll(c: Collection<W>): Boolean = c.isEmpty()
}