[REVERTED] 0a71eb7 Alexey Sedunov on 2/25/2016 at 14:02 (committed on 3/24/2016 at 18:42)

Spring Support: Implement Spring-specific references
This commit is contained in:
Alexey Sedunov
2016-03-29 17:17:56 +03:00
parent 95f6acdddf
commit ed9b1ac151
45 changed files with 80 additions and 906 deletions
@@ -36,18 +36,13 @@ abstract class KotlinFixtureCompletionBaseTestCase : KotlinLightCodeInsightFixtu
open fun doTest(testPath: String) {
setUpFixture(testPath)
try {
val fileText = FileUtil.loadFile(File(testPath), true)
val fileText = FileUtil.loadFile(File(testPath), true)
if (ExpectedCompletionUtils.shouldRunHighlightingBeforeCompletion(fileText)) {
myFixture.doHighlighting()
}
if (ExpectedCompletionUtils.shouldRunHighlightingBeforeCompletion(fileText)) {
myFixture.doHighlighting()
}
testCompletion(fileText, getPlatform(), { completionType, count -> complete(completionType, count) }, defaultCompletionType(), defaultInvocationCount())
}
finally {
tearDownFixture()
}
testCompletion(fileText, getPlatform(), { completionType, count -> complete(completionType, count) }, defaultCompletionType(), defaultInvocationCount())
}
protected open fun setUpFixture(testPath: String) {
@@ -56,8 +51,4 @@ abstract class KotlinFixtureCompletionBaseTestCase : KotlinLightCodeInsightFixtu
myFixture.configureByFile(testPath)
}
protected open fun tearDownFixture() {
}
}
@@ -73,7 +73,6 @@ abstract class AbstractCompletionHandlerTest(private val defaultCompletionType:
}
finally {
settingManager.dropTemporarySettings()
tearDownFixture()
}
}
@@ -81,10 +80,6 @@ abstract class AbstractCompletionHandlerTest(private val defaultCompletionType:
fixture.configureByFile(testPath)
}
protected open fun tearDownFixture() {
}
override fun getProjectDescriptor() = KotlinWithJdkAndRuntimeLightProjectDescriptor.INSTANCE
}