|
|||||||||||
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 net.sf.oness.common.model.testing.SpringDatabaseTestCase
DatabaseTestCase base class that uses Spring DataSource
Constructor Summary | |
SpringDatabaseTestCase()
|
|
SpringDatabaseTestCase(java.lang.String name)
|
Method Summary | |
protected org.dbunit.database.IDatabaseConnection |
getConnection()
Gets connection from DataSource defined ApplicationContext with bean name "dataSource" |
protected org.dbunit.dataset.IDataSet |
getDataSet()
Gets dataset from xml file "dbunit.xml" or "src/test/dbunit.xml", or xls files "dbunit.xls" or "src/test/dbunit.xls", the first that exists. |
Methods inherited from class org.dbunit.DatabaseTestCase |
closeConnection, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SpringDatabaseTestCase()
public SpringDatabaseTestCase(java.lang.String name)
Method Detail |
protected org.dbunit.database.IDatabaseConnection getConnection() throws java.lang.Exception
java.lang.Exception
DatabaseTestCase.getConnection()
protected org.dbunit.dataset.IDataSet getDataSet() throws java.lang.Exception
java.lang.Exception
DatabaseTestCase.getDataSet()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |