| |
|
| java.lang.Object org.ddsteps.fixture.dbunit.DbUnitFixture
DbUnitFixture | public class DbUnitFixture implements Fixture(Code) | | author: adam version: $Id: DbUnitFixture.java,v 1.1 2005/12/03 12:51:41 adamskogman Exp $ |
dataSet | final protected IDataSet dataSet(Code) | | Property: The data set containing the fixture.
|
setUpOperation | protected DatabaseOperation setUpOperation(Code) | | Property: The setup operation. Default is clean insert.
|
tearDownOperation | protected DatabaseOperation tearDownOperation(Code) | | Property: The tearDown operation. Default is none.
|
DbUnitFixture | public DbUnitFixture(DatabaseConnectionFactory connectionFactory, IDataSet dataSet)(Code) | | Dependency Injection constructor.
Parameters: connectionFactory - The connection factory Parameters: dataSet - The dataset |
getDataSet | public IDataSet getDataSet()(Code) | | Gets the backing dataset. Used for unit test mainly.
Returns the dataSet. |
setSetUpOperation | public void setSetUpOperation(DatabaseOperation setUpOperation)(Code) | | Parameters: setUpOperation - The setUpOperation to set. |
setTearDownOperation | public void setTearDownOperation(DatabaseOperation tearDownOperation)(Code) | | Parameters: tearDownOperation - The tearDownOperation to set. |
|
|
|