TestRunner support in test's build.gradle
* Fixes to tests * RunKonanTest runs tests build with TestRunner * Standalone tests
This commit is contained in:
@@ -45,6 +45,6 @@ class A: ABase() { // implicit label @A
|
||||
|
||||
fun box() = A().B().bar(D())
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
@Test fun runTest() {
|
||||
println(box())
|
||||
}
|
||||
|
||||
@@ -19,6 +19,6 @@ class Outer(val x: Int) {
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
@Test fun runTest() {
|
||||
Outer(42).Inner().InnerInner("zzz")
|
||||
}
|
||||
|
||||
@@ -12,6 +12,6 @@ open class Outer(val outer: String) {
|
||||
|
||||
fun box() = Outer("Fail").value()
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
@Test fun runTest() {
|
||||
println(box())
|
||||
}
|
||||
Reference in New Issue
Block a user