| java.lang.Object org.apache.cxf.test.XPathAssert
Method Summary | |
public static void | assertFault(Node node) | public static NodeList | assertInvalid(String xpath, Node node, Map<String, String> namespaces) Assert that the following XPath query selects no nodes. | public static void | assertNoFault(Node node) | public static NodeList | assertValid(String xpath, Node node, Map<String, String> namespaces) Assert that the following XPath query selects one or more nodes. | public static void | assertXPathEquals(String xpath, String value, Node node, Map<String, String> namespaces) Asser that the text of the xpath node retrieved is equal to the value
specified. | public static XPath | createXPath(Map<String, String> namespaces) Create the specified XPath expression with the namespaces added via
addNamespace(). |
assertXPathEquals | public static void assertXPathEquals(String xpath, String value, Node node, Map<String, String> namespaces) throws Exception(Code) | | Asser that the text of the xpath node retrieved is equal to the value
specified.
Parameters: xpath - Parameters: value - Parameters: node - |
createXPath | public static XPath createXPath(Map<String, String> namespaces) throws Exception(Code) | | Create the specified XPath expression with the namespaces added via
addNamespace().
|
|
|