Rename: Support automatic test renaming for facade files

#KT-10578 Fixed
(cherry picked from commit 35050f4)
This commit is contained in:
Alexey Sedunov
2016-06-22 13:54:56 +03:00
parent f9d28bf76d
commit 7a584e876b
8 changed files with 73 additions and 5 deletions
@@ -0,0 +1,16 @@
package test
import org.junit.Test
import org.junit.Assert.*
class BarKtTest {
@Test
fun foo1() {
}
@Test
fun foo2() {
}
}
@@ -0,0 +1,9 @@
package test
fun foo1() {
}
fun foo2() {
}
@@ -0,0 +1,7 @@
{
"type": "FILE",
"file": "foo.kt",
"newName": "bar.kt",
"withRuntime": "true",
"libraries": ["JUnit@lib/junit-4.12.jar"]
}
@@ -0,0 +1,16 @@
package test
import org.junit.Test
import org.junit.Assert.*
class FooKtTest {
@Test
fun foo1() {
}
@Test
fun foo2() {
}
}
@@ -0,0 +1,9 @@
package test
fun foo1() {
}
fun foo2() {
}