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,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.catch3
import kotlin.test.*
@Test fun runTest() {
try {
println("Before")
throw Error("Error happens")
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.catch4
import kotlin.test.*
@Test fun runTest() {
try {
println("Before")
throw Error("Error happens")
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.catch5
import kotlin.test.*
@Test fun runTest() {
try {
try {
println("Before")
+4 -1
View File
@@ -1,5 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.catch6
import kotlin.test.*
@Test fun runTest() {
try {
println("Before")
foo()
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.catch8
import kotlin.test.*
@Test fun runTest() {
try {
throw Error("Error happens")
} catch (e: Throwable) {
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally1
import kotlin.test.*
@Test fun runTest() {
try {
println("Try")
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally10
import kotlin.test.*
@Test fun runTest() {
while (true) {
try {
continue
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally11
import kotlin.test.*
@Test fun runTest() {
try {
try {
return
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally2
import kotlin.test.*
@Test fun runTest() {
try {
println("Try")
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally3
import kotlin.test.*
@Test fun runTest() {
try {
try {
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally4
import kotlin.test.*
@Test fun runTest() {
try {
try {
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally5
import kotlin.test.*
@Test fun runTest() {
println(foo())
}
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally6
import kotlin.test.*
@Test fun runTest() {
println(foo())
}
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally7
import kotlin.test.*
@Test fun runTest() {
println(foo())
}
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally8
import kotlin.test.*
@Test fun runTest() {
println(foo())
}
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.finally9
import kotlin.test.*
@Test fun runTest() {
do {
try {
break
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.try1
import kotlin.test.*
@Test fun runTest() {
val x = try {
5
} catch (e: Throwable) {
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.try2
import kotlin.test.*
@Test fun runTest() {
val x = try {
throw Error()
5
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.try3
import kotlin.test.*
@Test fun runTest() {
val x = try {
throw Error()
} catch (e: Throwable) {
+5 -1
View File
@@ -1,4 +1,8 @@
fun main(args : Array<String>) {
package codegen.`try`.try4
import kotlin.test.*
@Test fun runTest() {
val x = try {
println("Try")
5