Home | History | Annotate | Download | only in tests

Lines Matching refs:NODE

25 import org.w3c.dom.Node;
113 Node n = getNodeForXPath(xmlFile, xPathString);
115 CLog.d("Found node %s for xpath %s", n.getNodeName(), xPathString);
131 Node n = getNodeForXPath(xmlFile, xPathString);
133 CLog.d("Failed to find node for xpath %s", xPathString);
136 CLog.d("Value of node %s: %s", xPathString, n.getNodeValue());
150 Node n = getNodeForXPath(xmlFile, xPathString);
152 CLog.d("Failed to find node for xpath %s", xPathString);
157 CLog.v("Value of node %s: \"%s\", expected: \"%s\"",
163 public Node getNodeForXPath(File xmlFile, String xPathString) {
171 Node node = (Node) expr.evaluate(doc, XPathConstants.NODE);
172 return node;