|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.test.XPathAssert
public final class XPathAssert
XPath test assertions.
Method Summary | |
---|---|
static void |
assertFault(Node node)
|
static NodeList |
assertInvalid(String xpath,
Node node,
Map<String,String> namespaces)
Assert that the following XPath query selects no nodes. |
static void |
assertNoFault(Node node)
|
static NodeList |
assertValid(String xpath,
Node node,
Map<String,String> namespaces)
Assert that the following XPath query selects one or more nodes. |
static void |
assertValidBoolean(String xpath,
Node node,
Map<String,String> namespaces)
Assert that the following XPath query selects one or more nodes. |
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. |
static XPath |
createXPath(Map<String,String> namespaces)
Create the specified XPath expression with the namespaces added via addNamespace(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NodeList assertValid(String xpath, Node node, Map<String,String> namespaces) throws Exception
xpath
-
Exception
public static void assertValidBoolean(String xpath, Node node, Map<String,String> namespaces) throws Exception
xpath
-
Exception
public static NodeList assertInvalid(String xpath, Node node, Map<String,String> namespaces) throws Exception
xpath
-
Exception
public static void assertXPathEquals(String xpath, String value, Node node, Map<String,String> namespaces) throws Exception
xpath
- value
- node
-
Exception
public static void assertNoFault(Node node) throws Exception
Exception
public static void assertFault(Node node) throws Exception
Exception
public static XPath createXPath(Map<String,String> namespaces) throws Exception
Exception
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |