org.apache.derbyTesting.junit
Class ChangeSSLSetup

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
                  extended by org.apache.derbyTesting.junit.ChangeSSLSetup
All Implemented Interfaces:
junit.framework.Test

final class ChangeSSLSetup
extends ChangeConfigurationSetup

A decorator that changes the default ssl mode for the current configuration. Its tearDown method restores the previous configuration.


Field Summary
private  java.lang.String ssl
           
 
Fields inherited from class junit.extensions.TestDecorator
fTest
 
Constructor Summary
ChangeSSLSetup(junit.framework.Test test, java.lang.String ssl)
           
 
Method Summary
(package private)  TestConfiguration getNewConfiguration(TestConfiguration old)
          Return the new configuration to use at setUp time.
 
Methods inherited from class org.apache.derbyTesting.junit.ChangeConfigurationSetup
setUp, 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

ssl

private final java.lang.String ssl
Constructor Detail

ChangeSSLSetup

ChangeSSLSetup(junit.framework.Test test,
               java.lang.String ssl)
Method Detail

getNewConfiguration

TestConfiguration getNewConfiguration(TestConfiguration old)
Description copied from class: ChangeConfigurationSetup
Return the new configuration to use at setUp time. Most likely based upon the old configuration passed in.

Specified by:
getNewConfiguration in class ChangeConfigurationSetup
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.