mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 06:39:38 +07:00
more generic joinCompletion, fix the test?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user