public interface IDatabaseTester
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection(IDatabaseConnection connection)
Close the specified connection.
|
IDatabaseConnection |
getConnection()
Returns the test database connection.
|
IDataSet |
getDataSet()
Returns the test dataset.
|
void |
onSetup()
TestCases must call this method inside setUp()
|
void |
onTearDown()
TestCases must call this method inside tearDown()
|
void |
setDataSet(IDataSet dataSet)
Sets the test dataset to use.
|
void |
setSchema(String schema)
Sets the schema value.
|
void |
setSetUpOperation(DatabaseOperation setUpOperation)
Sets the DatabaseOperation to call when starting the test.
|
void |
setTearDownOperation(DatabaseOperation tearDownOperation)
Sets the DatabaseOperation to call when ending the test.
|
void closeConnection(IDatabaseConnection connection) throws Exception
ExceptionIDatabaseConnection getConnection() throws Exception
ExceptionIDataSet getDataSet()
void setDataSet(IDataSet dataSet)
void setSchema(String schema)
void setSetUpOperation(DatabaseOperation setUpOperation)
void setTearDownOperation(DatabaseOperation tearDownOperation)
void onSetup()
throws Exception
ExceptionCopyright © 2002-2012. All Rights Reserved.