[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:
+5
-14
@@ -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() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
-5
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user