Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-582

improve FileCompare used in JUnit Tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.1
    • InternalTools
    • None

    Description

      Improve FileCompare for use with additional test cases where the tests are for "generated" files which contain some pieces of text that might be different and should be ignored. For instance, a generator which inserts the file name - might be different when the test is run on different systems, or one which inserts the date/time. Also expose some additional compare functions which ignore things like different "blanks" or new line char conventions that might be different on Linux/Windows platforms. Finally, for debugging, when something miscompares, print out the fragment and char location of the miscompare.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: