Don't use term "Static import" + refer quickfix by class name in negative tests
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "Static import" "true"
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
@@ -20,7 +20,7 @@ object Foo {
|
||||
}
|
||||
|
||||
// FILE: main.after.kt
|
||||
// "Static import" "true"
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: first.before.kt
|
||||
// "Static import" "true"
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
@@ -18,7 +18,7 @@ public class Bar {
|
||||
// FILE: first.after.kt
|
||||
import Bar.foobar
|
||||
|
||||
// "Static import" "true"
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: first.before.kt
|
||||
// "Static import" "true"
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
@@ -21,7 +21,7 @@ public class Bar {
|
||||
// FILE: first.after.kt
|
||||
import Bar.foobar
|
||||
|
||||
// "Static import" "true"
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
@@ -20,7 +20,7 @@ class Foo {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
@@ -21,7 +21,7 @@ class Foo {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
@@ -21,7 +21,7 @@ public class Foo {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
@@ -21,7 +21,7 @@ public class Foo {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Import
|
||||
@@ -19,7 +19,7 @@ fun foobar() {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "Static import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "Static import" "true"
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
@@ -19,7 +19,7 @@ object Foo {
|
||||
}
|
||||
|
||||
// FILE: main.after.kt
|
||||
// "Static import" "true"
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
Reference in New Issue
Block a user