Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2443

TDMLRunner not detecting expected errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • None
    • TDML Runner
    • None

    Description

      While working on enabling defineVariables to have non-constant expressions, I ran into a few cases where expected errors were occurring, but were not being detected by TDMLRunner. Instead, the error occurred and the stacktrace from the exception is simply printed out, causing the test to fail even though the TDML test case was expecting that error.

      See tests test_circular_defineVariable_err and test_defineVariable_ref_noDefault_err in daffodil-test/src/test/scala/org/apache/daffodil/section07/variables/TestVariables.scala which are currently commented out.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jadams_tresys Josh Adams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: