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
+3 -3
View File
@@ -1,12 +1,12 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
package testeval
import java.util.*
import java.util.LinkedList
import java.util.Deque
interface Expression
class Num(val value : Int) : Expression
+2 -4
View File
@@ -1,17 +1,15 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
package pack
import java.util.ArrayList
import java.util.regex.Pattern
class C{
public fun foo(){
val items : Collection<Item> = java.util.Collections.singleton(Item())!!
val items : Collection<Item> = listOf(Item())
val result = ArrayList<Item>()
val pattern: Pattern? = Pattern.compile("...")
items.filterTo(result) {