j2k: flatten test cases and testData directory structure

Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
This commit is contained in:
Alexander Udalov
2015-01-03 00:49:40 +03:00
parent ed2f123b54
commit 3c859caf2b
1137 changed files with 1417 additions and 1412 deletions
@@ -0,0 +1,2 @@
//statement
try { callMethod(params);} catch (Exception e) { println(1);} catch (IOException e) { println(0);} finally { println(3);}
@@ -0,0 +1,9 @@
try {
callMethod(params)
} catch (e: Exception) {
println(1)
} catch (e: IOException) {
println(0)
} finally {
println(3)
}
@@ -0,0 +1,13 @@
//file
import java.io.IOException;
class A {
void foo() {
try {
bar()
}
catch(RuntimeException | IOException e) {
e.printStackTrace(); // print stack trace
}
}
}
@@ -0,0 +1,15 @@
// ERROR: Unresolved reference: bar
import java.io.IOException
class A {
fun foo() {
try {
bar()
} catch (e: RuntimeException) {
e.printStackTrace() // print stack trace
} catch (e: IOException) {
e.printStackTrace()
}
}
}
@@ -0,0 +1,2 @@
//statement
try {} catch (Exception e) { println(1);} catch (IOException e) { println(0);} finally {}
@@ -0,0 +1,7 @@
try {
} catch (e: Exception) {
println(1)
} catch (e: IOException) {
println(0)
} finally {
}
@@ -0,0 +1,2 @@
//statement
try {} catch (Exception e) { println(1);} catch (IOException e) { println(0);} finally { println(3);}
@@ -0,0 +1,8 @@
try {
} catch (e: Exception) {
println(1)
} catch (e: IOException) {
println(0)
} finally {
println(3)
}
@@ -0,0 +1,2 @@
//statement
try {} catch (Exception e) { println(1);} catch (IOException e) { println(0);}
@@ -0,0 +1,6 @@
try {
} catch (e: Exception) {
println(1)
} catch (e: IOException) {
println(0)
}