Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1389

TDML Runner roundTrip: Not complaining when roundTrip set to true on negative test

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: deferred
    • Component/s: Infrastructure, TDML Runner
    • Labels:
      None

      Description

      I believe that the TDML Runner used to complain if you attempted to set a negative test (one that expected and resulted in errors) to roundTrip="true". This is no longer the case. There are several test cases that are currently set to roundTrip = "true" that will never reach the second leg of the trip. They currently pass without any error or warning to the user that the test is invalid. For an example, see test infInvalidType in the following files:

      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section13/text_number_props/TextNumberProps.tdml
      daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section13/text_number_props/TestTextNumberProps.scala

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks

                  Progress: 
                   0/0