Test for KT-4100 'Imports doesn't change after java interface name refactoring'

#KT-4100 Fixed
This commit is contained in:
Nikolay Krasko
2013-11-25 16:17:54 +04:00
parent 722118772a
commit 26d3168224
6 changed files with 40 additions and 0 deletions
@@ -0,0 +1,11 @@
package kotlin.testing
import testing.NewInterfaceName
class Some(s: NewInterfaceName) : NewInterfaceName() {
val test = s
fun testFun(param : NewInterfaceName) : NewInterfaceName {
return test;
}
}
@@ -0,0 +1,5 @@
package testing;
public interface NewInterfaceName {
}
@@ -0,0 +1,11 @@
package kotlin.testing
import testing.SomeInterface
class Some(s: SomeInterface) : SomeInterface() {
val test = s
fun testFun(param : SomeInterface) : SomeInterface {
return test;
}
}
@@ -0,0 +1,5 @@
package testing;
public interface SomeInterface {
}
@@ -0,0 +1,3 @@
// RENAME: JAVA_CLASS->testing.SomeInterface->NewInterfaceName
// For KT-4100 Imports doesn't change after java interface name refactoring