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