You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Josh Adams (Jira)" <ji...@apache.org> on 2020/12/08 22:24:00 UTC
[jira] [Created] (DAFFODIL-2443) TDMLRunner not detecting expected
errors
Josh Adams created DAFFODIL-2443:
------------------------------------
Summary: TDMLRunner not detecting expected errors
Key: DAFFODIL-2443
URL: https://issues.apache.org/jira/browse/DAFFODIL-2443
Project: Daffodil
Issue Type: Bug
Components: Infrastructure
Affects Versions: 3.0.0
Reporter: Josh Adams
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)