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

SecureServerTest should not be using non-public apis

    XMLWordPrintableJSON

Details

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

    Description

      Functional tests should not be written against Derby's public api, not its internals.
      One reason is that it will make it harder to run the tests against different versions of Derby to test for regressions (e.g. run 10.3 tests against 10.4)

      The code imports these classes that are not part of the public api.

      import org.apache.derby.iapi.reference.Property;
      import org.apache.derby.iapi.tools.i18n.LocalizedResource;
      import org.apache.derby.impl.drda.NetworkServerControlImpl;

      Attachments

        1. derby-2378-01.diff
          4 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              djd Daniel John Debrunner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: