org.mule.test.integration.providers.jms.functional
Class AbstractJmsFunctionalTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.tck.FunctionalTestCase
                  extended by org.mule.test.integration.providers.jms.functional.AbstractJmsFunctionalTestCase
All Implemented Interfaces:
Test, org.mule.tck.TestCaseWatchdogTimeoutHandler
Direct Known Subclasses:
JmsClientAcknowledgeTransactionTestCase, JmsDurableTopicTestCase, JmsMuleSideDurableTopicTestCase, JmsMuleSideDurableTopicXATxTestCase, JmsSingleTransactionAlwaysBeginConfigurationTestCase, JmsSingleTransactionBeginOrJoinAndAlwaysBeginTestCase, JmsSingleTransactionComponentTestCase, JmsSingleTransactionNoneTestCase, JmsTopicTestCase, JmsXAAlwaysBeginTestCase, JmsXATransactionComponentTestCase

public abstract class AbstractJmsFunctionalTestCase
extends org.mule.tck.FunctionalTestCase

The main idea


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
org.mule.tck.AbstractMuleTestCase.TestInfo
 
Field Summary
static String CONNECTOR_NAME
           
static String DEFAULT_BROKER_URL
           
static String DEFAULT_INPUT_MESSAGE
           
static String DEFAULT_INPUT_MQ_QUEUE_NAME
           
static String DEFAULT_INPUT_MULE_QUEUE_NAME
           
static String DEFAULT_OUTPUT_MESSAGE
           
static String DEFAULT_OUTPUT_MQ_QUEUE_NAME
           
static String DEFAULT_OUTPUT_MULE_QUEUE_NAME
           
static long LOCK_WAIT
           
static long SMALL_TIMEOUT
           
static long TIMEOUT
           
 
Fields inherited from class org.mule.tck.FunctionalTestCase
DEFAULT_BUILDER_CLASS
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
IGNORED_DOT_MULE_DIRS, logger
 
Constructor Summary
AbstractJmsFunctionalTestCase()
           
 
Method Summary
protected  void dispatchMessage()
           
protected  void doFunctionalTearDown()
           
protected  void doPreFunctionalSetUp()
           
protected  org.mule.extras.client.MuleClient getClient()
           
 Message receive(org.mule.test.integration.providers.jms.functional.AbstractJmsFunctionalTestCase.Scenario scenario)
           
protected  org.mule.umo.UMOMessage recieveMessage()
           
 void runAsynchronousDispatching()
           
 void send(org.mule.test.integration.providers.jms.functional.AbstractJmsFunctionalTestCase.Scenario scenario)
           
 
Methods inherited from class org.mule.tck.FunctionalTestCase
doPostFunctionalSetUp, doSetUp, doTearDown, getBuilder, getConfigResources, setupManager, suitePreSetUp
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
createTestInfo, createWatchdog, disposeManager, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, run, runBare, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreTearDown, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, 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_BROKER_URL

public static final String DEFAULT_BROKER_URL
See Also:
Constant Field Values

DEFAULT_INPUT_MESSAGE

public static final String DEFAULT_INPUT_MESSAGE
See Also:
Constant Field Values

DEFAULT_OUTPUT_MESSAGE

public static final String DEFAULT_OUTPUT_MESSAGE
See Also:
Constant Field Values

DEFAULT_INPUT_MQ_QUEUE_NAME

public static final String DEFAULT_INPUT_MQ_QUEUE_NAME
See Also:
Constant Field Values

DEFAULT_INPUT_MULE_QUEUE_NAME

public static final String DEFAULT_INPUT_MULE_QUEUE_NAME
See Also:
Constant Field Values

DEFAULT_OUTPUT_MQ_QUEUE_NAME

public static final String DEFAULT_OUTPUT_MQ_QUEUE_NAME
See Also:
Constant Field Values

DEFAULT_OUTPUT_MULE_QUEUE_NAME

public static final String DEFAULT_OUTPUT_MULE_QUEUE_NAME
See Also:
Constant Field Values

TIMEOUT

public static final long TIMEOUT
See Also:
Constant Field Values

SMALL_TIMEOUT

public static final long SMALL_TIMEOUT
See Also:
Constant Field Values

LOCK_WAIT

public static final long LOCK_WAIT
See Also:
Constant Field Values

CONNECTOR_NAME

public static final String CONNECTOR_NAME
See Also:
Constant Field Values
Constructor Detail

AbstractJmsFunctionalTestCase

public AbstractJmsFunctionalTestCase()
Method Detail

dispatchMessage

protected void dispatchMessage()
                        throws Exception
Throws:
Exception

recieveMessage

protected org.mule.umo.UMOMessage recieveMessage()
                                          throws Exception
Throws:
Exception

runAsynchronousDispatching

public void runAsynchronousDispatching()
                                throws Exception
Throws:
Exception

doPreFunctionalSetUp

protected void doPreFunctionalSetUp()
                             throws Exception
Overrides:
doPreFunctionalSetUp in class org.mule.tck.FunctionalTestCase
Throws:
Exception

doFunctionalTearDown

protected void doFunctionalTearDown()
                             throws Exception
Overrides:
doFunctionalTearDown in class org.mule.tck.FunctionalTestCase
Throws:
Exception

getClient

protected org.mule.extras.client.MuleClient getClient()

send

public void send(org.mule.test.integration.providers.jms.functional.AbstractJmsFunctionalTestCase.Scenario scenario)
          throws Exception
Throws:
Exception

receive

public Message receive(org.mule.test.integration.providers.jms.functional.AbstractJmsFunctionalTestCase.Scenario scenario)
                throws Exception
Throws:
Exception


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.