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,14 @@
|
||||
//file
|
||||
package a.b;
|
||||
|
||||
class Base {
|
||||
void foo(){}
|
||||
}
|
||||
|
||||
class A extends Base {
|
||||
class C {
|
||||
void test() {
|
||||
A.super.foo();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package a.b
|
||||
|
||||
open class Base {
|
||||
fun foo() {
|
||||
}
|
||||
}
|
||||
|
||||
class A : Base() {
|
||||
inner class C {
|
||||
fun test() {
|
||||
super@A.foo()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class B {
|
||||
B(int i) {}
|
||||
int call() {return 1;}
|
||||
}
|
||||
|
||||
class A extends B {
|
||||
A() {
|
||||
super(10);
|
||||
}
|
||||
|
||||
int call() { return super.call(); }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
open class B(i: Int) {
|
||||
open fun call(): Int {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
class A : B(10) {
|
||||
|
||||
override fun call(): Int {
|
||||
return super.call()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
//statement
|
||||
super.call();
|
||||
@@ -0,0 +1 @@
|
||||
super.call()
|
||||
Reference in New Issue
Block a user