|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.openutils.testing.testng.SpringTestCase
it.openutils.testing.testng.DbUnitTestCase
AbstractDbUnitTestNGSpringContextTests
@Deprecated public class DbUnitTestCase
| Field Summary | |
|---|---|
protected static org.dbunit.dataset.IDataSet |
truncateDataSet
Deprecated. |
| Fields inherited from class it.openutils.testing.testng.SpringTestCase |
|---|
ctx, DEFAULT_TEST_CONTEXT_FILE, log |
| Constructor Summary | |
|---|---|
DbUnitTestCase()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
exportDbToXls(java.lang.String fileName)
Deprecated. Exports a database to an Excel file |
protected java.lang.String |
getSchema()
Deprecated. Optional schema (needed for ORACLE). |
protected org.dbunit.dataset.filter.ITableFilter |
getTableFilter()
Deprecated. Returns the table filter that will be used to exclude certain tables from sort/deletion. |
protected boolean |
mimicSessionFilter()
Deprecated. Should use deferred close emulating the spring OpenSessionInView filter? Default is true |
protected void |
setUpDbUnit()
Deprecated. Setup the Database before running the test method. |
protected void |
tearDownDbUnit()
Deprecated. Cleans the database after we run the tests. |
| Methods inherited from class it.openutils.testing.testng.SpringTestCase |
|---|
initAppContextBeanDefinitionReader, setUpSpring |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.dbunit.dataset.IDataSet truncateDataSet
| Constructor Detail |
|---|
public DbUnitTestCase()
| Method Detail |
|---|
protected java.lang.String getSchema()
nullprotected boolean mimicSessionFilter()
true
true if deferred close should be usedprotected org.dbunit.dataset.filter.ITableFilter getTableFilter()
ITableFilter
protected void setUpDbUnit()
throws java.lang.Exception
java.lang.Exception - Any exception.
protected void exportDbToXls(java.lang.String fileName)
throws java.io.IOException,
org.dbunit.dataset.DataSetException,
java.sql.SQLException
fileName - The file name we save the Excel dump to.
java.io.IOException - An IO Exception.
org.dbunit.dataset.DataSetException - A dataset exception.
java.sql.SQLException - A SQL Exception.
protected void tearDownDbUnit()
throws java.lang.Exception
java.lang.Exception - Any exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||