Lines Matching refs:Node
38 import org.w3c.dom.Node;
274 Node testPackageElem = mDoc.appendChild(mDoc.createElement(TAG_PACKAGE)); in XMLGenerator()
306 Collection<Node> suiteElems = getUnmutableChildNodes(mDoc.getDocumentElement()); in rebuildDocument()
307 Iterator<Node> suiteIterator = suiteElems.iterator(); in rebuildDocument()
309 Node suiteElem = suiteIterator.next(); in rebuildDocument()
321 void mergeEmptySuites(Node suiteElem) { in mergeEmptySuites()
322 Collection<Node> suiteChildren = getSuiteChildren(suiteElem); in mergeEmptySuites()
324 for (Node suiteChild : suiteChildren) { in mergeEmptySuites()
329 Node child = suiteChildren.iterator().next(); in mergeEmptySuites()
337 Node parentNode = suiteElem.getParentNode(); in mergeEmptySuites()
351 private Collection<Node> getUnmutableChildNodes(Node node) { in getUnmutableChildNodes()
352 ArrayList<Node> nodes = new ArrayList<Node>(); in getUnmutableChildNodes()
369 void appendSuiteToElement(Node elem, TestClass testSuite) { in appendSuiteToElement()
371 Collection<Node> children = getSuiteChildren(elem); in appendSuiteToElement()
376 for (Node child : children) { in appendSuiteToElement()
403 Collection<Node> getSuiteChildren(Node elem) { in getSuiteChildren()
404 ArrayList<Node> suites = new ArrayList<Node>(); in getSuiteChildren()
408 Node child = children.item(i); in getSuiteChildren()
425 void appendTestCases(Node elem, Collection<TestMethod> cases) { in appendTestCases()
434 Node caseNode = elem.appendChild(mDoc.createElement(TAG_TEST)); in appendTestCases()
462 protected void setAttribute(Node elem, String name, String value) { in setAttribute()
476 private String getAttribute(Node elem, String name) { in getAttribute()
487 void appendSuiteToElementImpl(Node elem, TestClass testSuite) { in appendSuiteToElementImpl()
488 Node parent = elem; in appendSuiteToElementImpl()
495 Node suiteElem = parent.appendChild(mDoc.createElement(TAG_SUITE)); in appendSuiteToElementImpl()
502 Node leafSuiteElem = parent.appendChild(mDoc.createElement(TAG_CASE)); in appendSuiteToElementImpl()