void (boolean processAll, boolean checkInfos, boolean strictComments) { highlightTest(checkInfos, strictComments); String name = getTestName(false); IntentionAction intention; if (processAll) { intention = myFixture.findSingleIntention( InspectionsBundle.message("fix.all.inspection.problems.in.file", InspectionGadgetsBundle.message("try.with.identical.catches.display.name"))); } else { intention = myFixture.findSingleIntention(InspectionGadgetsBundle.message("try.with.identical.catches.quickfix")); } assertNotNull(intention); myFixture.launchAction(intention); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(PATH + name + ".after.java"); }