|
||||||||||
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.JndiBasedDBTestCase
public abstract class JndiBasedDBTestCase
TestCase that uses a JndiDatabaseTester.
Constructor Summary | |
---|---|
JndiBasedDBTestCase()
|
|
JndiBasedDBTestCase(java.lang.String name)
|
Method Summary | |
---|---|
protected java.util.Properties |
getJNDIProperties()
Returns the JNDI properties to use. |
protected abstract java.lang.String |
getLookupName()
Returns the JNDI lookup name for 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 JndiBasedDBTestCase()
public JndiBasedDBTestCase(java.lang.String name)
Method Detail |
---|
protected IDatabaseTester newDatabaseTester()
JndiDatabaseTester
configured
with the values returned from getJNDIProperties()
and
getLookupName()
.
newDatabaseTester
in class DBTestCase
protected abstract java.lang.String getLookupName()
protected java.util.Properties getJNDIProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |