org.apache.axis2.transport.testkit.tests.async
Class BinaryTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.axis2.transport.testkit.tests.ManagedTestCase
              extended by org.apache.axis2.transport.testkit.tests.MessageTestCase
                  extended by org.apache.axis2.transport.testkit.tests.async.AsyncMessageTestCase<byte[]>
                      extended by 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
BinaryTestCase(AsyncChannel channel, AsyncTestClient<byte[]> client, AsyncEndpoint<byte[]> endpoint, java.lang.Object... resources)
           
 
Method Summary
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
countTestCases, createResult, run, run, runBare, setName
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryTestCase

public BinaryTestCase(AsyncChannel channel,
                      AsyncTestClient<byte[]> client,
                      AsyncEndpoint<byte[]> endpoint,
                      java.lang.Object... resources)
Method Detail

prepareMessage

protected byte[] prepareMessage()
                         throws java.lang.Exception
Specified by:
prepareMessage in class AsyncMessageTestCase<byte[]>
Throws:
java.lang.Exception

checkMessageData

protected void checkMessageData(byte[] expected,
                                byte[] actual)
                         throws java.lang.Exception
Specified by:
checkMessageData in class AsyncMessageTestCase<byte[]>
Throws:
java.lang.Exception


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.