org.mule.execution
Class TransactionalExecutionTemplateTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.execution.TransactionalExecutionTemplateTestCase
- Direct Known Subclasses:
- TransactionalErrorHandlingExecutionTemplateTestCase
public class TransactionalExecutionTemplateTestCase
- extends AbstractMuleTestCase
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase |
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mockMuleContext
protected MuleContext mockMuleContext
RETURN_VALUE
@Mock
protected MuleEvent RETURN_VALUE
mockTransaction
@Spy
protected TestTransaction mockTransaction
mockNewTransaction
@Spy
protected TestTransaction mockNewTransaction
mockExternalTransactionFactory
@Mock
protected ExternalTransactionAwareTransactionFactory mockExternalTransactionFactory
mockMessagingException
@Mock
protected MessagingException mockMessagingException
mockEvent
@Mock(answer=RETURNS_DEEP_STUBS)
protected MuleEvent mockEvent
mockMessagingExceptionHandler
@Mock
protected MessagingExceptionHandler mockMessagingExceptionHandler
TransactionalExecutionTemplateTestCase
public TransactionalExecutionTemplateTestCase()
unbindTransaction
public void unbindTransaction()
throws Exception
- Throws:
Exception
testActionIndifferentConfig
public void testActionIndifferentConfig()
throws Exception
- Throws:
Exception
testActionNeverAndNoTx
public void testActionNeverAndNoTx()
throws Exception
- Throws:
Exception
testActionNeverAndTx
public void testActionNeverAndTx()
throws Exception
- Throws:
Exception
testActionNoneAndNoTx
public void testActionNoneAndNoTx()
throws Exception
- Throws:
Exception
testActionNoneAndTxForCommit
public void testActionNoneAndTxForCommit()
throws Exception
- Throws:
Exception
testActionNoneAndTxForRollback
public void testActionNoneAndTxForRollback()
throws Exception
- Throws:
Exception
testActionNoneAndXaTx
public void testActionNoneAndXaTx()
throws Exception
- Throws:
Exception
testActionNoneAndWithExternalTransactionWithNoTx
public void testActionNoneAndWithExternalTransactionWithNoTx()
throws Exception
- Throws:
Exception
testActionNoneAndWithExternalTransactionWithTx
public void testActionNoneAndWithExternalTransactionWithTx()
throws Exception
- Throws:
Exception
testActionAlwaysBeginAndNoTx
public void testActionAlwaysBeginAndNoTx()
throws Exception
- Throws:
Exception
testActionAlwaysBeginAndCommitTxAndCommitNewTx
public void testActionAlwaysBeginAndCommitTxAndCommitNewTx()
throws Exception
- Throws:
Exception
testActionAlwaysBeginAndRollbackTxAndCommitNewTx
public void testActionAlwaysBeginAndRollbackTxAndCommitNewTx()
throws Exception
- Throws:
Exception
testActionAlwaysBeginAndRollbackTxAndRollbackNewTx
public void testActionAlwaysBeginAndRollbackTxAndRollbackNewTx()
throws Exception
- Throws:
Exception
testActionAlwaysBeginAndSuspendXaTxAndCommitNewTx
public void testActionAlwaysBeginAndSuspendXaTxAndCommitNewTx()
throws Exception
- Throws:
Exception
testActionAlwaysBeginAndSuspendXaTxAndRollbackNewTx
public void testActionAlwaysBeginAndSuspendXaTxAndRollbackNewTx()
throws Exception
- Throws:
Exception
testActionAlwaysJoinAndNoTx
public void testActionAlwaysJoinAndNoTx()
throws Exception
- Throws:
Exception
testActionAlwaysJoinAndTx
public void testActionAlwaysJoinAndTx()
throws Exception
- Throws:
Exception
testActionBeginOrJoinAndNoTx
public void testActionBeginOrJoinAndNoTx()
throws Exception
- Throws:
Exception
testActionBeginOrJoinAndTx
public void testActionBeginOrJoinAndTx()
throws Exception
- Throws:
Exception
testActionJoinIfPossibleAndNoTx
public void testActionJoinIfPossibleAndNoTx()
throws Exception
- Throws:
Exception
testActionJoinIfPossibleAndTx
public void testActionJoinIfPossibleAndTx()
throws Exception
- Throws:
Exception
createExecutionTemplate
protected ExecutionTemplate createExecutionTemplate(MuleTransactionConfig config)
getEmptyTransactionCallback
protected ExecutionCallback getEmptyTransactionCallback()
getRollbackTransactionCallback
protected ExecutionCallback getRollbackTransactionCallback()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.