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,15 @@
//file
import java.util.*;
public class ForEach {
public void test() {
ArrayList<Object> xs = new ArrayList<Object>();
List<Object> ys = new LinkedList<Object>();
for (Object x : xs) {
ys.add(x);
}
for (Object y : ys) {
xs.add(y);
}
}
}
@@ -0,0 +1,15 @@
// ERROR: Unresolved reference: LinkedList
import java.util.*
public class ForEach {
public fun test() {
val xs = ArrayList<Any>()
val ys = LinkedList<Any>()
for (x in xs) {
ys.add(x)
}
for (y in ys) {
xs.add(y)
}
}
}
@@ -0,0 +1,15 @@
//file
import java.util.*;
public class Lists {
public void test() {
List<Object> xs = new ArrayList<Object>();
List<Object> ys = new LinkedList<Object>();
ArrayList<Object> zs = new ArrayList<Object>();
xs.add(null);
ys.add(null);
xs.clear();
ys.clear();
zs.add(null);
}
}
+15
View File
@@ -0,0 +1,15 @@
// ERROR: Unresolved reference: LinkedList
import java.util.*
public class Lists {
public fun test() {
val xs = ArrayList<Any>()
val ys = LinkedList<Any>()
val zs = ArrayList<Any>()
xs.add(null)
ys.add(null)
xs.clear()
ys.clear()
zs.add(null)
}
}