TestRunner support in test's build.gradle
* Fixes to tests * RunKonanTest runs tests build with TestRunner * Standalone tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package codegen.enum.linkTest.a
|
||||
package a
|
||||
|
||||
enum class A(val x: Int) {
|
||||
Z1(42),
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
package codegen.enum.linkTest_main
|
||||
import a.*
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
import codegen.enum.linkTest.a.*
|
||||
|
||||
@Test fun runTest() {
|
||||
fun main(args: Array<String>) {
|
||||
println(A.Z1.x)
|
||||
println(A.valueOf("Z2").x)
|
||||
println(A.values()[2].x)
|
||||
|
||||
Reference in New Issue
Block a user