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

Quick Search    Search Deep

org.activemq.usecases
Class PersistentDurableTopicSystemTest  view PersistentDurableTopicSystemTest download PersistentDurableTopicSystemTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.activemq.usecases.SystemTest
              extended byorg.activemq.usecases.PersistentDurableTopicSystemTest
All Implemented Interfaces:
javax.jms.MessageListener, junit.framework.Test

public class PersistentDurableTopicSystemTest
extends SystemTest


Field Summary
 
Fields inherited from class org.activemq.usecases.SystemTest
ACTIVEMQ_SERVER, LAST_MESSAGE, ProducerMap, TOOL_DEFAULT, TRANSACTED_FALSE
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
PersistentDurableTopicSystemTest()
           
 
Method Summary
protected  void setUp()
          Sets up the resources of the unit test.
protected  void tearDown()
          Clears up the resources used in the unit test.
 void testPersistentDurableTopicMessageA()
          Unit test for persistent durable topic messages with the following settings: 1 Producer, 1 Consumer, 1 Subject, 10 Messages
 void testPersistentDurableTopicMessageB()
          Unit test for persistent durable topic messages with the following settings: 10 Producers, 10 Consumers, 1 Subject, 10 Messages
 void testPersistentDurableTopicMessageC()
          Unit test for persistent durable topic messages with the following settings: 10 Producers, 10 Consumers, 10 Subjects, 10 Messages
 
Methods inherited from class org.activemq.usecases.SystemTest
createPersistenceAdapter, doTest, getSubjects, onMessage, publish, publish, resetProducerMap, subscribe, subscribe, testParameterSettings, timerLoop
 
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
 

Constructor Detail

PersistentDurableTopicSystemTest

public PersistentDurableTopicSystemTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Sets up the resources of the unit test.

Overrides:
setUp in class SystemTest

tearDown

protected void tearDown()
                 throws java.lang.Exception
Clears up the resources used in the unit test.

Overrides:
tearDown in class SystemTest

testPersistentDurableTopicMessageA

public void testPersistentDurableTopicMessageA()
                                        throws java.lang.Exception
Unit test for persistent durable topic messages with the following settings: 1 Producer, 1 Consumer, 1 Subject, 10 Messages


testPersistentDurableTopicMessageB

public void testPersistentDurableTopicMessageB()
                                        throws java.lang.Exception
Unit test for persistent durable topic messages with the following settings: 10 Producers, 10 Consumers, 1 Subject, 10 Messages


testPersistentDurableTopicMessageC

public void testPersistentDurableTopicMessageC()
                                        throws java.lang.Exception
Unit test for persistent durable topic messages with the following settings: 10 Producers, 10 Consumers, 10 Subjects, 10 Messages