|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.test.XPathAssert
public class XPathAssert
WebService assertions.
Constructor Summary | |
---|---|
XPathAssert()
|
Method Summary | |
---|---|
static void |
assertFault(org.jdom.Content node)
|
static java.util.List |
assertInvalid(java.lang.String xpath,
java.lang.Object node,
java.util.Map namespaces)
Assert that the following XPath query selects no nodes. |
static void |
assertNoFault(org.jdom.Document node)
|
static java.util.List |
assertValid(java.lang.String xpath,
java.lang.Object node,
java.util.Map namespaces)
Assert that the following XPath query selects one or more nodes. |
static void |
assertXPathEquals(java.lang.String xpath,
java.lang.String value,
org.jdom.Document node,
java.util.Map namespaces)
Asser that the text of the xpath node retrieved is equal to the value specified. |
static org.jdom.xpath.XPath |
createXPath(java.lang.String xpathString,
java.util.Map 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 |
Constructor Detail |
---|
public XPathAssert()
Method Detail |
---|
public static java.util.List assertValid(java.lang.String xpath, java.lang.Object node, java.util.Map namespaces) throws java.lang.Exception
xpath
-
java.lang.Exception
public static java.util.List assertInvalid(java.lang.String xpath, java.lang.Object node, java.util.Map namespaces) throws java.lang.Exception
xpath
-
java.lang.Exception
public static void assertXPathEquals(java.lang.String xpath, java.lang.String value, org.jdom.Document node, java.util.Map namespaces) throws java.lang.Exception
xpath
- value
- node
-
java.lang.Exception
public static void assertNoFault(org.jdom.Document node) throws java.lang.Exception
java.lang.Exception
public static void assertFault(org.jdom.Content node) throws java.lang.Exception
java.lang.Exception
public static org.jdom.xpath.XPath createXPath(java.lang.String xpathString, java.util.Map namespaces) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |