Convert RenameTest to light fixture test case
Extract multi-module rename test to a separate class.
This commit is contained in:
Vendored
-11
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
package foo
|
||||
|
||||
fun test()
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
package foo
|
||||
|
||||
fun test()
|
||||
Vendored
-11
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
package foo
|
||||
|
||||
fun test()
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
package foo
|
||||
|
||||
fun test()
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"type": "FILE",
|
||||
"file": "A/notSrc/test.kt",
|
||||
"newName": "test2.kt",
|
||||
"isMultiModule": "true"
|
||||
}
|
||||
@@ -3,5 +3,6 @@
|
||||
"classId": "/A",
|
||||
"oldName": "equals",
|
||||
"newName": "foo",
|
||||
"mainFile": "equals.kt"
|
||||
"mainFile": "equals.kt",
|
||||
"skipSubstitute": true
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package testing.rename
|
||||
|
||||
public open class C {
|
||||
@JvmStatic var <caret> second = 1
|
||||
@JvmStatic var second = 1
|
||||
}
|
||||
Reference in New Issue
Block a user