Class AsyncMessageTestCase<M>
- 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<M>
-
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
BinaryTestCase
,LargeSOAPAsyncMessageTestCase
,RESTTestCase
,SwATestCase
,TextPlainTestCase
,XMLAsyncMessageTestCase
public abstract class AsyncMessageTestCase<M> extends MessageTestCase
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.transport.testkit.tests.MessageTestCase
contentType, options
-
-
Constructor Summary
Constructors Constructor Description AsyncMessageTestCase(AsyncChannel channel, AsyncTestClient<M> client, AsyncEndpoint<M> endpoint, ContentType contentType, String charset, Object... resources)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
checkMessageData(M expected, M actual)
protected void
doRunTest()
protected abstract M
prepareMessage()
-
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
-
AsyncMessageTestCase
public AsyncMessageTestCase(AsyncChannel channel, AsyncTestClient<M> client, AsyncEndpoint<M> endpoint, ContentType contentType, String charset, Object... resources)
-
-
Method Detail
-
doRunTest
protected void doRunTest() throws Throwable
- Specified by:
doRunTest
in classMessageTestCase
- Throws:
Throwable
-
-