Support comparing test files irrespective of line endings
Closed this issue · 0 comments
reckart commented
Is your feature request related to a problem? Please describe.
The CAS I/O test suite SerDesCasIOTestUtils
has options to compare CAS files serialized to a textual format which may have different line endings such as JSON (we consider XMI to be a binary format). It only offers roundTripDesSerScenariosComparingFileContents
which does a binary comparison and roundTripDesSerScenariosComparingCasContents
which loads the CAS and does a semantic comparison.
Describe the solution you'd like
It would be nice to have a roundTripDesSerScenariosComparingFileContentsNormalizingNewlines
as well.
Additional context
Useful for the CAS JSON IO tests.