Move: Convert AbstractMoveTest to light fixture test case
Extract multi-module move test to a separate class
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
<?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>
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package packJvm
|
||||
|
||||
class ClassUsageJvm {
|
||||
init {
|
||||
listOf("example")
|
||||
arrayOf("another")
|
||||
Pair(1, "2")
|
||||
}
|
||||
|
||||
companion object {
|
||||
@JvmStatic fun foo() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Foo
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
<?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>
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
package packJs
|
||||
|
||||
class <caret>ClassUsageJs {
|
||||
init {
|
||||
listOf("example")
|
||||
arrayOf("another")
|
||||
Pair(1, "2")
|
||||
}
|
||||
|
||||
@JsName("bar")
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class Foo
|
||||
Reference in New Issue
Block a user