for (int j = 0; j < subrows.length; ++j) {
Row r = subrows[j];
assertEquals(r.isSelected(),
subteeItems.getItems()[j].isChecked());
assertEquals(r.getProject(), subteeItems.cell(j, 0));
assertEquals(r.getPath(), subteeItems.cell(j, 1));
assertEquals(r.getRepository(), subteeItems.cell(j, 2));
}
} else
assertEquals("Row " + i + " is a tree:", 0,
subteeItems.getItems().length);