mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
adjust test data for K2CreateFunctionFromUsageTest.Call.Extension to make it pass in K2 (part of KTIJ-28926 K2: Create Function From Usage Fix)
GitOrigin-RevId: c889cfffcf94aff598deb8c84deada3eddad6d86
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8393f98d28
commit
d98f89c32b
+3
-2
@@ -105,11 +105,12 @@ abstract class K2CreateFunctionFromUsageTest : LightIntentionActionTestCase() {
|
||||
* Class names correspond to the testData directories inside /idea/tests/testData/quickfix/createFromUsage/
|
||||
* E.g. test class [Call.Abstract] will find all test files inside `/idea/tests/testData/quickfix/createFromUsage/call/abstract` and execute corresponding tests on them
|
||||
*/
|
||||
class FromJava : K2CreateFunctionFromUsageTest()
|
||||
class FromKotlinToJava : K2CreateFunctionFromUsageTest()
|
||||
class Call {
|
||||
class Abstract : K2CreateFunctionFromUsageTest()
|
||||
class Extension : K2CreateFunctionFromUsageTest()
|
||||
class Member : K2CreateFunctionFromUsageTest()
|
||||
class Simple : K2CreateFunctionFromUsageTest()
|
||||
}
|
||||
class FromJava : K2CreateFunctionFromUsageTest()
|
||||
class FromKotlinToJava : K2CreateFunctionFromUsageTest()
|
||||
}
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
// "/(Create extension function 'List<Int>.foo')|(Create extension function 'List.foo')/" "true"
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
open class A
|
||||
|
||||
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
// "/(Create extension function 'List<Int>.foo')|(Create extension function 'List.foo')/" "true"
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
open class A
|
||||
|
||||
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
// "/(Create extension function 'List<Int>.foo')|(Create extension function 'List.foo')/" "true"
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
open class A
|
||||
|
||||
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
// "/(Create extension function 'List<Int>.foo')|(Create extension function 'List.foo')/" "true"
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
open class A
|
||||
|
||||
|
||||
+2
@@ -2,6 +2,8 @@
|
||||
// WITH_STDLIB
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
class A<T>(val items: List<T>) {
|
||||
fun test(): Int {
|
||||
|
||||
+2
@@ -2,6 +2,8 @@
|
||||
// WITH_STDLIB
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
class A<T>(val items: List<T>) {
|
||||
fun test(): Int {
|
||||
|
||||
+2
@@ -2,6 +2,8 @@
|
||||
// WITH_STDLIB
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
class A<T>(val items: List<T>) {
|
||||
fun test(): Int {
|
||||
|
||||
+2
@@ -2,6 +2,8 @@
|
||||
// WITH_STDLIB
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
class A<T>(val items: List<T>) {
|
||||
fun test(): Int {
|
||||
|
||||
+2
@@ -2,6 +2,8 @@
|
||||
// WITH_STDLIB
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
class A<T>(val items: List<T>) {
|
||||
fun test(): Int {
|
||||
|
||||
+2
@@ -2,6 +2,8 @@
|
||||
// WITH_STDLIB
|
||||
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateExtensionCallableFromUsageFix
|
||||
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
|
||||
// TODO fix in K2, see KT-67250 getExpectedType() improvements in K2
|
||||
// IGNORE_K2
|
||||
|
||||
class A<T>(val items: List<T>) {
|
||||
fun test(): Int {
|
||||
|
||||
Reference in New Issue
Block a user