Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq.io.impl
Class ReceiptReaderTest  view ReceiptReaderTest download ReceiptReaderTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.activemq.message.PacketTestSupport
              extended byorg.activemq.io.impl.ReceiptReaderTest
All Implemented Interfaces:
junit.framework.Test

public class ReceiptReaderTest
extends org.activemq.message.PacketTestSupport

To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments


Field Summary
private  short correlationId
           
private  short id
           
 
Fields inherited from class org.activemq.message.PacketTestSupport
packetCount, reader, wireFormat, writer
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ReceiptReaderTest()
           
 
Method Summary
protected  void assertValidPacket(org.activemq.message.Packet packet)
           
protected  org.activemq.message.Packet createPacket()
           
static void main(java.lang.String[] args)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testGetPacketType()
           
 void testReadPacket()
           
 void testTime()
           
 
Methods inherited from class org.activemq.message.PacketTestSupport
assertPacket, testReadAndWriteDataInOut, testReadAndWriteDataInOutLoop, testToFromBytes, testWireFormat
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private short id

correlationId

private short correlationId
Constructor Detail

ReceiptReaderTest

public ReceiptReaderTest()
Method Detail

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testGetPacketType

public void testGetPacketType()

testReadPacket

public void testReadPacket()

testTime

public void testTime()

assertValidPacket

protected void assertValidPacket(org.activemq.message.Packet packet)

createPacket

protected org.activemq.message.Packet createPacket()