j2k: flatten test cases and testData directory structure
Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
//file
|
||||
class Test {
|
||||
void test() {
|
||||
char c1 = 'c';
|
||||
Character c2 = 'C';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
fun test() {
|
||||
val c1 = 'c'
|
||||
val c2 = 'C'
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
//file
|
||||
package demo;
|
||||
|
||||
class Test {
|
||||
void test() {
|
||||
String name = "$$$$";
|
||||
name = name.replaceAll("\\$[0-9]+", "\\$")
|
||||
|
||||
char c = '$';
|
||||
System.out.println(c);
|
||||
|
||||
Character C = '$';
|
||||
System.out.println(C);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package demo
|
||||
|
||||
class Test {
|
||||
fun test() {
|
||||
var name = "$$$$"
|
||||
name = name.replaceAll("\\$[0-9]+", "\\$")
|
||||
|
||||
val c = '$'
|
||||
System.out.println(c)
|
||||
|
||||
val C = '$'
|
||||
System.out.println(C)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
//file
|
||||
class Test {
|
||||
void test() {
|
||||
long l1 = 10L;
|
||||
double d1 = 10.0D;
|
||||
float f1 = 10.0F;
|
||||
|
||||
long l2 = 10l;
|
||||
double d2 = 10.0d;
|
||||
float f2 = 10.0f;
|
||||
}
|
||||
|
||||
void testBoxed() {
|
||||
Long l1 = 10L;
|
||||
Double d1 = 10.0D;
|
||||
Float f1 = 10.0F;
|
||||
|
||||
Long l2 = 10l;
|
||||
Double d2 = 10.0d;
|
||||
Float f2 = 10.0f;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
class Test {
|
||||
fun test() {
|
||||
val l1 = 10
|
||||
val d1 = 10.0
|
||||
val f1 = 10.0.toFloat()
|
||||
|
||||
val l2 = 10
|
||||
val d2 = 10.0
|
||||
val f2 = 10.0.toFloat()
|
||||
}
|
||||
|
||||
fun testBoxed() {
|
||||
val l1 = 10
|
||||
val d1 = 10.0
|
||||
val f1 = 10.0.toFloat()
|
||||
|
||||
val l2 = 10
|
||||
val d2 = 10.0
|
||||
val f2 = 10.0.toFloat()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
//file
|
||||
class Test {
|
||||
void test() {
|
||||
int i1 = 0x21;
|
||||
Int i2 = 0x33;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
fun test() {
|
||||
val i1 = 33
|
||||
val i2 = 51
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
//file
|
||||
class Test {
|
||||
void test() {
|
||||
int i1 = 045;
|
||||
Int i2 = 032;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
fun test() {
|
||||
val i1 = 37
|
||||
val i2 = 26
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
//file
|
||||
class Test {
|
||||
void test() {
|
||||
boolean t1 = true;
|
||||
Boolean t2 = true;
|
||||
|
||||
boolean f1 = false;
|
||||
Boolean f2 = false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
fun test() {
|
||||
val t1 = true
|
||||
val t2 = true
|
||||
|
||||
val f1 = false
|
||||
val f2 = false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user