New J2K: add multi-file conversion tests from old j2k

This commit is contained in:
Ilya Kirillov
2019-10-09 17:20:46 +03:00
parent f951ed9dba
commit 999918d499
60 changed files with 862 additions and 1 deletions
@@ -0,0 +1,13 @@
package test;
public class BaseOtherPackage {
protected BaseOtherPackage() {
}
protected void foo() {
}
protected int i = 1;
}
@@ -0,0 +1,6 @@
package test
open class BaseOtherPackage protected constructor() {
protected fun foo() {}
protected var i = 1
}
@@ -0,0 +1,11 @@
package test2;
import test.*;
public class DerivedOtherPackage extends BaseOtherPackage {
protected DerivedOtherPackage() {
super();
foo();
int i = this.i;
}
}
@@ -0,0 +1,10 @@
package test2
import test.BaseOtherPackage
class DerivedOtherPackage protected constructor() : BaseOtherPackage() {
init {
foo()
val i = i
}
}
@@ -0,0 +1,10 @@
package test3
import test.*
class DerivedOtherPackageKotlin : BaseOtherPackage() {
init {
foo()
val i = this.i
}
}
@@ -0,0 +1,10 @@
package test3
import test.*
class DerivedOtherPackageKotlin : BaseOtherPackage() {
init {
foo()
val i = this.i
}
}