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