org.jboss.seam.mock
Class DBUnitSeamTest.DataSetOperation
java.lang.Object
org.jboss.seam.mock.DBUnitSeamTest.DataSetOperation
- Enclosing class:
- DBUnitSeamTest
protected static class DBUnitSeamTest.DataSetOperation
- extends Object
DBUnitSeamTest.DataSetOperation
protected DBUnitSeamTest.DataSetOperation()
DBUnitSeamTest.DataSetOperation
public DBUnitSeamTest.DataSetOperation(String dataSetLocation)
- Defaults to DatabaseOperation.CLEAN_INSERT
- Parameters:
dataSetLocation
- location of DBUnit dataset
DBUnitSeamTest.DataSetOperation
public DBUnitSeamTest.DataSetOperation(String dataSetLocation,
String dtdLocation)
- Defaults to DatabaseOperation.CLEAN_INSERT
- Parameters:
dataSetLocation
- location of DBUnit datasetdtdLocation
- optional (can be null) location of XML file DTD on classpath
DBUnitSeamTest.DataSetOperation
public DBUnitSeamTest.DataSetOperation(String dataSetLocation,
org.dbunit.operation.DatabaseOperation operation)
- Parameters:
dataSetLocation
- location of DBUnit datasetoperation
- operation to execute
DBUnitSeamTest.DataSetOperation
public DBUnitSeamTest.DataSetOperation(String dataSetLocation,
String dtdLocation,
org.dbunit.operation.DatabaseOperation operation)
getDataSet
public org.dbunit.dataset.IDataSet getDataSet()
getOperation
public org.dbunit.operation.DatabaseOperation getOperation()
prepare
public void prepare(DBUnitSeamTest test)
execute
public void execute(org.dbunit.database.IDatabaseConnection connection)
toString
public String toString()
- Overrides:
toString
in class Object