Mute tests with standard collection extensions in native

This commit is contained in:
Ilya Matveev
2017-03-09 16:49:39 +03:00
committed by ilmat192
parent 29e5ad5abe
commit eda43c8b45
16 changed files with 24 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
open class BaseStringList: ArrayList<String>() {
}
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
class StrList : List<String?> {
override val size: Int
get() = throw UnsupportedOperationException()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME
class Itr : Iterator<String> by ArrayList<String>().iterator()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME
class Itr : Iterator<String> by ArrayList<String>().iterator()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME
class Itr : Iterator<String> by ArrayList<String>().iterator()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME
class Itr : Iterator<String> by ArrayList<String>().iterator()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME
class Itr : Iterator<String> by ArrayList<String>().iterator()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME
class Itr : Iterator<String> by ArrayList<String>().iterator()
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
interface A : Set<String>
class B : A, HashSet<String>()
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
class IntArrayList(): ArrayList<Int>() {
override fun get(index: Int): Int = super.get(index)
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
interface Container {
fun removeAt(x: Int): String
}
+2
View File
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
class A : Map<String, String> {
override val size: Int get() = 56
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
var result = ""
public abstract class AbstractFoo<K, V> : Map<K, V> {
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
open class A0<E> : MutableList<E> {
override fun add(element: E): Boolean {
throw UnsupportedOperationException()
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
class N() : ArrayList<Any>() {
override fun add(el: Any) : Boolean {
if (!super<ArrayList>.add(el)) {