Derby
  1. Derby
  2. DERBY-2505

Convert derbynet/testij.java to JUnit

    Details

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

      Description

      In the process of converting this test, I realized we needed an way to run ij tests that would work with multiple connections. So, I made an IjTestCase that runs a script through ij's main method, redirects the output to a file, and then compares the file to a canon.

      Attaching a patch for this issue which does that. The test creates several databases during its run. Should the JUnit wrappers for ij tests be cleaning these up, or will these get cleaned up later automatically?

      1. derby-2505-v1.diff
        19 kB
        Andrew McIntyre
      2. derby-2505-jarfix.diff
        3 kB
        Andrew McIntyre

        Activity

        Andrew McIntyre created issue -
        Andrew McIntyre made changes -
        Field Original Value New Value
        Attachment derby-2505-v1.diff [ 12354650 ]
        Andrew McIntyre made changes -
        Attachment derby-2505-jarfix.diff [ 12354944 ]
        Andrew McIntyre made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Andrew McIntyre made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Kathey Marsden made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        Kathey Marsden made changes -
        Fix Version/s 10.3.0.0 [ 12310800 ]
        Issue Type Bug [ 1 ] Test [ 6 ]
        Kathey Marsden made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Kathey Marsden made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Kathey Marsden made changes -
        Component/s Test [ 11413 ]
        Dag H. Wanvik made changes -
        Issue Type Test [ 6 ] Improvement [ 4 ]
        Gavin made changes -
        Workflow jira [ 12400891 ] Default workflow, editable Closed status [ 12800646 ]

          People

          • Assignee:
            Andrew McIntyre
            Reporter:
            Andrew McIntyre
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development