mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
UsefulTestCase#edt
This commit is contained in:
+1
-7
@@ -21,9 +21,8 @@ import com.intellij.codeInsight.lookup.LookupManager
|
||||
import com.intellij.codeInsight.lookup.impl.LookupImpl
|
||||
import com.intellij.testFramework.PlatformTestUtil
|
||||
import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase
|
||||
import com.intellij.util.ui.UIUtil
|
||||
|
||||
/**
|
||||
/**
|
||||
* @author peter
|
||||
*/
|
||||
abstract class CompletionAutoPopupTestCase extends LightCodeInsightFixtureTestCase {
|
||||
@@ -73,11 +72,6 @@ abstract class CompletionAutoPopupTestCase extends LightCodeInsightFixtureTestCa
|
||||
edt { PlatformTestUtil.waitForAlarm(CodeInsightSettings.instance.AUTO_LOOKUP_DELAY)}
|
||||
}
|
||||
|
||||
protected void edt(Closure c) {
|
||||
UIUtil.invokeAndWaitIfNeeded(c as Runnable)
|
||||
}
|
||||
|
||||
|
||||
@Override protected void runTest() {
|
||||
runTestBare()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user