Fix tree UI test for JDK7

This commit is contained in:
Roman Shevchenko
2012-08-01 13:42:05 +02:00
parent 8d76b37aec
commit f5f0f6d664
@@ -149,10 +149,9 @@ public class PlatformTestUtil {
nodeText = toString(userObject, null);
}
else {
nodeText = String.valueOf(defaultMutableTreeNode);
nodeText = "null";
}
if (nodePrintCondition != null && !nodePrintCondition.value(nodeText)) return;
boolean expanded = tree.isExpanded(new TreePath(defaultMutableTreeNode.getPath()));