inspection tool window: node exclusion restoration on tree regrouping fixed

This commit is contained in:
Dmitry Batkovich
2016-03-29 17:17:14 +03:00
parent 99b6a70d68
commit fa03ad1046
9 changed files with 98 additions and 47 deletions
@@ -167,11 +167,11 @@ public class OfflineIRVTest extends TestSourceBasedTestCase {
+ " " + varMessage("a") + "\n");
TreeUtil.selectFirstNode(tree);
final InspectionTreeNode root = (InspectionTreeNode)tree.getLastSelectedPathComponent();
root.ignoreElement();
root.ignoreElement(myView.getExcludedManager());
TreeUtil.traverse(root, new TreeUtil.Traverse() {
@Override
public boolean accept(final Object node) {
assertTrue(((InspectionTreeNode)node).isResolved());
assertTrue(((InspectionTreeNode)node).isResolved(myView.getExcludedManager()));
return true;
}
});