BC native tests port to Konan's TestRunner
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import foo.bar.*
|
||||
package serialization.deserialize_members
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
import kotlin.test.*
|
||||
|
||||
import serialization.serialize_members.*
|
||||
|
||||
@Test fun runTest() {
|
||||
val c = C()
|
||||
val d = C.D()
|
||||
val e = C.D.E()
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
package serialization.deserialized_inline0
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
|
||||
fun inline_todo() {
|
||||
try {
|
||||
@@ -28,7 +32,7 @@ fun inline_areEqual() {
|
||||
println(konan.internal.areEqual(b, b))
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
@Test fun runTest() {
|
||||
inline_todo()
|
||||
inline_assert()
|
||||
inline_maxof()
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
package serialization.deserialized_listof0
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
fun test_arrayList() {
|
||||
val l = listOf(1, 2, 3)
|
||||
@@ -20,7 +23,7 @@ fun test_arrayList3() {
|
||||
println(n)
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
@Test fun runTest() {
|
||||
test_arrayList()
|
||||
test_arrayList2<Int>(5, 6, 7)
|
||||
test_arrayList2<String>("a", "b", "c")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package foo.bar
|
||||
package serialization.serialize_members
|
||||
|
||||
class R<T> {
|
||||
inline fun bar(t: T) {
|
||||
|
||||
Reference in New Issue
Block a user