[JS IR BE] Unmute passed tests

This commit is contained in:
Svyatoslav Kuzmich
2019-05-05 18:59:24 +03:00
parent 331625a9bb
commit 0de1242f68
16 changed files with 1 additions and 20 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class StrList : List<String?> { class StrList : List<String?> {
override val size: Int override val size: Int
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var res = "" var res = ""
fun getM(): String { fun getM(): String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME // WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME // KJS_WITH_FULL_RUNTIME
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS
private object NotEmptyMap : MutableMap<Any, Int> { private object NotEmptyMap : MutableMap<Any, Int> {
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS
private object EmptyList : List<Nothing> { private object EmptyList : List<Nothing> {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
private object EmptyMap : Map<Any, Nothing> { private object EmptyMap : Map<Any, Nothing> {
override val size: Int get() = 0 override val size: Int get() = 0
override fun isEmpty(): Boolean = true override fun isEmpty(): Boolean = true
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
private object EmptyStringMap : Map<String, Nothing> { private object EmptyStringMap : Map<String, Nothing> {
override val size: Int get() = 0 override val size: Int get() = 0
override fun isEmpty(): Boolean = true override fun isEmpty(): Boolean = true
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class CustomException : Throwable { class CustomException : Throwable {
constructor(message: String?, cause: Throwable?) : super(message, cause) constructor(message: String?, cause: Throwable?) : super(message, cause)
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS
private object NotEmptyList : MutableList<Any> { private object NotEmptyList : MutableList<Any> {
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS
private object NotEmptyMap : MutableMap<Any, Any> { private object NotEmptyMap : MutableMap<Any, Any> {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun box(): String { fun box(): String {
try { try {
throw Throwable("OK", null) throw Throwable("OK", null)
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun box(): String { fun box(): String {
var t = Throwable("O", Throwable("K")) var t = Throwable("O", Throwable("K"))
if (t.message != "O" || t.cause?.message != "K") return "fail1" if (t.message != "O" || t.cause?.message != "K") return "fail1"
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS
// EXPECTED_REACHABLE_NODES: 1298 // EXPECTED_REACHABLE_NODES: 1298
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1298 // EXPECTED_REACHABLE_NODES: 1298
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// KJS_WITH_FULL_RUNTIME // KJS_WITH_FULL_RUNTIME
// EXPECTED_REACHABLE_NODES: 1519 // EXPECTED_REACHABLE_NODES: 1519
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// KJS_WITH_FULL_RUNTIME // KJS_WITH_FULL_RUNTIME
// EXPECTED_REACHABLE_NODES: 1519 // EXPECTED_REACHABLE_NODES: 1519
package foo package foo