Class RequestResponseMessageTestCase<M,N>
- 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<M,N>
-
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
XMLRequestResponseMessageTestCase
public abstract class RequestResponseMessageTestCase<M,N> extends MessageTestCase
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.transport.testkit.tests.MessageTestCase
contentType, options
-
-
Constructor Summary
Constructors Constructor Description RequestResponseMessageTestCase(RequestResponseChannel channel, RequestResponseTestClient<M,N> client, InOutEndpoint 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
checkResponse(M request, N response)
protected void
doRunTest()
protected abstract M
prepareRequest()
-
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
-
RequestResponseMessageTestCase
public RequestResponseMessageTestCase(RequestResponseChannel channel, RequestResponseTestClient<M,N> client, InOutEndpoint endpoint, ContentType contentType, String charset, Object... resources)
-
-
Method Detail
-
doRunTest
protected void doRunTest() throws Throwable
- Specified by:
doRunTest
in classMessageTestCase
- Throws:
Throwable
-
-