public class ConnectionTransactionMethodsTest extends BaseTest
| Constructor and Description |
|---|
ConnectionTransactionMethodsTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpConnection() |
static void |
tearDownConnection() |
void |
testCommitThrows() |
void |
testGetAutoCommitSaysAuto() |
void |
testGetTransactionIsolationSaysNone() |
void |
testReleaseSavepoint() |
void |
testRollbackSavepoint() |
void |
testRollbackThrows() |
void |
testSetAutoCommitTrueExitsNormally() |
void |
testSetSavepointNamed() |
void |
testSetSavepointUnamed() |
void |
testSetTransactionIsolationBadIntegerThrows() |
void |
testSetTransactionIsolationNoneExitsNormally() |
void |
testSetTransactionIsolationReadCommittedThrows() |
void |
testSetTransactionIsolationReadUncommittedThrows() |
void |
testSetTransactionIsolationRepeatableReadThrows() |
void |
testSetTransactionIsolationSerializableThrows() |
public static void setUpConnection()
throws SQLException
SQLExceptionpublic static void tearDownConnection()
throws SQLException
SQLExceptionpublic void testGetTransactionIsolationSaysNone()
throws SQLException
SQLExceptionpublic void testSetTransactionIsolationNoneExitsNormally()
throws SQLException
SQLExceptionpublic void testSetTransactionIsolationReadUncommittedThrows()
throws SQLException
SQLExceptionpublic void testSetTransactionIsolationReadCommittedThrows()
throws SQLException
SQLExceptionpublic void testSetTransactionIsolationRepeatableReadThrows()
throws SQLException
SQLExceptionpublic void testSetTransactionIsolationSerializableThrows()
throws SQLException
SQLExceptionpublic void testSetTransactionIsolationBadIntegerThrows()
throws SQLException
SQLExceptionpublic void testGetAutoCommitSaysAuto()
throws SQLException
SQLExceptionpublic void testSetAutoCommitTrueExitsNormally()
throws SQLException
SQLExceptionpublic void testCommitThrows()
throws SQLException
SQLExceptionpublic void testRollbackThrows()
throws SQLException
SQLExceptionpublic void testSetSavepointUnamed()
throws SQLException
SQLExceptionpublic void testSetSavepointNamed()
throws SQLException
SQLExceptionpublic void testRollbackSavepoint()
throws SQLException
SQLExceptionpublic void testReleaseSavepoint()
throws SQLException
SQLExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.