}
public void fireAddTestSuite(TCTreeNode parentNode, Object[] childNodes) {
for (int i = 0; i < childNodes.length;i++) {
if (childNodes[i] instanceof FileNode) {
FileNode childFileNode = (FileNode)childNodes[i];
childFileNode.setShowTestdata(true);
TCTreeNode childNode = new TCTreeNode(childFileNode, true);
parentNode.add(childNode);
this.fireTreeNodesInserted(this, this.getPathToRoot(parentNode), new int[] {i}, new Object [] {childNode});
if (childFileNode.getChildren()!=null) {
if (childFileNode.getChildren().length>0) {
fireAddTestSuite(childNode, childFileNode.getChildren());
}
}
}
if (childNodes[i] instanceof TestDataNode) {
TestDataNode childDataNode = (TestDataNode)childNodes[i];