Lines Matching refs:elem
365 * @param elem The specified element.
368 void appendSuiteToElement(Node elem, TestClass testSuite) {
370 Collection<Node> children = getSuiteChildren(elem);
392 appendSuiteToElementImpl(elem, testSuite);
399 * @param elem The specified element node.
402 Collection<Node> getSuiteChildren(Node elem) {
405 NodeList children = elem.getChildNodes();
421 * @param elem The test suite element.
424 void appendTestCases(Node elem, Collection<TestMethod> cases) {
427 elem.getParentNode().removeChild(elem);
433 Node caseNode = elem.appendChild(mDoc.createElement(TAG_TEST));
453 * @param elem The element to be set attribute.
457 protected void setAttribute(Node elem, String name, String value) {
461 elem.getAttributes().setNamedItem(attr);
467 * @param elem The element node.
471 private String getAttribute(Node elem, String name) {
472 return elem.getAttributes().getNamedItem(name).getNodeValue();
479 * @param elem The specified element node.
482 void appendSuiteToElementImpl(Node elem, TestClass testSuite) {
483 Node parent = elem;