|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.dbunit.DatabaseTestCase
Constructor Summary | |
DatabaseTestCase()
|
|
DatabaseTestCase(java.lang.String name)
|
Method Summary | |
protected void |
closeConnection(IDatabaseConnection connection)
Close the specified connection. |
protected abstract IDatabaseConnection |
getConnection()
Returns the test database connection. |
protected abstract IDataSet |
getDataSet()
Returns the test dataset. |
protected DatabaseOperation |
getSetUpOperation()
Returns the database operation executed in test setup. |
protected DatabaseOperation |
getTearDownOperation()
Returns the database operation executed in test cleanup. |
protected void |
setUp()
|
protected void |
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 DatabaseTestCase()
public DatabaseTestCase(java.lang.String name)
Method Detail |
protected abstract IDatabaseConnection getConnection() throws java.lang.Exception
java.lang.Exception
protected abstract IDataSet getDataSet() throws java.lang.Exception
java.lang.Exception
protected void closeConnection(IDatabaseConnection connection) throws java.lang.Exception
java.lang.Exception
protected DatabaseOperation getSetUpOperation() throws java.lang.Exception
java.lang.Exception
protected DatabaseOperation getTearDownOperation() throws java.lang.Exception
java.lang.Exception
protected void setUp() throws java.lang.Exception
java.lang.Exception
protected void tearDown() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |