void (@NonNls @NotNull String folderName, @NotNull InspectionToolWrapper<?,?> toolWrapper, boolean checkRange, boolean runDeadCodeFirst, InspectionToolWrapper<?,?> @NotNull ... additional) { final String testDir = getTestDataPath() + "/" + folderName; final List<InspectionToolWrapper<?, ?>> tools = getTools(runDeadCodeFirst, toolWrapper, additional); GlobalInspectionContextImpl context = runTool(folderName, toolWrapper, tools); try { InspectionTestUtil.compareToolResults(context, checkRange, testDir, ContainerUtil.append(Collections.singletonList(toolWrapper), additional)); } finally { context.cleanup(); } if (MIGRATE_TEST) { myMigration = new LightTestMigration(getTestName(false), getClass(), testDir, tools); } }