Refactor AbstractMultiFileJvmBasicCompletionTest to extend CompletionTestCase
Extract common code from JetFixtureCompletionBaseTestCase to CompletionTestUtil.kt Reason for this change is that I couldn't get the check that prohibits tree loading to work with fixture test case
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
package second
|
||||
|
||||
fun String.helloFun() {
|
||||
}
|
||||
|
||||
fun String.helloWithParams(i : Int) : String {
|
||||
return ""
|
||||
}
|
||||
|
||||
fun String.helloFunPreventAutoInsert() {
|
||||
}
|
||||
|
||||
fun Int.helloFake() {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package first
|
||||
|
||||
fun firstFun() {
|
||||
val a : String? = ""
|
||||
a.hello<caret>
|
||||
}
|
||||
|
||||
// EXIST: helloFun
|
||||
// EXIST: helloFunPreventAutoInsert
|
||||
// EXIST: helloWithParams
|
||||
// ABSENT: helloFake
|
||||
// NUMBER: 3
|
||||
Reference in New Issue
Block a user