From ab5fe60bbe2c42a12eef2861c24d741e2542d140 Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Fri, 2 Oct 2015 18:40:27 +0300 Subject: [PATCH] Corrected quickfix class name in tests --- .../checkNoStackOverflowInImportInnerClassInCurrentFile.kt | 2 +- ...checkNoStackOverflowInImportInnerClassInCurrentFile.kt.after | 2 +- idea/testData/quickfix/autoImports/namelessClass.kt | 2 +- idea/testData/quickfix/autoImports/namelessFunction.kt | 2 +- idea/testData/quickfix/autoImports/namelessObject.kt | 2 +- idea/testData/quickfix/autoImports/namelessParameter.kt | 2 +- idea/testData/quickfix/autoImports/namelessProperty.kt | 2 +- .../quickfix/autoImports/noImportAlreadyImported.kt.after | 2 +- .../testData/quickfix/autoImports/noImportForAlreadyImported.kt | 2 +- .../autoImports/noImportForFunInQualifiedNotFirst.after.kt | 2 +- .../noImportForFunInQualifiedNotFirst.before.Main.kt | 2 +- idea/testData/quickfix/autoImports/noImportForIndex.kt | 2 +- idea/testData/quickfix/autoImports/noImportForIndex.kt.after | 2 +- .../quickfix/autoImports/noImportForNestedInPrivate.after.kt | 2 +- .../autoImports/noImportForNestedInPrivate.before.Main.kt | 2 +- .../quickfix/autoImports/noImportForPrivateClass.after.kt | 2 +- .../quickfix/autoImports/noImportForPrivateClass.before.Main.kt | 2 +- idea/testData/quickfix/autoImports/noImportInImports.after.kt | 2 +- .../quickfix/autoImports/noImportInImports.before.Main.kt | 2 +- .../autoImports/noImportInQualifiedExpressionNotFirst.after.kt | 2 +- .../noImportInQualifiedExpressionNotFirst.before.Main.kt | 2 +- .../autoImports/noImportInQualifiedUserTypeNotFirst.after.kt | 2 +- .../noImportInQualifiedUserTypeNotFirst.before.Main.kt | 2 +- .../noImportInSafeQualifiedExpressionNotFirst.after.kt | 2 +- .../noImportInSafeQualifiedExpressionNotFirst.before.Main.kt | 2 +- .../noImportsForClassInExcludedPackage.before.Main.kt | 2 +- .../autoImports/noImportsForExcludedClass.before.Main.kt | 2 +- .../noImportsForFunctionInExcludedPackage.before.Main.kt | 2 +- idea/testData/quickfix/autoImports/packageClass.before.Main.kt | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/idea/testData/quickfix/autoImports/checkNoStackOverflowInImportInnerClassInCurrentFile.kt b/idea/testData/quickfix/autoImports/checkNoStackOverflowInImportInnerClassInCurrentFile.kt index b2716bff9a7..78bfa16165b 100644 --- a/idea/testData/quickfix/autoImports/checkNoStackOverflowInImportInnerClassInCurrentFile.kt +++ b/idea/testData/quickfix/autoImports/checkNoStackOverflowInImportInnerClassInCurrentFile.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // KT-3165 Weird stack overflow in IDE // ERROR: Unresolved reference: Bar diff --git a/idea/testData/quickfix/autoImports/checkNoStackOverflowInImportInnerClassInCurrentFile.kt.after b/idea/testData/quickfix/autoImports/checkNoStackOverflowInImportInnerClassInCurrentFile.kt.after index 2447ffc0f55..1001ab9d6c3 100644 --- a/idea/testData/quickfix/autoImports/checkNoStackOverflowInImportInnerClassInCurrentFile.kt.after +++ b/idea/testData/quickfix/autoImports/checkNoStackOverflowInImportInnerClassInCurrentFile.kt.after @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // KT-3165 Weird stack overflow in IDE // ERROR: Unresolved reference: Bar // ERROR: Unresolved reference: SomeImpossibleName diff --git a/idea/testData/quickfix/autoImports/namelessClass.kt b/idea/testData/quickfix/autoImports/namelessClass.kt index b9b35b3e8fd..1e153a7545a 100644 --- a/idea/testData/quickfix/autoImports/namelessClass.kt +++ b/idea/testData/quickfix/autoImports/namelessClass.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: TTT class { diff --git a/idea/testData/quickfix/autoImports/namelessFunction.kt b/idea/testData/quickfix/autoImports/namelessFunction.kt index 92d51beb481..817c7ac0e6f 100644 --- a/idea/testData/quickfix/autoImports/namelessFunction.kt +++ b/idea/testData/quickfix/autoImports/namelessFunction.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: TTTTT // ERROR: Function declaration must have a name diff --git a/idea/testData/quickfix/autoImports/namelessObject.kt b/idea/testData/quickfix/autoImports/namelessObject.kt index 807ab214043..2f44b58733e 100644 --- a/idea/testData/quickfix/autoImports/namelessObject.kt +++ b/idea/testData/quickfix/autoImports/namelessObject.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: TTT object { diff --git a/idea/testData/quickfix/autoImports/namelessParameter.kt b/idea/testData/quickfix/autoImports/namelessParameter.kt index f4708441fbd..bdc60b8b3e5 100644 --- a/idea/testData/quickfix/autoImports/namelessParameter.kt +++ b/idea/testData/quickfix/autoImports/namelessParameter.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: TTT fun f(: Int) { diff --git a/idea/testData/quickfix/autoImports/namelessProperty.kt b/idea/testData/quickfix/autoImports/namelessProperty.kt index b9076708b97..d139551646d 100644 --- a/idea/testData/quickfix/autoImports/namelessProperty.kt +++ b/idea/testData/quickfix/autoImports/namelessProperty.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: TTT val : Int diff --git a/idea/testData/quickfix/autoImports/noImportAlreadyImported.kt.after b/idea/testData/quickfix/autoImports/noImportAlreadyImported.kt.after index 4a96bf08d8f..405de98c64a 100644 --- a/idea/testData/quickfix/autoImports/noImportAlreadyImported.kt.after +++ b/idea/testData/quickfix/autoImports/noImportAlreadyImported.kt.after @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: some[12] // ERROR: No get method providing array access diff --git a/idea/testData/quickfix/autoImports/noImportForAlreadyImported.kt b/idea/testData/quickfix/autoImports/noImportForAlreadyImported.kt index 95b733d4564..3c542e86f34 100644 --- a/idea/testData/quickfix/autoImports/noImportForAlreadyImported.kt +++ b/idea/testData/quickfix/autoImports/noImportForAlreadyImported.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: someFun // ERROR: Unresolved reference: test diff --git a/idea/testData/quickfix/autoImports/noImportForFunInQualifiedNotFirst.after.kt b/idea/testData/quickfix/autoImports/noImportForFunInQualifiedNotFirst.after.kt index 7a6c3dbe393..d9e2113610f 100644 --- a/idea/testData/quickfix/autoImports/noImportForFunInQualifiedNotFirst.after.kt +++ b/idea/testData/quickfix/autoImports/noImportForFunInQualifiedNotFirst.after.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: externalFun package testing diff --git a/idea/testData/quickfix/autoImports/noImportForFunInQualifiedNotFirst.before.Main.kt b/idea/testData/quickfix/autoImports/noImportForFunInQualifiedNotFirst.before.Main.kt index 7a6c3dbe393..d9e2113610f 100644 --- a/idea/testData/quickfix/autoImports/noImportForFunInQualifiedNotFirst.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportForFunInQualifiedNotFirst.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: externalFun package testing diff --git a/idea/testData/quickfix/autoImports/noImportForIndex.kt b/idea/testData/quickfix/autoImports/noImportForIndex.kt index 29ccb481ec7..0cc84a25aff 100644 --- a/idea/testData/quickfix/autoImports/noImportForIndex.kt +++ b/idea/testData/quickfix/autoImports/noImportForIndex.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: some[12] // ERROR: No get method providing array access diff --git a/idea/testData/quickfix/autoImports/noImportForIndex.kt.after b/idea/testData/quickfix/autoImports/noImportForIndex.kt.after index 72ea34e3c0c..5d67f88bde2 100644 --- a/idea/testData/quickfix/autoImports/noImportForIndex.kt.after +++ b/idea/testData/quickfix/autoImports/noImportForIndex.kt.after @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" package Teting diff --git a/idea/testData/quickfix/autoImports/noImportForNestedInPrivate.after.kt b/idea/testData/quickfix/autoImports/noImportForNestedInPrivate.after.kt index 5e51c0654a0..1ab43f27804 100644 --- a/idea/testData/quickfix/autoImports/noImportForNestedInPrivate.after.kt +++ b/idea/testData/quickfix/autoImports/noImportForNestedInPrivate.after.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: Nested fun test() { diff --git a/idea/testData/quickfix/autoImports/noImportForNestedInPrivate.before.Main.kt b/idea/testData/quickfix/autoImports/noImportForNestedInPrivate.before.Main.kt index 3d8c222c64d..9357d0552e0 100644 --- a/idea/testData/quickfix/autoImports/noImportForNestedInPrivate.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportForNestedInPrivate.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ACTION: Create local variable 'Nested' // ACTION: Create object 'Nested' // ACTION: Create parameter 'Nested' diff --git a/idea/testData/quickfix/autoImports/noImportForPrivateClass.after.kt b/idea/testData/quickfix/autoImports/noImportForPrivateClass.after.kt index 8947e07d757..a96b8ade797 100644 --- a/idea/testData/quickfix/autoImports/noImportForPrivateClass.after.kt +++ b/idea/testData/quickfix/autoImports/noImportForPrivateClass.after.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: PrivateClass fun test() { diff --git a/idea/testData/quickfix/autoImports/noImportForPrivateClass.before.Main.kt b/idea/testData/quickfix/autoImports/noImportForPrivateClass.before.Main.kt index 7917ef8aec0..edd48c357ab 100644 --- a/idea/testData/quickfix/autoImports/noImportForPrivateClass.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportForPrivateClass.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ACTION: Create local variable 'PrivateClass' // ACTION: Create object 'PrivateClass' // ACTION: Create parameter 'PrivateClass' diff --git a/idea/testData/quickfix/autoImports/noImportInImports.after.kt b/idea/testData/quickfix/autoImports/noImportInImports.after.kt index c2879907b39..40d2e66160d 100644 --- a/idea/testData/quickfix/autoImports/noImportInImports.after.kt +++ b/idea/testData/quickfix/autoImports/noImportInImports.after.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: SomeTest package testing diff --git a/idea/testData/quickfix/autoImports/noImportInImports.before.Main.kt b/idea/testData/quickfix/autoImports/noImportInImports.before.Main.kt index 154e620995a..4b4cba9f2fb 100644 --- a/idea/testData/quickfix/autoImports/noImportInImports.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportInImports.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ACTION: Create annotation 'SomeTest' // ACTION: Create class 'SomeTest' // ACTION: Create interface 'SomeTest' diff --git a/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.after.kt b/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.after.kt index 7f248285bbc..994da28e35a 100644 --- a/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.after.kt +++ b/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.after.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: SomeTest package testing diff --git a/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.before.Main.kt b/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.before.Main.kt index 46c2dda814f..df00fd41501 100644 --- a/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ACTION: Create class 'SomeTest' // ERROR: Unresolved reference: SomeTest diff --git a/idea/testData/quickfix/autoImports/noImportInQualifiedUserTypeNotFirst.after.kt b/idea/testData/quickfix/autoImports/noImportInQualifiedUserTypeNotFirst.after.kt index d7ae7fface7..29426499854 100644 --- a/idea/testData/quickfix/autoImports/noImportInQualifiedUserTypeNotFirst.after.kt +++ b/idea/testData/quickfix/autoImports/noImportInQualifiedUserTypeNotFirst.after.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: SomeTest package testing diff --git a/idea/testData/quickfix/autoImports/noImportInQualifiedUserTypeNotFirst.before.Main.kt b/idea/testData/quickfix/autoImports/noImportInQualifiedUserTypeNotFirst.before.Main.kt index 219cffe792e..57ee9c14a54 100644 --- a/idea/testData/quickfix/autoImports/noImportInQualifiedUserTypeNotFirst.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportInQualifiedUserTypeNotFirst.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ACTION: Create interface 'SomeTest' // ERROR: Unresolved reference: SomeTest diff --git a/idea/testData/quickfix/autoImports/noImportInSafeQualifiedExpressionNotFirst.after.kt b/idea/testData/quickfix/autoImports/noImportInSafeQualifiedExpressionNotFirst.after.kt index 98b12da810d..60cf4e1079f 100644 --- a/idea/testData/quickfix/autoImports/noImportInSafeQualifiedExpressionNotFirst.after.kt +++ b/idea/testData/quickfix/autoImports/noImportInSafeQualifiedExpressionNotFirst.after.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: SomeTest // ACTION: Edit intention settings // ACTION: Replace safe access expression with 'if' expression diff --git a/idea/testData/quickfix/autoImports/noImportInSafeQualifiedExpressionNotFirst.before.Main.kt b/idea/testData/quickfix/autoImports/noImportInSafeQualifiedExpressionNotFirst.before.Main.kt index 1cfe1a2f0a5..e575b1dcfda 100644 --- a/idea/testData/quickfix/autoImports/noImportInSafeQualifiedExpressionNotFirst.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportInSafeQualifiedExpressionNotFirst.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ERROR: Unresolved reference: SomeTest // ACTION: Create class 'SomeTest' // ACTION: Replace safe access expression with 'if' expression diff --git a/idea/testData/quickfix/autoImports/noImportsForClassInExcludedPackage.before.Main.kt b/idea/testData/quickfix/autoImports/noImportsForClassInExcludedPackage.before.Main.kt index 92f2354e6c0..937fd51493c 100644 --- a/idea/testData/quickfix/autoImports/noImportsForClassInExcludedPackage.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportsForClassInExcludedPackage.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ACTION: Create class 'SomeClass' // ACTION: Create function 'SomeClass' // ERROR: Unresolved reference: SomeClass diff --git a/idea/testData/quickfix/autoImports/noImportsForExcludedClass.before.Main.kt b/idea/testData/quickfix/autoImports/noImportsForExcludedClass.before.Main.kt index 1f3fc10ef1e..54a86b8f32b 100644 --- a/idea/testData/quickfix/autoImports/noImportsForExcludedClass.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportsForExcludedClass.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ACTION: Create class 'ExcludedClass' // ACTION: Create function 'ExcludedClass' // ERROR: Unresolved reference: ExcludedClass diff --git a/idea/testData/quickfix/autoImports/noImportsForFunctionInExcludedPackage.before.Main.kt b/idea/testData/quickfix/autoImports/noImportsForFunctionInExcludedPackage.before.Main.kt index 081b55d7691..795e4b70cdf 100644 --- a/idea/testData/quickfix/autoImports/noImportsForFunctionInExcludedPackage.before.Main.kt +++ b/idea/testData/quickfix/autoImports/noImportsForFunctionInExcludedPackage.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ACTION: Create function 'someFunction' // ERROR: Unresolved reference: someFunction diff --git a/idea/testData/quickfix/autoImports/packageClass.before.Main.kt b/idea/testData/quickfix/autoImports/packageClass.before.Main.kt index bdd5de837a2..9b6a719a083 100644 --- a/idea/testData/quickfix/autoImports/packageClass.before.Main.kt +++ b/idea/testData/quickfix/autoImports/packageClass.before.Main.kt @@ -1,4 +1,4 @@ -// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false" +// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false" // ACTION: Create function 'FooPackage' // ACTION: Create class 'FooPackage' // ERROR: Unresolved reference: FooPackage