[FIR] Disable failing blackbox codegen tests for FIR.

This commit is contained in:
Mark Punzalan
2019-11-18 14:35:02 -08:00
committed by Mikhail Glukhikh
parent fc9ccafb84
commit 9df2f69f09
4019 changed files with 4042 additions and 22 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// FILE: CompanionInitialization.java
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class C() {
companion object {
fun create() = C()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun Any.foo() = 1
class A {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR
var global = 0;
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A() {
companion object {
val value = 10
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// EA-38323 - Illegal field modifiers in class: classObject field in C must be static and final
interface C {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
companion object {
fun values() = "O"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TODO: Enable for JS when it supports Java class library.
// TARGET_BACKEND: JVM
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class C() {
companion object {
private fun <T> create() = C()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class Test {
companion object {
fun testStatic(ic: InnerClass): NotInnerClass = NotInnerClass(ic.value)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
private val p: Int
get() = 4
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(val x: String) {
constructor(`in`: String, y: String) : this(`in` + y)
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface Trait1 {
fun foo() : String
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface One {
public open fun foo() : Int
public open fun faz() : Int = 10
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface First {
public open fun foo() : Int
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface A<T> {
fun foo(t: T): String
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface A<T: Number> {
fun foo(t: T): String
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface A<T, U> {
fun foo(t: T, u: U): String
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS, NATIVE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package test
interface TextField {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class C() {
companion object Foo
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// IGNORE_BACKEND: NATIVE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// Changed when traits were introduced. May not make sense any more
open class X(val x : Int) {}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer() {
open inner class InnerBase() {
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class Foo {
fun xyzzy(): String = "xyzzy"
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class C() {
public var f: Int
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
class World() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer(val value: String) {
inner class Inner {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(val value: String) {
inner class B(val s: String) {
val result = value + "_" + s
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(val value: String) {
inner class B(val s: String) {
val result = value + "_" + s
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class C(val value: String = "C") {
inner class B(val s: String) {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A() {
open inner class InnerA
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(val s: String) {
open inner class B(val s: String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(val s: String) {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
class Outer(val foo: StringBuilder) {
inner class Inner() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FILE: CompanionInitialization.java
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
public class StockMarketTableModel() {
public fun getColumnCount() : Int {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// Won't ever work with JS backend.
// TODO: Consider rewriting this test without using threads, since the issue is not about threads at all.
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TODO: Enable when JS backend supports Java class library
// TARGET_BACKEND: JVM
public class SomeClass() : java.lang.Object() {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
public object SomeClass {
private val work = object : Runnable {
override fun run() {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun f(a : Int?, b : Int.(Int)->Int) = a?.b(1)
fun box(): String {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface Creator<T> {
fun create() : T
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class MyClass(var fnc : () -> String) {
fun test(): String {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: Enable when JS backend supports Java class library, since FunctionX are required for interoperation
// IGNORE_BACKEND: JS
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
data class Pair<First, Second>(val first: First, val second: Second)
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box() : String {
var i = 0
{
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
return Foo().doBar("OK")
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class T(val f : () -> Any?) {
fun call() : Any? = f()
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Foo(
var state : Int,
val f : (Int) -> Int){
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Greeter(var name : String) {
fun greet() {
name = name.plus("")
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class MyList<T>() {
var value: T? = null
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Bar {
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
public val f : ()->String = {"OK"}
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
public inline fun Int.times(body : () -> Unit) {
var count = this;
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface A {
fun foo(): Int
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
companion object {
val b = 0
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class JsonObject() {
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
public interface LoggerAware {
public val logger: StringBuilder
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
import java.util.AbstractList
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
fun box() : String{
val set = HashSet<String>()
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package test
interface A {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box() = Class().printSome()
public abstract class AbstractClass<T> {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package foo
interface B {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
open fun foo() = "OK"
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
open val foo: String = "OK"
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box() : String {
val o = object {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package example2
fun box() = Context.OsType.OK.toString()
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class Factory(p: Int)
class A {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface Trait {
fun foo() = "O"
fun bar(): String
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface A {
val result: String
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class KeySpan(val left: String) {
public fun matches(value : String) : Boolean {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface A {
fun foo(): Int
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
fun launch(f : () -> Unit) {
f()
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface A {
fun test(): String
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class MyNumber(val i: Int) {
operator fun inc(): MyNumber = MyNumber(i+1)
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Reluctant() {
init {
throw Exception("I'm not coming out")
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package mult_constructors_3_bug
public open class Identifier() {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
operator fun <K, V> MutableMap<K, V>.set(key : K, value : V) = put(key, value)
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun test1(str: String): String {
data class A(val x: Int) {
fun foo() = str
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface Id<T> {
val id: T
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class mInt(val i : Int) {
override fun toString() : String = "mint: $i"
operator fun plus(i : Int) = mInt(this.i + i)
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
public class CalculatorConstants(
val id: Long = 0,
val detour: Double = 0.0,
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS, NATIVE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
operator fun Int?.inc() = this!!.inc()
public fun box() : String {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun testFun1(str: String): String {
val capture = str
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
operator fun Int.plus(a: Int?) = this + a!!
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
fun box() : String {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
class Nested {
fun fn(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class C() {
companion object Foo {
fun create() = 3
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer() {
inner class Inner() {
val outer: Outer get() = this@Outer
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
class ArrayWrapper<T>() {
val contents = ArrayList<T>()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
class ArrayWrapper<T>() {
val contents = ArrayList<T>()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
class ArrayWrapper<T>() {
val contents = ArrayList<T>()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
class ArrayWrapper<T>() {
val contents = ArrayList<T>()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
class ArrayWrapper<T>() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class C {
private fun String.ext() : String = ""
private fun f() {}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class C{
private var v : Int = 0
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A<in I>(init_o: I, private val init_k: I) {
private val o: I = init_o
private fun k(): I = init_k

Some files were not shown because too many files have changed in this diff Show More