mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
fix flaky ImportHelperTest: ensure auto-import is executed
This commit is contained in:
@@ -308,6 +308,9 @@ public class ImportHelperTest extends DaemonAnalyzerTestCase {
|
||||
|
||||
EditorTestUtil.executeAction(getEditor(), IdeActions.ACTION_COMMENT_BLOCK);
|
||||
|
||||
doHighlighting();
|
||||
UIUtil.dispatchAllInvocationEvents();
|
||||
|
||||
assertEmpty(highlightErrors());
|
||||
|
||||
assertNotSame(0, ((PsiJavaFile)getFile()).getImportList().getAllImportStatements().length);
|
||||
|
||||
Reference in New Issue
Block a user