|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sourceforge.jtds.test.TestBase
net.sourceforge.jtds.test.SavepointTest
Field Summary |
Fields inherited from class net.sourceforge.jtds.test.TestBase |
con, props |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
SavepointTest(java.lang.String name)
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
testSavepoint1()
tests if rolling back to a savepoint restores the correct DB state |
void |
testSavepoint2()
rollback zu einem savepoint, dann test, ob weiter mit dem safepoint-objekt gearbeitet werden kann |
void |
testSavepoint3()
|
void |
testSavepoint4()
Test to ensure savepoint ids restart at 1. |
void |
testSavepoint5()
Test to ensure savepoints can be created even when no statements have been issued. |
void |
testSavepoint6()
test for bug [2818256] ensure a savepoint is still valid after rollback |
void |
testSavepoint7()
roll back to one savepoint and ensure earlier savepoints are still valid |
void |
testSavepoint8()
Test to ensure savepoints cannot be created in auto-commit mode (Bug [2021839]). |
void |
testSavepoint9()
Test for bug [2021839], connection is rolled back instead of being committed if setSavepoint is the first operation. |
Methods inherited from class net.sourceforge.jtds.test.TestBase |
compareInputStreams, compareReaders, connect, dump, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SavepointTest(java.lang.String name)
Method Detail |
public void testSavepoint1() throws java.lang.Exception
java.lang.Exception
public void testSavepoint2() throws java.lang.Exception
java.lang.Exception
public void testSavepoint3() throws java.lang.Exception
java.lang.Exception
public void testSavepoint4() throws java.lang.Exception
java.lang.Exception
public void testSavepoint5() throws java.lang.Exception
java.lang.Exception
public void testSavepoint6() throws java.lang.Exception
java.lang.Exception
public void testSavepoint7() throws java.lang.Exception
java.lang.Exception
public void testSavepoint8()
public void testSavepoint9() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |