Rewrite QuickFixMultiModuleTest to be generated
Adjust test data Drop 'overload' test data since it was never run before
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module js (JS)" "true"
|
||||
// "Create actual class for module testModule_JS (JS)" "true"
|
||||
|
||||
expect abstract class <caret>Abstract {
|
||||
fun foo(param: String): Int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module js (JS)" "true"
|
||||
// "Create actual class for module testModule_JS (JS)" "true"
|
||||
|
||||
expect abstract class Abstract {
|
||||
fun foo(param: String): Int
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// "Create actual annotation class for module jvm (JVM)" "true"
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect annotation class <caret>Ann(val x: Int, val y: String)
|
||||
@@ -1,3 +1,3 @@
|
||||
// "Create actual annotation class for module jvm (JVM)" "true"
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect annotation class Ann(val x: Int, val y: String)
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect class <caret>My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect class My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual enum class for module js (JS)" "true"
|
||||
// "Create actual enum class for module testModule_JS (JS)" "true"
|
||||
|
||||
expect enum class <caret>MyEnum {
|
||||
FIRST,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual enum class for module js (JS)" "true"
|
||||
// "Create actual enum class for module testModule_JS (JS)" "true"
|
||||
|
||||
expect enum class MyEnum {
|
||||
FIRST,
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
// "Create actual function for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect fun <caret>foo(arg: Int): String
|
||||
@@ -1,3 +1,3 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
// "Create actual function for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect fun foo(arg: Int): String
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
// "Create actual function for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect fun bar()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
// "Create actual function for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect fun bar()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual interface for module jvm (JVM)" "true"
|
||||
// "Create actual interface for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect interface <caret>Interface {
|
||||
fun foo(param: String): Int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual interface for module jvm (JVM)" "true"
|
||||
// "Create actual interface for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect interface Interface {
|
||||
fun foo(param: String): Int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect class <caret>WithNested {
|
||||
fun foo(): Int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect class WithNested {
|
||||
fun foo(): Int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual object for module jvm (JVM)" "true"
|
||||
// "Create actual object for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect object <caret>Object {
|
||||
fun foo(): String
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual object for module jvm (JVM)" "true"
|
||||
// "Create actual object for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect object Object {
|
||||
fun foo(): String
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
// "Create actual function for platform JVM" "true"
|
||||
|
||||
expect fun <caret>foo(arg: Int): String
|
||||
|
||||
expect fun foo(arg: String): String
|
||||
@@ -1,5 +0,0 @@
|
||||
// "Create actual function for platform JVM" "true"
|
||||
|
||||
expect fun foo(arg: Int): String
|
||||
|
||||
expect fun foo(arg: String): String
|
||||
@@ -1,3 +0,0 @@
|
||||
// foo: to be implemented
|
||||
|
||||
actual fun foo(arg: String) = arg
|
||||
@@ -1,7 +0,0 @@
|
||||
// foo: to be implemented
|
||||
|
||||
actual fun foo(arg: String) = arg
|
||||
|
||||
actual fun foo(arg: Int): String {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
package test.inner
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
package test.inner
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
package test.inner
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
package test.inner
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
package test.inner
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
package test.inner
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect class <caret>WithPrimaryConstructor(x: Int, s: String)
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// "Create actual class for module jvm (JVM)" "true"
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect class WithPrimaryConstructor(x: Int, s: String)
|
||||
@@ -1,3 +1,3 @@
|
||||
// "Create actual property for module jvm (JVM)" "true"
|
||||
// "Create actual property for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect var <caret>x: Int
|
||||
@@ -1,3 +1,3 @@
|
||||
// "Create actual property for module jvm (JVM)" "true"
|
||||
// "Create actual property for module testModule_JVM (JVM)" "true"
|
||||
|
||||
expect var x: Int
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module js (JS)" "true"
|
||||
// "Create actual class for module testModule_JS (JS)" "true"
|
||||
|
||||
expect sealed class <caret>Sealed {
|
||||
object Obj : Sealed
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module js (JS)" "true"
|
||||
// "Create actual class for module testModule_JS (JS)" "true"
|
||||
|
||||
expect sealed class Sealed {
|
||||
object Obj : Sealed
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module js (JS)" "true"
|
||||
// "Create actual class for module testModule_JS (JS)" "true"
|
||||
|
||||
expect sealed class Sealed
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module js (JS)" "true"
|
||||
// "Create actual class for module testModule_JS (JS)" "true"
|
||||
|
||||
expect sealed class Sealed
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Create actual function for module a_JVM (JVM)" "true"
|
||||
|
||||
expect fun <caret>foo(arg: Int): String
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Create actual function for module a_JVM (JVM)" "true"
|
||||
|
||||
expect fun foo(arg: Int): String
|
||||
@@ -1,3 +0,0 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
|
||||
expect fun <caret>foo(arg: Int): String
|
||||
@@ -1,3 +0,0 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
|
||||
expect fun foo(arg: Int): String
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create actual function for module a_JVM (JVM)" "true"
|
||||
// TEST
|
||||
|
||||
package test
|
||||
|
||||
expect fun <caret>testHelper()
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create actual function for module a_JVM (JVM)" "true"
|
||||
// TEST
|
||||
|
||||
package test
|
||||
|
||||
expect fun testHelper()
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
// TEST
|
||||
|
||||
package test
|
||||
|
||||
expect fun <caret>testHelper()
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
// TEST
|
||||
|
||||
package test
|
||||
|
||||
expect fun testHelper()
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Create actual function for module a_JVM (JVM)" "true"
|
||||
|
||||
expect fun <caret>testHelper()
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Create actual function for module a_JVM (JVM)" "true"
|
||||
|
||||
expect fun testHelper()
|
||||
@@ -1,3 +0,0 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
|
||||
expect fun <caret>testHelper()
|
||||
@@ -1,3 +0,0 @@
|
||||
// "Create actual function for module jvm (JVM)" "true"
|
||||
|
||||
expect fun testHelper()
|
||||
Reference in New Issue
Block a user