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

Quick Search    Search Deep

org.activemq.ra
Class ManagedConnectionFactoryTest  view ManagedConnectionFactoryTest download ManagedConnectionFactoryTest.java

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

public class ManagedConnectionFactoryTest
extends junit.framework.TestCase

Version:
$Revision: 1.1.1.1 $

Field Summary
protected  org.activemq.broker.BrokerContainer broker
           
protected static java.lang.String DEFAULT_HOST
           
protected  ActiveMQManagedConnectionFactory managedConnectionFactory
           
protected static java.lang.String REMOTE_HOST
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ManagedConnectionFactoryTest()
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void startBroker()
           
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testConnectionFactoryAllocation()
           
 void testConnectionFactoryConnectionMatching()
           
 void testConnectionFactoryIsSerializableAndReferenceable()
           
 void testImplementsQueueAndTopicConnectionFactory()
           
 
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

DEFAULT_HOST

protected static final java.lang.String DEFAULT_HOST
See Also:
Constant Field Values

REMOTE_HOST

protected static final java.lang.String REMOTE_HOST
See Also:
Constant Field Values

managedConnectionFactory

protected ActiveMQManagedConnectionFactory managedConnectionFactory

broker

protected org.activemq.broker.BrokerContainer broker
Constructor Detail

ManagedConnectionFactoryTest

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


startBroker

protected void startBroker()
                    throws javax.jms.JMSException

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.


testConnectionFactoryAllocation

public void testConnectionFactoryAllocation()
                                     throws javax.resource.ResourceException,
                                            javax.jms.JMSException

testConnectionFactoryConnectionMatching

public void testConnectionFactoryConnectionMatching()
                                             throws javax.resource.ResourceException,
                                                    javax.jms.JMSException

testConnectionFactoryIsSerializableAndReferenceable

public void testConnectionFactoryIsSerializableAndReferenceable()
                                                         throws javax.resource.ResourceException,
                                                                javax.jms.JMSException

testImplementsQueueAndTopicConnectionFactory

public void testImplementsQueueAndTopicConnectionFactory()
                                                  throws java.lang.Exception