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

API for configuration information in Derby's JUnit tests should through instance methods of the base classes, not static methods and static fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.2.1.6, 10.3.1.4
    • Test
    • None

    Description

      The heavy use of static state information in the existing Derby (non-Junit) harness was a major mistake, it should not be repeated in the Junit model.
      It should be changed before too many tests are written.

      A static configuration will limit the ability for the tests to be flexible and have different instances running with different configurations,
      a instance based scheme will be more flexible.

      This change will just change the api, the current implementation of a single static configuration will remain but be hidden within the base-classes.

      Attachments

        1. derby-1555-removecomment.diff
          0.6 kB
          Kristian Waagan

        Activity

          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: