-
- }
-
- @Override
- protected void initialize() {
- try {
- NodeIterator ni = node.getNodes();
- while (ni.hasNext()) {
- Node currNode = ni.nextNode();
- if (currNode.isNodeType(SlcTypes.SLC_TEST_RESULT)) {
- SingleResultNode srn = new SingleResultNode(this, currNode,
- currNode.getProperty(SlcNames.SLC_TEST_CASE)
- .getString());
- addChild(srn);
- } else if (currNode.isNodeType(SlcTypes.SLC_RESULT_FOLDER)) {
- // FIXME change label
- ResultFolder rf = new ResultFolder(this, currNode,
- currNode.getName());
- addChild(rf);
- }
- }
- } catch (RepositoryException re) {
- throw new SlcException(
- "Unexpected error while initializing result folder : "
- + getName(), re);
- }