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,19 @@
|
||||
public class AAA {
|
||||
private int x = 42;
|
||||
|
||||
public int getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
public void setX(int x) {
|
||||
this.x = x;
|
||||
}
|
||||
|
||||
public void foo() {
|
||||
setX(getX() + 1);
|
||||
}
|
||||
|
||||
public void bar(B b) {
|
||||
System.out.println(b.getYY());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public class AAA {
|
||||
public var x: Int = 42
|
||||
|
||||
public fun foo() {
|
||||
x = x + 1
|
||||
}
|
||||
|
||||
public fun bar(b: B) {
|
||||
System.out.println(b.YY)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class B {
|
||||
void foo(AAA a) {
|
||||
a.setX(a.getX() + 1);
|
||||
y += "a";
|
||||
}
|
||||
|
||||
private String y = "";
|
||||
|
||||
public String getYY() {
|
||||
return y;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class B {
|
||||
fun foo(a: AAA) {
|
||||
a.x = a.x + 1
|
||||
YY += "a"
|
||||
}
|
||||
|
||||
public var YY: String = ""
|
||||
private set
|
||||
}
|
||||
Reference in New Issue
Block a user