Class XMLRequestResponseMessageTestCase
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.axis2.transport.testkit.tests.ManagedTestCase
-
- org.apache.axis2.transport.testkit.tests.MessageTestCase
-
- org.apache.axis2.transport.testkit.tests.echo.RequestResponseMessageTestCase<XMLMessage,XMLMessage>
-
- org.apache.axis2.transport.testkit.tests.echo.XMLRequestResponseMessageTestCase
-
- All Implemented Interfaces:
junit.framework.Test
public class XMLRequestResponseMessageTestCase extends RequestResponseMessageTestCase<XMLMessage,XMLMessage>
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.transport.testkit.tests.MessageTestCase
contentType, options
-
-
Constructor Summary
Constructors Constructor Description XMLRequestResponseMessageTestCase(RequestResponseChannel channel, RequestResponseTestClient<XMLMessage,XMLMessage> client, InOutEndpoint endpoint, XMLMessage.Type xmlMessageType, MessageTestData data, Object... resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkResponse(XMLMessage request, XMLMessage response)
MessageTestData
getData()
XMLMessage.Type
getXmlMessageType()
protected XMLMessage
prepareRequest()
-
Methods inherited from class org.apache.axis2.transport.testkit.tests.echo.RequestResponseMessageTestCase
doRunTest
-
Methods inherited from class org.apache.axis2.transport.testkit.tests.MessageTestCase
runTest
-
Methods inherited from class org.apache.axis2.transport.testkit.tests.ManagedTestCase
addResource, getId, getName, getNameComponents, getResourceSet, getTestClass, init, setUp, tearDown, toString
-
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, run, run, runBare, setName
-
-
-
-
Constructor Detail
-
XMLRequestResponseMessageTestCase
public XMLRequestResponseMessageTestCase(RequestResponseChannel channel, RequestResponseTestClient<XMLMessage,XMLMessage> client, InOutEndpoint endpoint, XMLMessage.Type xmlMessageType, MessageTestData data, Object... resources)
-
-
Method Detail
-
getXmlMessageType
public XMLMessage.Type getXmlMessageType()
-
getData
public MessageTestData getData()
-
prepareRequest
protected XMLMessage prepareRequest() throws Exception
- Specified by:
prepareRequest
in classRequestResponseMessageTestCase<XMLMessage,XMLMessage>
- Throws:
Exception
-
checkResponse
protected void checkResponse(XMLMessage request, XMLMessage response) throws Exception
- Specified by:
checkResponse
in classRequestResponseMessageTestCase<XMLMessage,XMLMessage>
- Throws:
Exception
-
-