Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2215

Nested test configuration decorators based upon ChangeConfigurationSetup do not work as expected.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.1.4
    • Test
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            djd Daniel John Debrunner
            djd Daniel John Debrunner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment