| org.apache.cxf.test.AbstractCXFTest
AbstractCXFTest | public class AbstractCXFTest extends Assert (Code) | | A basic test case meant for helping users unit test their services.
|
Inner Class :public static class TestMessageObserver implements MessageObserver | |
Field Summary | |
protected Bus | bus |
Method Summary | |
public void | addNamespace(String ns, String uri) Add a namespace that will be used for XPath expressions. | public NodeList | assertInvalid(String xpath, Node node) Assert that the following XPath query selects no nodes. | public void | assertNoFault(Node node) | public NodeList | assertValid(String xpath, Node node) Assert that the following XPath query selects one or more nodes. | public void | assertXPathEquals(String xpath, String value, Node node) Asser that the text of the xpath node retrieved is equal to the value
specified. | protected Bus | createBus() | public static String | getBasedir() | public Bus | getBus() | public Map<String, String> | getNamespaces() | protected Reader | getResourceAsReader(String resource) | protected InputStream | getResourceAsStream(String resource) | public File | getTestFile(String relativePath) | protected Document | getWSDLDocument(Server server) | protected Node | invoke(String address, String transport, String message) | protected byte[] | invokeBytes(String address, String transport, String message) | public void | setUpBus() | public void | shutdownBus() |
addNamespace | public void addNamespace(String ns, String uri)(Code) | | Add a namespace that will be used for XPath expressions.
Parameters: ns - Namespace name. Parameters: uri - The namespace uri. |
assertInvalid | public NodeList assertInvalid(String xpath, Node node) throws Exception(Code) | | Assert that the following XPath query selects no nodes.
Parameters: xpath - |
assertXPathEquals | public void assertXPathEquals(String xpath, String value, Node node) throws Exception(Code) | | Asser that the text of the xpath node retrieved is equal to the value
specified.
Parameters: xpath - Parameters: value - Parameters: node - |
createBus | protected Bus createBus() throws BusException(Code) | | |
getBus | public Bus getBus()(Code) | | |
getWSDLDocument | protected Document getWSDLDocument(Server server) throws WSDLException(Code) | | |
shutdownBus | public void shutdownBus()(Code) | | |
|
|