mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inspection tool window: node exclusion restoration on tree regrouping fixed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user