JS: test kotlin-test as box tests, support nested, fix mpp

Support tests inside nested classes and companion objects (KT-21850
fixed).
Don't launch multiplatform tests twice (KT-21567 fixed).
This commit is contained in:
Anton Bannykh
2017-12-20 21:37:06 +03:00
parent 3bf8436895
commit 79359b7bc2
12 changed files with 483 additions and 14 deletions
+16
View File
@@ -0,0 +1,16 @@
// EXPECTED_REACHABLE_NODES: 1173
import kotlin.test.Test
class Simple {
@Test fun foo() {
call("foo")
}
}
fun box() = checkLog {
suite("Simple") {
test("foo") {
call("foo")
}
}
}