|
||||||||||
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 org.dbunit.DBTestCase org.dbunit.DataSourceBasedDBTestCase
public abstract class DataSourceBasedDBTestCase
TestCase that uses a DataSourceDatabaseTester.
Constructor Summary | |
---|---|
DataSourceBasedDBTestCase()
|
|
DataSourceBasedDBTestCase(java.lang.String name)
|
Method Summary | |
---|---|
protected abstract javax.sql.DataSource |
getDataSource()
Returns the test DataSource. |
protected IDatabaseTester |
newDatabaseTester()
Creates a new IDatabaseTester. |
Methods inherited from class org.dbunit.DBTestCase |
---|
getConnection |
Methods inherited from class org.dbunit.DatabaseTestCase |
---|
closeConnection, getDatabaseTester, getDataSet, getSetUpOperation, getTearDownOperation, 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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataSourceBasedDBTestCase()
public DataSourceBasedDBTestCase(java.lang.String name)
Method Detail |
---|
protected IDatabaseTester newDatabaseTester()
DataSourceDatabaseTester
configured with the value returned from getDataSource()
.
newDatabaseTester
in class DBTestCase
protected abstract javax.sql.DataSource getDataSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |