JS IR: mute codegen box tests automatically

This commit is contained in:
Anton Bannykh
2018-06-07 14:17:45 +03:00
parent 7e1713af44
commit 96355e2732
2384 changed files with 2384 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
interface A0 {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
open class Base<Target : DatabaseEntity>() : HashSet<Target>() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
private object EmptyMap : Map<Any, Nothing> {
override val size: Int get() = 0
override fun isEmpty(): Boolean = true
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
private object EmptyStringMap : Map<String, Nothing> {
override val size: Int get() = 0
override fun isEmpty(): Boolean = true
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
open class Map1 : HashMap<String, Any?>()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
interface Ordinaled {
val ordinal: Int
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class CustomException : Throwable {
constructor(message: String?, cause: Throwable?) : super(message, cause)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
class A : ArrayList<String>() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
interface Container {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
class A : Map<String, String> {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
var result = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
open class A1 {
open val size: Int = 56
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
open class A0<E> : MutableList<E> {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class MySet : HashSet<Int>() {
override fun remove(element: Int): Boolean {
return super.remove(element)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
try {
throw Throwable("OK", null)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
var t = Throwable("O", Throwable("K"))
if (t.message != "O" || t.cause?.message != "K") return "fail1"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class MyThrowable(message: String? = null, cause: Throwable? = null) : Throwable(message, cause) {
override val message: String?
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class MyThrowable : Throwable {
val x: String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
enum class Variants {
O, K;
companion object {