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

Quick Search    Search Deep

org.activemq.transport.remote
Class RemoteTransportTest  view RemoteTransportTest download RemoteTransportTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.activemq.transport.remote.RemoteTransportTest
All Implemented Interfaces:
junit.framework.Test

public class RemoteTransportTest
extends junit.framework.TestCase

Version:
$Revision: 1.1.1.1 $

Field Summary
protected  javax.jms.MessageConsumer consumer
           
protected  javax.jms.Connection consumerConnection
           
private  javax.jms.Session consumerSession
           
protected  javax.jms.MessageProducer producer
           
protected  javax.jms.Connection producerConnection
           
protected  javax.jms.Session producerSession
           
protected  org.activemq.broker.BrokerContainer remoteBroker
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
RemoteTransportTest()
           
 
Method Summary
private  void doDurableTestSetup()
           
private  void doQueueTestSetup()
           
 void doTest()
           
private  void doTopicTestSetup()
           
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 testDurableSendReceive()
           
 void xtestQueueSendReceive()
           
 void xtestTopicSendReceive()
           
 
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

remoteBroker

protected org.activemq.broker.BrokerContainer remoteBroker

producerConnection

protected javax.jms.Connection producerConnection

consumerConnection

protected javax.jms.Connection consumerConnection

consumer

protected javax.jms.MessageConsumer consumer

producer

protected javax.jms.MessageProducer producer

producerSession

protected javax.jms.Session producerSession

consumerSession

private javax.jms.Session consumerSession
Constructor Detail

RemoteTransportTest

public RemoteTransportTest()
Method Detail

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.


doDurableTestSetup

private void doDurableTestSetup()
                         throws java.lang.Exception

doTopicTestSetup

private void doTopicTestSetup()
                       throws java.lang.Exception

doQueueTestSetup

private void doQueueTestSetup()
                       throws java.lang.Exception

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.


doTest

public void doTest()
            throws java.lang.Exception

testDurableSendReceive

public void testDurableSendReceive()
                            throws java.lang.Exception

xtestTopicSendReceive

public void xtestTopicSendReceive()
                           throws java.lang.Exception

xtestQueueSendReceive

public void xtestQueueSendReceive()
                           throws java.lang.Exception