Don't use term "Static import" + refer quickfix by class name in negative tests
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
// FILE: main.before.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
// ACTION: Rename reference
|
||||
|
||||
|
||||
//KT-9009
|
||||
|
||||
|
||||
fun f() {
|
||||
foobar<caret> = "barfoo"
|
||||
}
|
||||
|
||||
//FILE: dependency.before.java
|
||||
package bar
|
||||
|
||||
public class Foo {
|
||||
public foobar = "foobar"
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
// ACTION: Rename reference
|
||||
|
||||
//KT-9009
|
||||
|
||||
|
||||
fun f() {
|
||||
foobar<caret> = "barfoo"
|
||||
}
|
||||
Reference in New Issue
Block a user