170 * Test return type: Any::Nodeset.
171 */
172 @Test(dataProvider = "document")
173 public void test13(XPath xpath, Document doc) throws XPathExpressionException {
174 XPathExpression exp = xpath.compile("/Customers/Customer");
175 XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
176 verifyResult(result, "Customer");
177 }
178
179 /*
180 * Test return type: Any::Node.
181 */
182 @Test(dataProvider = "document")
183 public void test14(XPath xpath, Document doc) throws XPathExpressionException {
184 XPathExpression exp = xpath.compile("/Customers/Customer[@id=3]");
185 XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
186 verifyResult(result, "Customer");
187 }
188
189 }
190
|
170 * Test return type: Any::Nodeset.
171 */
172 @Test(dataProvider = "document")
173 public void test13(XPath xpath, Document doc) throws XPathExpressionException {
174 XPathExpression exp = xpath.compile("/Customers/Customer");
175 XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
176 verifyResult(result, "Customer");
177 }
178
179 /*
180 * Test return type: Any::Node.
181 */
182 @Test(dataProvider = "document")
183 public void test14(XPath xpath, Document doc) throws XPathExpressionException {
184 XPathExpression exp = xpath.compile("/Customers/Customer[@id=3]");
185 XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
186 verifyResult(result, "Customer");
187 }
188
189 }
|