Nested test configuration decorators based upon ChangeConfigurationSetup do not
work as expected.
-------------------------------------------------------------------------------------------------
Key: DERBY-2215
URL: https://issues.apache.org/jira/browse/DERBY-2215
Project: Derby
Issue Type: Bug
Components: Test
Affects Versions: 10.3.0.0
Reporter: Daniel John Debrunner
Assigned To: Daniel John Debrunner
Fix For: 10.3.0.0
Usage of ChangeConfigurationSetup creates a TestConfiguration object at object
creation time based upon the current configuration, instead it should create
the configuration based upon the current configuration at setUp time.
Nesting two decorators A and B in a suite method that change the configuration,
e.g.
return new B(new A(suite))
will cause A and B to be a modified version of the current configuration at
suite creation time, when B should be a modified version of A
and A should be a modified version of the current configuration when its setUp
is run.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira