org.apache.derbyTesting.junit
Class ChangeConfigurationSetup

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.extensions.TestDecorator
          extended by junit.extensions.TestSetup
              extended by org.apache.derbyTesting.junit.ChangeConfigurationSetup
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ChangeSSLSetup, ChangeUserSetup, ConnectorSetup, DatabaseChangeSetup, JDBCClientSetup, ServerSetup

abstract class ChangeConfigurationSetup
extends junit.extensions.TestSetup


Field Summary
private  TestConfiguration old
           
 
Fields inherited from class junit.extensions.TestDecorator
fTest
 
Constructor Summary
ChangeConfigurationSetup(junit.framework.Test test)
           
 
Method Summary
(package private) abstract  TestConfiguration getNewConfiguration(TestConfiguration old)
          Return the new configuration to use at setUp time.
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.extensions.TestSetup
run
 
Methods inherited from class junit.extensions.TestDecorator
basicRun, countTestCases, getTest, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

old

private TestConfiguration old
Constructor Detail

ChangeConfigurationSetup

ChangeConfigurationSetup(junit.framework.Test test)
Method Detail

setUp

protected final void setUp()
Overrides:
setUp in class junit.extensions.TestSetup

tearDown

protected final void tearDown()
Overrides:
tearDown in class junit.extensions.TestSetup

getNewConfiguration

abstract TestConfiguration getNewConfiguration(TestConfiguration old)
Return the new configuration to use at setUp time. Most likely based upon the old configuration passed in.

Parameters:
old - The current configuration.
Returns:
new configuration

Built on Sat 2009-11-28 18:44:18-0800, from revision 885187

Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.