JS IR: unmute tests

This commit is contained in:
Anton Bannykh
2018-06-20 17:41:09 +03:00
parent 6df9919eba
commit 04a2ffc0c1
40 changed files with 0 additions and 40 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class C(val value: String = "C") { class C(val value: String = "C") {
inner class B(val s: String) { inner class B(val s: String) {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
interface Creator<T> { interface Creator<T> {
fun create() : T fun create() : T
} }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
data class A(val a: Int = 1, val b: String = "$a") {} data class A(val a: Int = 1, val b: String = "$a") {}
fun box() : String { fun box() : String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
data class A(val arg: Any? = null) data class A(val arg: Any? = null)
fun box() : String { fun box() : String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
annotation class A(val a: Int = 0) annotation class A(val a: Int = 0)
@A fun test1() = 1 @A fun test1() = 1
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
annotation class Anno(val x: Array<String> = emptyArray()) annotation class Anno(val x: Array<String> = emptyArray())
@Anno fun test1() = 1 @Anno fun test1() = 1
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A(val a: Int = 0) class A(val a: Int = 0)
fun box(): String { fun box(): String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A(val a: Int = 0, val b: String = "a") class A(val a: Int = 0, val b: String = "a")
fun box(): String { fun box(): String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class Foo private constructor(val param: String = "OK") { class Foo private constructor(val param: String = "OK") {
companion object { companion object {
val s = Foo() val s = Foo()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var state: String = "Fail" var state: String = "Fail"
class A private constructor(x: String = "OK") { class A private constructor(x: String = "OK") {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var state: String = "Fail" var state: String = "Fail"
class A { class A {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
import kotlin.reflect.KProperty import kotlin.reflect.KProperty
class Delegate { class Delegate {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A( class A(
val i : Int, val i : Int,
val j : Int = i val j : Int = i
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// KT-3581 // KT-3581
open class A(val result: String = "OK") { open class A(val result: String = "OK") {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A( class A(
val a: String = object { val a: String = object {
override fun toString(): String = "OK" override fun toString(): String = "OK"
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A( class A(
val a: String = { val a: String = {
open class B() { open class B() {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// See also KT-6299 // See also KT-6299
public open class Outer private constructor(val s: String, val f: Boolean = true) { public open class Outer private constructor(val s: String, val f: Boolean = true) {
class Inner: Outer("xyz") class Inner: Outer("xyz")
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// See also KT-6299 // See also KT-6299
public open class Outer private constructor(val x: Int = 0) { public open class Outer private constructor(val x: Int = 0) {
class Inner: Outer() class Inner: Outer()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// See also KT-6299 // See also KT-6299
public open class Outer private constructor(val p: Outer?) { public open class Outer private constructor(val p: Outer?) {
object First: Outer(null) object First: Outer(null)
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// FILE: Outer.kt // FILE: Outer.kt
package another package another
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(val result: String) { open class A(val result: String) {
constructor(x: Int = 11, y: Int = 22, z: Int = 33) : this("$x$y$z") constructor(x: Int = 11, y: Int = 22, z: Int = 33) : this("$x$y$z")
} }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(val result: String) { open class A(val result: String) {
constructor(x: Int, y: Int = 99) : this("$x$y") constructor(x: Int, y: Int = 99) : this("$x$y")
} }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(val x: String = "abc", val y: String = "efg") { open class A(val x: String = "abc", val y: String = "efg") {
constructor(x: String, y: String, z: Int): this(x, y + "#" + z.toString()) constructor(x: String, y: String, z: Int): this(x, y + "#" + z.toString())
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var global = 0 var global = 0
fun sideEffect() = global++ fun sideEffect() = global++
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A(val s: String = "FAIL") class A(val s: String = "FAIL")
private fun foo(a: A?, aOther: A?): A { private fun foo(a: A?, aOther: A?): A {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
interface Option<out T> { interface Option<out T> {
val s: String val s: String
} }
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(private val s: String = "") { open class A(private val s: String = "") {
fun foo() = s fun foo() = s
} }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// FILE: 1.kt // FILE: 1.kt
package test package test
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1117 // EXPECTED_REACHABLE_NODES: 1117
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1112 // EXPECTED_REACHABLE_NODES: 1112
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1117 // EXPECTED_REACHABLE_NODES: 1117
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1121 // EXPECTED_REACHABLE_NODES: 1121
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1124 // EXPECTED_REACHABLE_NODES: 1124
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1118 // EXPECTED_REACHABLE_NODES: 1118
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1113 // EXPECTED_REACHABLE_NODES: 1113
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1150 // EXPECTED_REACHABLE_NODES: 1150
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1118 // EXPECTED_REACHABLE_NODES: 1118
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1119 // EXPECTED_REACHABLE_NODES: 1119
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1123 // EXPECTED_REACHABLE_NODES: 1123
package foo package foo
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1118 // EXPECTED_REACHABLE_NODES: 1118
package foo package foo