public class ErrorHandlingExecutionTemplateTestCase extends AbstractMuleTestCase
Modifier and Type | Field and Description |
---|---|
protected MessagingExceptionHandler |
mockMessagingExceptionHandler |
protected TestTransaction |
mockTransaction |
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
ErrorHandlingExecutionTemplateTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
testFailureException() |
void |
testSuccessfulExecution() |
void |
testSuspendedTransactionNotResumedAndNewTransactionResolvedOnException() |
void |
testSuspendedTransactionNotResumedOnException() |
void |
testTransactionIsMarkedRollbackOnExceptionByDefault() |
void |
testTransactionIsNotRollbackOnClassExactlyPatternException() |
void |
testTransactionIsNotRollbackOnClassHierarchyPatternException() |
void |
testTransactionIsNotRollbackOnEveryException() |
void |
testTransactionIsNotRollbackOnMatcherRegexPatternException() |
void |
testTransactionIsResolved() |
void |
testTransactionIsRollbackOnPatternAppliesToRollbackAndCommit() |
void |
unbindTransaction() |
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
@Spy protected TestTransaction mockTransaction
@Mock protected MessagingExceptionHandler mockMessagingExceptionHandler
public ErrorHandlingExecutionTemplateTestCase()
public void testTransactionIsMarkedRollbackOnExceptionByDefault() throws Exception
Exception
public void testTransactionIsNotRollbackOnEveryException() throws Exception
Exception
public void testTransactionIsNotRollbackOnMatcherRegexPatternException() throws Exception
Exception
public void testTransactionIsNotRollbackOnClassHierarchyPatternException() throws Exception
Exception
public void testTransactionIsNotRollbackOnClassExactlyPatternException() throws Exception
Exception
public void testTransactionIsRollbackOnPatternAppliesToRollbackAndCommit() throws Exception
Exception
public void testSuspendedTransactionNotResumedOnException() throws Exception
Exception
public void testSuspendedTransactionNotResumedAndNewTransactionResolvedOnException() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.