mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
This patch mutes the following test categories:
* Tests with java dependencies (System class,
java stdlib, jvm-oriented annotations etc).
* Coroutines tests.
* Reflection tests.
* Tests with an inheritance from the standard
collections.
16 lines
305 B
Kotlin
Vendored
16 lines
305 B
Kotlin
Vendored
// IGNORE_BACKEND: JS, NATIVE
|
|
// reason - multifile tests are not supported in JS tests
|
|
//FILE: JavaClass.java
|
|
|
|
class JavaClass {
|
|
public static Long get() { return 2364137526064485012L; }
|
|
}
|
|
|
|
//FILE: test.kt
|
|
|
|
import JavaClass
|
|
|
|
fun box(): String {
|
|
return if (JavaClass.get() > 0) "OK" else "fail"
|
|
}
|