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

Remove test harness special handling for handle varying client column widths

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 10.1.3.1
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
      None

      Description

      The test harness has code in FileCompare to normailze the column widths for test output to accommodate different column widths in embedded and client. I think the columnwidths should be the same so this is not needed for client.
      It would be good to remove this logic for client (but keep it for JCC) to make sure that client and embedded do indeed match in this regard. I think the harness change itself entails changing the section below in FileCompare to use isJCC Connection(framework) instead of isClientConnection: What differences will be found I don't know.

      if (NetServer.isClientConnection(framework))
      {
      try

      { Sed sed = new Sed(); File JCCOutFile = new File(outDir, testBase + ".tmpmstr"); sed.execJCC(is, JCCOutFile); is = new FileInputStream(JCCOutFile); }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kmarsden Katherine Marsden
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: