tuxji opened a new pull request #676:
URL: https://github.com/apache/daffodil/pull/676


   Rename all runtime2 test files to have names like test.dat for test
   data files and test.dat.xml for test infoset files.  Simplify runtime2
   TDML test cases by enabling round-tripping, merging pairs of parser
   test cases and unparser test cases, and removing unneeded attributes
   (description, root).  Fix problem found in Runtime2TDMLDFDLProcessor
   after enabling round-tripping.
   
   Makefile - Replace PARSE_DAT=parse.dat and UNPARSE_XML=unparse.xml
   with TEST_DAT=test.dat and TEST_DAT_XML=test.dat.xml.
   
   *_parse.dat - Remove the "_parse" and rename to *.dat.
   
   *_unparse.xml - Remove the "_unparse" and rename to *.dat.xml.
   
   *.tdml - Enable round-tripping for all test cases by setting
   defaultRoundTrip="onePass".  Remove all unparserTestCases made
   superfluous by round-tripping.  Change names of all test files.
   Remove unneeded description and root attributes.
   
   ex_nums.dfdl.xsd - Simplify representation property bindings.
   
   nested.dfdl.xsd - Simplify representation property bindings and simple
   types.
   
   Runtime2TDMLDFDLProcessor.scala - Fix bug found after enabling
   round-tripping where errors were still being held by
   Runtime2TDMLDFDLProcessor betweeen test cases.  Don't store any errors
   in Runtime2TDMLDFDLProcessor since Runtime2TDMLParseResult and
   Runtime2TDMLUnparseResult already carry any errors back to TDMLRunner.
   
   Test*.scala - Drop "_parse" from names of test cases and remove
   "_unparse" test cases.
   
   Rat.scala - Update names of all runtime2 test data files.
   
   DAFFODIL-2583


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to