Move: Convert AbstractMoveTest to light fixture test case
Extract multi-module move test to a separate class
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
<?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" />
|
||||
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||
<orderEntry type="module" module-name="B" />
|
||||
</component>
|
||||
</module>
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package packA1
|
||||
|
||||
import packA2.InternalContentUser
|
||||
|
||||
class <caret>InternalContent {
|
||||
internal fun internalFun() {}
|
||||
|
||||
fun useInternalInside() {
|
||||
internalFun()
|
||||
}
|
||||
|
||||
fun useInternal() {
|
||||
InternalContentUser().internalFun()
|
||||
}
|
||||
}
|
||||
|
||||
class More
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package packA2
|
||||
|
||||
import packA1.InternalContent
|
||||
|
||||
class InternalContentUser {
|
||||
fun useInternal(p: InternalContent) = p.internalFun()
|
||||
|
||||
internal fun internalFun() {
|
||||
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
<?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" />
|
||||
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
This file is needed to ensure that containing directory is under version control
|
||||
Reference in New Issue
Block a user