Collection<HighlightInfo> (final Boolean externalToolPass) { final Project project = myTestFixture.getProject(); PsiDocumentManager.getInstance(project).commitAllDocuments(); final Editor editor = myTestFixture.getEditor(); int[] ignore = externalToolPass == null || externalToolPass ? new int[]{ Pass.LINE_MARKERS, Pass.LOCAL_INSPECTIONS, Pass.SLOW_LINE_MARKERS, Pass.POPUP_HINTS, Pass.UPDATE_ALL, Pass.UPDATE_FOLDING, } : new int[]{Pass.EXTERNAL_TOOLS}; return CodeInsightTestFixtureImpl.instantiateAndRun(myTestFixture.getFile(), editor, ignore, false); }