UsefulTestCase#edt

This commit is contained in:
peter
2011-04-07 19:50:11 +02:00
parent ba73c27857
commit 9e8cf9967a
2 changed files with 5 additions and 7 deletions
@@ -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()
}