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
Exception
IDatabaseConnection getConnection() throws Exception
Exception
IDataSet getDataSet()
void setDataSet(IDataSet dataSet)
void setSchema(String schema)
void setSetUpOperation(DatabaseOperation setUpOperation)
void setTearDownOperation(DatabaseOperation tearDownOperation)
void onSetup() throws Exception
Exception
Copyright © 2002-2012. All Rights Reserved.