Tighten encapsulation of state in TestConfiguration
---------------------------------------------------

                 Key: DERBY-2419
                 URL: https://issues.apache.org/jira/browse/DERBY-2419
             Project: Derby
          Issue Type: Improvement
          Components: Test
    Affects Versions: 10.3.0.0
            Reporter: Kristian Waagan
         Assigned To: Kristian Waagan
            Priority: Minor


Parts of the state of TestConfiguration has been made public, which they should 
not be; DEFAULT_PORT and DEFAULT_HOSTNAME.
Using these directly from the outside can cause settings overridden by the user 
to be ignored by tests. Further, a test should not care if the host/port it 
uses is the Derby default or the values set by the user running the test.

To obtain a hostname and  a port number, use the methods getPort and 
getHostName in TestConfiguration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to