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

Quick Search    Search Deep

org.activemq.transport.openwire.io
Class BrokerInfoMarshallerTest  view BrokerInfoMarshallerTest download BrokerInfoMarshallerTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.activemq.transport.openwire.PacketMarshallerTestSupport
              extended byorg.activemq.transport.openwire.io.BrokerInfoMarshallerTest
All Implemented Interfaces:
junit.framework.Test

public class BrokerInfoMarshallerTest
extends org.activemq.transport.openwire.PacketMarshallerTestSupport

AUTOGENERATED test case for OpenWire command BrokerInfo

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class org.activemq.transport.openwire.PacketMarshallerTestSupport
directory, marshaller, wireformat
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
BrokerInfoMarshallerTest()
           
 
Method Summary
protected  void assertPacketValid(org.activemq.message.Packet packet)
          Asserts that the read packet has the correct values
protected  org.activemq.io.impl.AbstractPacketMarshaller createMarshaller()
           
protected  void populatePacket(org.activemq.message.Packet packet)
          configures the packet with some test data
 
Methods inherited from class org.activemq.transport.openwire.PacketMarshallerTestSupport
setUp, testCreateThenWriteToFileThenReadBack
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 

Constructor Detail

BrokerInfoMarshallerTest

public BrokerInfoMarshallerTest()
Method Detail

createMarshaller

protected org.activemq.io.impl.AbstractPacketMarshaller createMarshaller()

populatePacket

protected void populatePacket(org.activemq.message.Packet packet)
                       throws java.lang.Exception
configures the packet with some test data


assertPacketValid

protected void assertPacketValid(org.activemq.message.Packet packet)
                          throws java.lang.Exception
Asserts that the read packet has the correct values