Merge ReversedViews tests in one file as they can all run now in JS.

Make SynchronizedLazyValTest jvm-only.
This commit is contained in:
Ilya Gorbunov
2016-10-18 19:33:50 +03:00
parent badbcd08de
commit 8d76617094
3 changed files with 16 additions and 42 deletions
@@ -16,6 +16,7 @@ class LazyValTest {
}
}
@JvmVersion
class SynchronizedLazyValTest {
@Volatile var result = 0
val a by lazy(this) {
@@ -24,7 +25,7 @@ class SynchronizedLazyValTest {
@test fun doTest() {
synchronized(this) {
// thread { a } // not available in js // TODO: Make this test JVM-only
kotlin.concurrent.thread { a } // not available in js
result = 1
a
}