mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KTIJ-16167: migrate all "generate actual" test data to new naming schema with source set suffix
GitOrigin-RevId: 00438ab4697a6a777da706e551ed5b1b209420d1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9edf7dc5ff
commit
b89c2fd7cf
+2
-2
@@ -8,11 +8,11 @@ import org.junit.Test
|
||||
class GradleQuickFixTest : AbstractGradleMultiFileQuickFixTest() {
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.5.31+")
|
||||
fun testCreateActualForJs() = doMultiFileQuickFixTest()
|
||||
fun testCreateActualForJsAndJvm() = doMultiFileQuickFixTest()
|
||||
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.5.31+")
|
||||
fun testCreateActualForJsTest() = doMultiFileQuickFixTest()
|
||||
fun testCreateActualForJsAndJvmTest() = doMultiFileQuickFixTest()
|
||||
|
||||
@Test
|
||||
@PluginTargetVersions(pluginVersion = "1.5.31+")
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.mpp-bottom-actual.jsJvm18Main (Native (general)/JS/JVM (1.8))" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
// ACTION: Create subclass
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.mpp-bottom-actual.jsJvm18Main (Native (general)/JS/JVM (1.8))" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
// ACTION: Create subclass
|
||||
|
||||
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
// "Create actual function for module fullStackWebApplication.jsMain (JS)" "true"
|
||||
// ACTION: Convert function to property
|
||||
// ACTION: Create actual function for module fullStackWebApplication.jvmMain (JVM)
|
||||
// ERROR: Expected function 'isJs' has no actual declaration in module fullStackWebApplication.jvmMain for JVM
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun isJs(): Boolean
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
// "Create actual function for module fullStackWebApplication.jsMain (JS)" "true"
|
||||
// ACTION: Convert function to property
|
||||
// ACTION: Create actual function for module fullStackWebApplication.jvmMain (JVM)
|
||||
// ERROR: Expected function 'isJs' has no actual declaration in module fullStackWebApplication.jvmMain for JVM
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun i<caret>sJs(): Boolean
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun isJs(): Boolean
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun i<caret>sJs(): Boolean
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun isJs(): Boolean
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package my.project.pack
|
||||
|
||||
actual fun isJs(): Boolean {
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun i<caret>sJs(): Boolean
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
// "Create actual function for module fullStackWebApplication.jsTest (JS)" "true"
|
||||
// ACTION: Convert function to property
|
||||
// ACTION: Create actual function for module fullStackWebApplication.jvmTest (JVM)
|
||||
// ERROR: Expected function 'isJs' has no actual declaration in module fullStackWebApplication.jvmTest (test) for JVM
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun isJs(): Boolean
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
// "Create actual function for module fullStackWebApplication.jsTest (JS)" "true"
|
||||
// ACTION: Convert function to property
|
||||
// ACTION: Create actual function for module fullStackWebApplication.jvmTest (JVM)
|
||||
// ERROR: Expected function 'isJs' has no actual declaration in module fullStackWebApplication.jvmTest (test) for JVM
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun i<caret>sJs(): Boolean
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
// "Create actual function for module fullStackWebApplication.jvmMain (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun isJs(): Boolean
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package my.project.pack
|
||||
|
||||
actual fun isJs(): Boolean {
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
// "Create actual function for module fullStackWebApplication.jvmMain (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.project.pack
|
||||
|
||||
expect fun i<caret>sJs(): Boolean
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProject.jvmTest (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
|
||||
package my.project.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProject.jvmTest (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
|
||||
package my.project.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.jvmMain (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
|
||||
package my.test.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.jvmMain (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
|
||||
package my.test.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.jvmMain (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
|
||||
package my.test.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.jvmMain (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
|
||||
package my.test.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.mpp-bottom-actual.iosX64Main (Native)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
// ACTION: Create subclass
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.mpp-bottom-actual.iosX64Main (Native)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
// ACTION: Create subclass
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.mpp-bottom-actual.iosX64Main (Native)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
// ACTION: Create subclass
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testProjectName.mpp-bottom-actual.iosX64Main (Native)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert to secondary constructor
|
||||
// ACTION: Create subclass
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual function for module testProjectName.main (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual function for module testProjectName.main (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual function for module testProjectName.main (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual function for module testProjectName.main (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// ACTION: Convert function to property
|
||||
|
||||
package my.pack
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// SHOULD_FAIL_WITH: Cannot generate class: Type <Unknown> is not accessible from target module
|
||||
// DISABLE-ERRORS
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JS (JS)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect abstract class <caret>Abstract {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JS (JS)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect abstract class Abstract {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module proj_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module proj_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect annotation class <caret>Ann(val x: Int, val y: String)
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect annotation class Ann(val x: Int, val y: String)
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// TOOL: org.jetbrains.kotlin.idea.inspections.OptionalExpectationInspection
|
||||
|
||||
package kotlin
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// TOOL: org.jetbrains.kotlin.idea.inspections.OptionalExpectationInspection
|
||||
|
||||
package kotlin
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// TOOL: org.jetbrains.kotlin.idea.inspections.OptionalExpectationInspection
|
||||
|
||||
package kotlin
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// TOOL: org.jetbrains.kotlin.idea.inspections.OptionalExpectationInspection
|
||||
|
||||
package kotlin
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual annotation class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
@RegAnn // some comment
|
||||
expect annotation class SomeAnn<caret>
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect class <caret>My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect class My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
open class SimpleParent
|
||||
expect class <caret>ExpectedChild : SimpleParent
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
open class SimpleParent
|
||||
expect class <caret>ExpectedChild : SimpleParent
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module proj_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module proj_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
package my
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
package my
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect class <caret>Constructors(s: String) {
|
||||
constructor(i: Int)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect class <caret>Constructors(s: String) {
|
||||
constructor(i: Int)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module proj_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module proj_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
package a
|
||||
|
||||
import b.B
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual interface for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect interface <caret>I {
|
||||
fun f(p: Int = 1)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual interface for module testModule_JVM (JVM)" "true"
|
||||
// "Add missing actual declarations" "true"
|
||||
|
||||
expect interface I {
|
||||
fun f(p: Int = 1)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user