You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@return
*/
public static String[] displayedPaths(JTreeFixture treeFix) {
String[] contents = new String[treeFix.component().getRowCount()];
for (int nRow = 0; nRow < treeFix.component().getRowCount(); nRow++) {
StringBuilder sb = new StringBuilder();
boolean first = true;
for (Object node : treeFix.component().getPathForRow(nRow).getPath())
Unknown macro: { if (first) {
// Add the first node to the path if and only
// the root of the Jtree is visible
if (treeFix.component().isRootVisible())
sb.append(node);
first = false;
} else {
sb.append(treeFix.separator()).append(node);
} }
Issue by Alex Ruiz from Thu, 5 Mar 2009 13:26:20 -0600
Originally opened as http://jira.codehaus.org/browse/FEST-41
From aaronvan80:
Currently there is no way on a JTree to create assertions on the user visible contents of a JTree.
Suggest an enhancement to have a way to verify the user viewable contents of a JTree much like the method, requireContents, with JTables.
Original report: Issue 217 (Google Code)
votes (original issue): 0
watches (original issue): 0
The text was updated successfully, but these errors were encountered: