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