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:
Pavel V. Talanov
2014-04-14 17:38:17 +04:00
parent 1bc4872baf
commit fbf2cded0d
30 changed files with 93 additions and 123 deletions
@@ -0,0 +1,14 @@
package test
object NamedObjectTopLevel1
object NamedObjectTopLevel2
fun some() {
object NamedObjectInFun
}
class Some {
class object {
NamedObjectInClassObject
}
}
@@ -0,0 +1,9 @@
package first
fun testFun() {
NamedObject<caret>
}
// EXIST: NamedObjectTopLevel1, NamedObjectTopLevel2
// ABSENT: NamedObjectInClassObject
// ABSENT: NamedObjectInFun