void () { long time = System.currentTimeMillis(); for (int i = 0; i < 20/*00000*/; i++) { //System.out.println("i = " + i); ((PsiManagerImpl)getPsiManager()).cleanupForNextTest(); configureFromFileText("Stress.java", text); List<HighlightInfo> infos = doHighlighting(); assertEmpty(DaemonAnalyzerTestCase.filter(infos, HighlightSeverity.ERROR)); UIUtil.dispatchAllInvocationEvents(); FileEditorManagerEx.getInstanceEx(getProject()).closeAllFiles(); } LOG.debug(System.currentTimeMillis() - time+"ms"); }