Added test with moving file used in Java to other package.

This commit is contained in:
Evgeny Gerashchenko
2015-03-31 18:11:46 +03:00
parent a4d2d6506c
commit 83f2a08708
9 changed files with 42 additions and 0 deletions
@@ -0,0 +1,8 @@
import newPackage.NewPackagePackage;
class JavaUsage {
public static void main(String[] args) {
NewPackagePackage.foo();
NewPackagePackage.getProp();
}
}
@@ -0,0 +1,6 @@
package newPackage
fun foo() {
}
var prop = ":)"
@@ -0,0 +1,8 @@
import oldPackage.OldPackagePackage;
class JavaUsage {
public static void main(String[] args) {
OldPackagePackage.foo();
OldPackagePackage.getProp();
}
}
@@ -0,0 +1,6 @@
package oldPackage
fun foo() {
}
var prop = ":)"
@@ -0,0 +1,5 @@
{
"mainFile": "oldPackage/stuff.kt",
"type": "MOVE_FILES",
"targetPackage": "newPackage"
}