org.mule.transport.jms.integration
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.transport.jms.integration.AbstractJmsFunctionalTestCase
All Implemented Interfaces:
Test, TestCaseWatchdogTimeoutHandler
Direct Known Subclasses:
JmsClientAcknowledgeTransactionTestCase, JmsDurableTopicTestCase, JmsExceptionStrategyTestCase, JmsMuleSideDurableTopicTestCase, JmsMuleSideDurableTopicXATxTestCase, JmsQueueTestCase, JmsQueueWithCompressionTestCase, JmsQueueWithTransactionTestCase, JmsReconnectionFunctionalMule1720TestCase, JmsSingleTransactionAlwaysBeginConfigurationTestCase, JmsSingleTransactionBeginOrJoinAndAlwaysBeginTestCase, JmsSingleTransactionComponentTestCase, JmsSingleTransactionNoneTestCase, JmsTopicTestCase, JmsTransformersTestCase, JmsXAAlwaysBeginTestCase, JmsXATransactionComponentTestCase, MessageAwareTransformersMule2685TestCase

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
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
           
protected  org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenarioCommit
           
protected  org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenarioNotReceive
           
protected  org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenarioNoTx
           
protected  org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenarioRollback
           
static long SMALL_TIMEOUT
           
static long TIMEOUT
           
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
callbackCalled, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Constructor Summary
AbstractJmsFunctionalTestCase()
           
 
Method Summary
protected  void dispatchMessage()
           
protected  void dispatchMessage(Object payload)
           
protected  void doSetUp()
           
protected  void doTearDown()
           
protected  org.mule.module.client.MuleClient getClient()
           
 Message receive(org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenario)
           
protected  org.mule.api.MuleMessage receiveMessage()
           
 void runAsynchronousDispatching()
           
 void send(org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenario)
           
 
Methods inherited from class org.mule.tck.FunctionalTestCase
getBuilder, getComponent, getComponent, getConfigResources, getConfigurationResources, loadResource, loadResourceAsString
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
configureMuleContext, createMuleContext, createTestInfo, createWatchdog, disposeManager, getName, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setName, setStartContext, setUp, suitePostTearDown, suitePreSetUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runTest, 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, failNotEquals, failNotSame, failSame
 
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

scenarioNoTx

protected org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenarioNoTx

scenarioCommit

protected org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenarioCommit

scenarioRollback

protected org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenarioRollback

scenarioNotReceive

protected org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase.Scenario scenarioNotReceive
Constructor Detail

AbstractJmsFunctionalTestCase

public AbstractJmsFunctionalTestCase()
Method Detail

dispatchMessage

protected void dispatchMessage()
                        throws Exception
Throws:
Exception

dispatchMessage

protected void dispatchMessage(Object payload)
                        throws Exception
Throws:
Exception

receiveMessage

protected org.mule.api.MuleMessage receiveMessage()
                                           throws Exception
Throws:
Exception

runAsynchronousDispatching

public void runAsynchronousDispatching()
                                throws Exception
Throws:
Exception

doSetUp

protected void doSetUp()
                throws Exception
Overrides:
doSetUp in class AbstractMuleTestCase
Throws:
Exception

doTearDown

protected void doTearDown()
                   throws Exception
Overrides:
doTearDown in class AbstractMuleTestCase
Throws:
Exception

getClient

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

send

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

receive

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


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