Class XMLAsyncMessageTestCase
- 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.async.AsyncMessageTestCase<XMLMessage>
-
- org.apache.axis2.transport.testkit.tests.async.XMLAsyncMessageTestCase
-
- All Implemented Interfaces:
junit.framework.Test
public class XMLAsyncMessageTestCase extends AsyncMessageTestCase<XMLMessage>
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.transport.testkit.tests.MessageTestCase
contentType, options
-
-
Constructor Summary
Constructors Constructor Description XMLAsyncMessageTestCase(AsyncChannel channel, AsyncTestClient<XMLMessage> client, AsyncEndpoint<XMLMessage> endpoint, XMLMessage.Type xmlMessageType, MessageTestData data, Object... resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkMessageData(XMLMessage expected, XMLMessage actual)
MessageTestData
getData()
XMLMessage.Type
getXmlMessageType()
protected XMLMessage
prepareMessage()
-
Methods inherited from class org.apache.axis2.transport.testkit.tests.async.AsyncMessageTestCase
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
-
XMLAsyncMessageTestCase
public XMLAsyncMessageTestCase(AsyncChannel channel, AsyncTestClient<XMLMessage> client, AsyncEndpoint<XMLMessage> endpoint, XMLMessage.Type xmlMessageType, MessageTestData data, Object... resources)
-
-
Method Detail
-
getXmlMessageType
public XMLMessage.Type getXmlMessageType()
-
getData
public MessageTestData getData()
-
prepareMessage
protected XMLMessage prepareMessage() throws Exception
- Specified by:
prepareMessage
in classAsyncMessageTestCase<XMLMessage>
- Throws:
Exception
-
checkMessageData
protected void checkMessageData(XMLMessage expected, XMLMessage actual) throws Exception
- Specified by:
checkMessageData
in classAsyncMessageTestCase<XMLMessage>
- Throws:
Exception
-
-