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

Quick Search    Search Deep

org.activemq.broker
Class BrokerAdminTest  view BrokerAdminTest download BrokerAdminTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.activemq.test.TestSupport
              extended byorg.activemq.broker.BrokerAdminTest
All Implemented Interfaces:
junit.framework.Test

public class BrokerAdminTest
extends org.activemq.test.TestSupport

Version:
$Revision: 1.1.1.1 $

Field Summary
protected  BrokerContainer container
           
private static java.lang.String TEST_QUEUE_NAME
           
static java.lang.String URL
           
 
Fields inherited from class org.activemq.test.TestSupport
connectionFactory, log, topic
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
BrokerAdminTest()
           
 
Method Summary
private  BrokerAdmin getBrokerAdmin()
           
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 testCreateQueue()
           
 void testDeleteQueue()
           
 void testInitialState()
           
 
Methods inherited from class org.activemq.test.TestSupport
assertEquals, assertEquals, assertEquals, assertTextMessageEqual, assertTextMessagesEqual, assertTextMessagesEqual, createConnection, createConnectionFactory, createDestination, createMessage, getConnectionFactory, getConsumerSubject, getProducerSubject, getSubject
 
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

TEST_QUEUE_NAME

private static final java.lang.String TEST_QUEUE_NAME
See Also:
Constant Field Values

URL

public static final java.lang.String URL
See Also:
Constant Field Values

container

protected BrokerContainer container
Constructor Detail

BrokerAdminTest

public BrokerAdminTest()
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.


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.


testInitialState

public void testInitialState()
                      throws javax.jms.JMSException

testCreateQueue

public void testCreateQueue()
                     throws javax.jms.JMSException

testDeleteQueue

public void testDeleteQueue()
                     throws javax.jms.JMSException

getBrokerAdmin

private BrokerAdmin getBrokerAdmin()