Specify JVM target backend for test with java type inheritance

This commit is contained in:
Mikhael Bogdanov
2018-12-21 12:12:45 +01:00
parent 3c048d7f57
commit d76cb32781
14 changed files with 14 additions and 38 deletions
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
fun fn0() {} fun fn0() {}
fun fn1(x: Any) {} fun fn1(x: Any) {}
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
fun fn0() {} fun fn0() {}
fun fn1(x: Any) {} fun fn1(x: Any) {}
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
+1 -2
View File
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JS_IR
// TODO: Enable when JS backend supports Java class library // TODO: Enable when JS backend supports Java class library
// IGNORE_BACKEND: JS, NATIVE // TARGET_BACKEND: JVM
public class SomeClass() : java.lang.Object() { public class SomeClass() : java.lang.Object() {
} }
+1 -2
View File
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JS_IR
// TODO: Enable when JS backend supports Java class library // TODO: Enable when JS backend supports Java class library
// IGNORE_BACKEND: JS, NATIVE // TARGET_BACKEND: JVM
public open class Test(): java.util.RandomAccess, Cloneable, java.io.Serializable public open class Test(): java.util.RandomAccess, Cloneable, java.io.Serializable
{ {
public override fun clone(): Test = Test() // Override 'clone()' with more precise type 'Test' public override fun clone(): Test = Test() // Override 'clone()' with more precise type 'Test'
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// IGNORE_BACKEND: JS, NATIVE
// FULL_JDK // FULL_JDK
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// IGNORE_BACKEND: JS, NATIVE
// FULL_JDK // FULL_JDK
// WITH_RUNTIME // WITH_RUNTIME
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
class A(var value: String) class A(var value: String)
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
class A(var value: String) class A(var value: String)
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
class A(var value: String) class A(var value: String)
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// FULL_JDK // FULL_JDK
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// FULL_JDK // FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// FULL_JDK // FULL_JDK
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
class A1 : MutableCollection<String> { class A1 : MutableCollection<String> {
override val size: Int override val size: Int