more generic joinCompletion, fix the test?

This commit is contained in:
peter
2011-03-10 19:47:53 +01:00
parent 7e0104bb59
commit 9b76c6d40f

View File

@@ -58,7 +58,7 @@ abstract class CompletionAutoPopupTestCase extends LightCodeInsightFixtureTestCa
protected void joinCompletion() {
for (j in 1..1000) {
def l = lookup
LookupImpl l = LookupManager.getInstance(project).activeLookup
if (!l || !l.calculating) {
joinAlarm() // for invokeLater in CompletionProgressIndicator.stop()
return