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

Quick Search    Search Deep

org.activemq.message
Class ActiveMQMessageTest  view ActiveMQMessageTest download ActiveMQMessageTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.activemq.message.ActiveMQMessageTest
All Implemented Interfaces:
junit.framework.Test

public class ActiveMQMessageTest
extends junit.framework.TestCase

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


Field Summary
private  int[] consumerIDs
           
private  java.lang.String entryBrokerName
           
private  java.lang.String entryClusterName
           
private  java.lang.String jmsClientID
           
private  java.lang.String jmsCorrelationID
           
private  int jmsDeliveryMode
           
private  ActiveMQDestination jmsDestination
           
private  long jmsExpiration
           
private  java.lang.String jmsMessageID
           
private  int jmsPriority
           
private  boolean jmsRedelivered
           
private  ActiveMQDestination jmsReplyTo
           
private  long jmsTimestamp
           
private  java.lang.String jmsType
           
private  java.util.Map properties
           
protected  boolean readOnlyMessage
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ActiveMQMessageTest(java.lang.String arg0)
          Constructor for ActiveMQMessageTest.
 
Method Summary
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 testAcknowledge()
           
 void testClearBody()
           
 void testClearProperties()
           
 void testEqualsObject()
           
 void testGetBooleanProperty()
           
 void testGetByteProperty()
           
 void testGetConsumerIDs()
           
 void testGetDoubleProperty()
           
 void testGetEntryBrokerName()
           
 void testGetEntryClusterName()
           
 void testGetFloatProperty()
           
 void testGetIntProperty()
           
 void testGetJMSCorrelationID()
           
 void testGetJMSCorrelationIDAsBytes()
           
 void testGetJMSDeliveryMode()
           
 void testGetJMSDestination()
           
 void testGetJMSExpiration()
           
 void testGetJMSMessageID()
           
 void testGetJMSPriority()
           
 void testGetJMSRedelivered()
           
 void testGetJMSReplyTo()
           
 void testGetJMSTimestamp()
           
 void testGetJMSType()
           
 void testGetJMSXDeliveryCount()
           
 void testGetLongProperty()
           
 void testGetObjectProperty()
           
 void testGetPacketType()
           
 void testGetProperties()
           
 void testGetPropertyNames()
           
 void testGetShortProperty()
           
 void testGetStringProperty()
           
 void testHashCode()
           
 void testInitializeOther()
           
 void testPropertyExists()
           
 void testSetEmptyPropertyName()
           
 void testSetJMSCorrelationID()
           
 void testSetJMSCorrelationIDAsBytes()
           
 void testSetJMSDeliveryMode()
           
 void testSetJMSDestination()
           
 void testSetJMSExpiration()
           
 void testSetJMSMessageID()
           
 void testSetJMSPriority()
           
 void testSetJMSRedelivered()
           
 void testSetJMSReplyTo()
           
 void testSetJMSTimestamp()
           
 void testSetJMSType()
           
 void testSetNullProperty()
           
 void testSetNullPropertyName()
           
 void testSetObjectProperty()
           
 void testSetReadOnly()
           
 void testShallowCopy()
           
 
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

jmsMessageID

private java.lang.String jmsMessageID

jmsClientID

private java.lang.String jmsClientID

jmsCorrelationID

private java.lang.String jmsCorrelationID

jmsDestination

private ActiveMQDestination jmsDestination

jmsReplyTo

private ActiveMQDestination jmsReplyTo

jmsDeliveryMode

private int jmsDeliveryMode

jmsRedelivered

private boolean jmsRedelivered

jmsType

private java.lang.String jmsType

jmsExpiration

private long jmsExpiration

jmsPriority

private int jmsPriority

jmsTimestamp

private long jmsTimestamp

properties

private java.util.Map properties

readOnlyMessage

protected boolean readOnlyMessage

entryBrokerName

private java.lang.String entryBrokerName

entryClusterName

private java.lang.String entryClusterName

consumerIDs

private int[] consumerIDs
Constructor Detail

ActiveMQMessageTest

public ActiveMQMessageTest(java.lang.String arg0)
Constructor for ActiveMQMessageTest.

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.


testHashCode

public void testHashCode()
                  throws java.lang.Exception

testGetPacketType

public void testGetPacketType()

testSetReadOnly

public void testSetReadOnly()

testEqualsObject

public void testEqualsObject()

testShallowCopy

public void testShallowCopy()
                     throws java.lang.Exception

testInitializeOther

public void testInitializeOther()

testGetJMSMessageID

public void testGetJMSMessageID()

testSetJMSMessageID

public void testSetJMSMessageID()

testGetJMSTimestamp

public void testGetJMSTimestamp()

testSetJMSTimestamp

public void testSetJMSTimestamp()

testGetJMSCorrelationIDAsBytes

public void testGetJMSCorrelationIDAsBytes()

testSetJMSCorrelationIDAsBytes

public void testSetJMSCorrelationIDAsBytes()

testSetJMSCorrelationID

public void testSetJMSCorrelationID()

testGetJMSCorrelationID

public void testGetJMSCorrelationID()

testGetJMSReplyTo

public void testGetJMSReplyTo()

testSetJMSReplyTo

public void testSetJMSReplyTo()

testGetJMSDestination

public void testGetJMSDestination()

testSetJMSDestination

public void testSetJMSDestination()

testGetJMSDeliveryMode

public void testGetJMSDeliveryMode()

testSetJMSDeliveryMode

public void testSetJMSDeliveryMode()

testGetJMSRedelivered

public void testGetJMSRedelivered()

testSetJMSRedelivered

public void testSetJMSRedelivered()

testGetJMSType

public void testGetJMSType()

testSetJMSType

public void testSetJMSType()

testGetJMSExpiration

public void testGetJMSExpiration()

testSetJMSExpiration

public void testSetJMSExpiration()

testGetJMSPriority

public void testGetJMSPriority()

testSetJMSPriority

public void testSetJMSPriority()

testClearProperties

public void testClearProperties()

testPropertyExists

public void testPropertyExists()

testGetBooleanProperty

public void testGetBooleanProperty()
                            throws javax.jms.JMSException

testGetByteProperty

public void testGetByteProperty()
                         throws javax.jms.JMSException

testGetShortProperty

public void testGetShortProperty()
                          throws javax.jms.JMSException

testGetIntProperty

public void testGetIntProperty()
                        throws javax.jms.JMSException

testGetLongProperty

public void testGetLongProperty()
                         throws javax.jms.JMSException

testGetFloatProperty

public void testGetFloatProperty()
                          throws javax.jms.JMSException

testGetDoubleProperty

public void testGetDoubleProperty()
                           throws javax.jms.JMSException

testGetStringProperty

public void testGetStringProperty()
                           throws javax.jms.JMSException

testGetObjectProperty

public void testGetObjectProperty()
                           throws javax.jms.JMSException

testGetPropertyNames

public void testGetPropertyNames()
                          throws javax.jms.JMSException

testGetProperties

public void testGetProperties()
                       throws javax.jms.JMSException

testSetObjectProperty

public void testSetObjectProperty()
                           throws javax.jms.JMSException

testSetNullProperty

public void testSetNullProperty()
                         throws javax.jms.JMSException

testSetNullPropertyName

public void testSetNullPropertyName()
                             throws javax.jms.JMSException

testSetEmptyPropertyName

public void testSetEmptyPropertyName()
                              throws javax.jms.JMSException

testGetJMSXDeliveryCount

public void testGetJMSXDeliveryCount()
                              throws javax.jms.JMSException

testAcknowledge

public void testAcknowledge()

testClearBody

public void testClearBody()

testGetEntryBrokerName

public void testGetEntryBrokerName()

testGetEntryClusterName

public void testGetEntryClusterName()

testGetConsumerIDs

public void testGetConsumerIDs()