Derby
  1. Derby
  2. DERBY-1712

Add a JUnit test decorator that starts the NetworkServer at setUp and stops it at tearDown.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3.1.4
    • Component/s: Test
    • Labels:
      None
    • Urgency:
      Normal

      Description

      Add a JUnit test decorator that starts the NetworkServer at setUp and stops it at tearDown.

      1. DERBY-1712.diff
        10 kB
        Andreas Korneliussen
      2. DERBY-1712.stat
        0.4 kB
        Andreas Korneliussen

        Activity

        Hide
        Daniel John Debrunner added a comment -

        patch DERBY-1712.diff applied Committed revision 432468.
        Thanks very much Andreas, make sit much easier for me to move the other classes.

        Show
        Daniel John Debrunner added a comment - patch DERBY-1712 .diff applied Committed revision 432468. Thanks very much Andreas, make sit much easier for me to move the other classes.
        Hide
        Andreas Korneliussen added a comment -

        The patch (DERBY-1712.diff) has a new class NetworkServerTestSetup. This class is put into a new package for junit components, called org.apache.derbyTesting.junit, and the patch therefore also contains a new build file. TestConfiguration had to be modified so that the new class could use DERBY_TEST_CONFIG attribute.

        Show
        Andreas Korneliussen added a comment - The patch ( DERBY-1712 .diff) has a new class NetworkServerTestSetup. This class is put into a new package for junit components, called org.apache.derbyTesting.junit, and the patch therefore also contains a new build file. TestConfiguration had to be modified so that the new class could use DERBY_TEST_CONFIG attribute.

          People

          • Assignee:
            Andreas Korneliussen
            Reporter:
            Andreas Korneliussen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development