BC native tests port to Konan's TestRunner

This commit is contained in:
Pavel Punegov
2017-10-11 15:09:33 +03:00
parent 9b07fd61ce
commit 9d077d7f4f
352 changed files with 1798 additions and 384 deletions
+5 -1
View File
@@ -1,3 +1,7 @@
package mangling.mangling
import kotlin.test.*
fun test_direct() {
val mutListInt = mutableListOf<Int>(1, 2, 3, 4)
val mutListNum = mutableListOf<Number>(9, 10, 11, 12)
@@ -28,7 +32,7 @@ fun test_multiple_constructors() {
mangle3(number)
}
fun main(args: Array<String>) {
@Test fun runTest() {
test_direct()
test_param()
test_multiple_constructors()
@@ -1,3 +1,5 @@
package mangling.mangling
public fun mangle1(l: List<Int>) {
println("Int direct $l")
}