inspection integration tests: option to run one inspection

This commit is contained in:
Anna.Kozlova
2018-12-03 09:51:18 +01:00
parent 090f468b74
commit 1cbff8cbc5
@@ -861,4 +861,10 @@ public class InspectionProfileImpl extends NewInspectionProfile {
enableTool(entry.getShortName(), project);
}
}
public void disableAllTools(Project project) {
for (InspectionToolWrapper entry : getInspectionTools(null)) {
setToolEnabled(entry.getShortName(), false, project);
}
}
}