TestRunner support in test's build.gradle

* Fixes to tests
 * RunKonanTest runs tests build with TestRunner
 * Standalone tests
This commit is contained in:
Pavel Punegov
2017-10-16 11:45:50 +03:00
parent 9d077d7f4f
commit 35505007d2
29 changed files with 149 additions and 72 deletions
@@ -1,3 +1,3 @@
package codegen.propertyCallableReference.linkTest.a
package a
class A(val x: Int)
@@ -1,10 +1,6 @@
package codegen.propertyCallableReference.linkTest_main
import a.A
import kotlin.test.*
import codegen.propertyCallableReference.linkTest.a.A
@Test fun runTest() {
fun main(args: Array<String>) {
val p1 = A::x
println(p1.get(A(42)))
val a = A(117)