Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package sample
|
||||
|
||||
class K {
|
||||
companion object {
|
||||
val foo: K = K()
|
||||
fun bar(): K = K()
|
||||
val x: String = ""
|
||||
var kk: K? = null
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(){
|
||||
val k : K? = <caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString:"foo", itemText:"K.foo", tailText:" (sample)", typeText:"K" }
|
||||
// EXIST: { lookupString:"bar", itemText:"K.bar", tailText:"() (sample)", typeText:"K" }
|
||||
// ABSENT: { itemText: "K.x" }
|
||||
// EXIST: { lookupString:"kk", itemText:"K.kk", tailText:" (sample)", typeText:"K?" }
|
||||
Reference in New Issue
Block a user