Package org.apache.axis2.transport
Class AbstractTransportTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.axis2.transport.AbstractTransportTest
-
- All Implemented Interfaces:
junit.framework.Test
public abstract class AbstractTransportTest extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description AbstractTransportTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
assertEchoResponse(String textValue, OMElement element)
protected void
assertEchoResponse(OMElement element)
protected void
assertSOAPEchoResponse(String textValue, XMLStreamReader reader)
protected void
assertSOAPEchoResponse(XMLStreamReader reader)
protected OMElement
createPayload()
protected OMElement
createPayload(String textValue)
Create the payload for an echoOMElement requestprotected abstract UtilsTransportServer
createServer()
protected ConfigurationContext
getClientCfgCtx()
Get the default axis2 configuration context for a clientprotected void
setUp()
protected void
tearDown()
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Method Detail
-
setUp
protected void setUp() throws Exception
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
Exception
-
tearDown
protected void tearDown() throws Exception
- Overrides:
tearDown
in classjunit.framework.TestCase
- Throws:
Exception
-
createServer
protected abstract UtilsTransportServer createServer() throws Exception
- Throws:
Exception
-
createPayload
protected OMElement createPayload(String textValue)
Create the payload for an echoOMElement request- Returns:
-
createPayload
protected OMElement createPayload()
-
assertEchoResponse
protected void assertEchoResponse(OMElement element)
-
assertSOAPEchoResponse
protected void assertSOAPEchoResponse(String textValue, XMLStreamReader reader)
-
assertSOAPEchoResponse
protected void assertSOAPEchoResponse(XMLStreamReader reader)
-
getClientCfgCtx
protected ConfigurationContext getClientCfgCtx() throws Exception
Get the default axis2 configuration context for a client- Returns:
- Throws:
Exception
-
-