improve FileCompare used in JUnit Tests
---------------------------------------

                 Key: UIMA-582
                 URL: https://issues.apache.org/jira/browse/UIMA-582
             Project: UIMA
          Issue Type: Improvement
          Components: InternalTools
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor
             Fix For: 2.3


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.

-- 
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