public class JdbcTransactionTestCase extends AbstractMuleTestCase
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
expectedException |
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
JdbcTransactionTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
closeConnectionIfCommitOk() |
void |
closeConnectionIfErrorOnCommit() |
void |
closeConnectionIfErrorOnRollback() |
void |
closeConnectionIfRollbackOk() |
void |
ensureConnectionCloseWasCalled() |
void |
initializeMocks() |
void |
raiseCloseExceptionAfterCommitOk() |
void |
raiseCloseExceptionAfterRollbackOk() |
void |
raiseCommitExceptionIfCommitAndCloseFail() |
void |
raiseRollbackExceptionIfRollbackAndCloseFail() |
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public org.junit.rules.ExpectedException expectedException
public void initializeMocks() throws SQLException, TransactionException
SQLException
TransactionException
public void ensureConnectionCloseWasCalled() throws SQLException
SQLException
public void closeConnectionIfErrorOnCommit() throws Exception
Exception
public void closeConnectionIfErrorOnRollback() throws Exception
Exception
public void closeConnectionIfCommitOk() throws Exception
Exception
public void closeConnectionIfRollbackOk() throws Exception
Exception
public void raiseCloseExceptionAfterCommitOk() throws Exception
Exception
public void raiseCloseExceptionAfterRollbackOk() throws Exception
Exception
public void raiseCommitExceptionIfCommitAndCloseFail() throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.