Automatically mute failed tests

This commit is contained in:
Zalim Bashorov
2016-11-03 22:32:10 +03:00
parent a35a1f6f5a
commit 596f3364c6
957 changed files with 2871 additions and 0 deletions
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun box(): String {
OUTER@while (true) {
var x = ""
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
import java.util.Arrays
fun foo(): List<String>? = Arrays.asList("abcde")
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
class It {
var hasNext = true
operator fun hasNext() = if (hasNext) {hasNext = false; true} else false
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun box() : String {
var sum : Int = 0
var i = 0
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun main(args: Array<String>?) {
val y: Unit = Unit //do not compile
A<Unit>() //do not compile
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// WITH_RUNTIME
// FULL_JDK
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun nil() = null
fun list() = java.util.Arrays.asList("1")
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
import java.util.*
class A() {
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
package w_range
fun box() : String {
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
class A(var value: String)
fun box(): String {
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
class A(var value: String)
fun box(): String {
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
class A(var value: String)
fun box(): String {
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun testOr(b: Boolean): Boolean {
return b || return !b;
}
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun box(): String {
var cycle = true;
while (true) {
@@ -1,3 +1,6 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun foo(b: Byte, s: String, i: Int, d: Double, li: Long): String = "$b $s $i $d $li"
fun box(): String {