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

Quick Search    Search Deep

org.activemq.service
Class SimpleTopicBrokerTest  view SimpleTopicBrokerTest download SimpleTopicBrokerTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.activemq.service.BrokerTestSupport
              extended byorg.activemq.service.SimpleTopicBrokerTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AsyncSimpleBrokerTest, SimpleQueueBrokerTest

public class SimpleTopicBrokerTest
extends BrokerTestSupport

Version:
$Revision: 1.1.1.1 $

Field Summary
protected  org.activemq.broker.BrokerClientStub client
           
protected  org.activemq.message.ConsumerInfo consumerInfo
           
 
Fields inherited from class org.activemq.service.BrokerTestSupport
broker, filterFactory, idGenerator
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SimpleTopicBrokerTest()
           
 
Method Summary
protected  java.lang.String getDestination()
           
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 testDispatch()
           
 
Methods inherited from class org.activemq.service.BrokerTestSupport
createConsumer, createConsumer, createDestination, createFilter, createMessage, createStore, isTopic
 
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

client

protected org.activemq.broker.BrokerClientStub client

consumerInfo

protected org.activemq.message.ConsumerInfo consumerInfo
Constructor Detail

SimpleTopicBrokerTest

public SimpleTopicBrokerTest()
Method Detail

testDispatch

public void testDispatch()
                  throws java.lang.Exception

getDestination

protected java.lang.String getDestination()

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.

Overrides:
setUp in class BrokerTestSupport

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.

Overrides:
tearDown in class BrokerTestSupport