| org.apache.derbyTesting.junit.BaseJDBCTestSetup org.apache.derbyTesting.junit.DatabasePropertyTestSetup
DatabasePropertyTestSetup | public class DatabasePropertyTestSetup extends BaseJDBCTestSetup (Code) | | Test decorator to set a set of database properties on setUp
and restore them to the previous values on tearDown.
|
Method Summary | |
protected void | setUp() For each property store the current value and
replace it with the new value, unless there is no change. | protected void | tearDown() Revert the properties to their values prior to the setUp call. |
DatabasePropertyTestSetup | public DatabasePropertyTestSetup(Test test, Properties newValues)(Code) | | Create a test decorator that sets and restores the passed
in properties. Assumption is that the contents of
properties and values will not change during execution.
Parameters: test - test to be decorated Parameters: newValues - properties to be set |
setUp | protected void setUp() throws java.lang.Exception(Code) | | For each property store the current value and
replace it with the new value, unless there is no change.
|
tearDown | protected void tearDown() throws java.lang.Exception(Code) | | Revert the properties to their values prior to the setUp call.
|
|
|