You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2023/01/04 21:10:00 UTC
[jira] [Updated] (DAFFODIL-2127) Site doc of twopass and threepass TDML tests is not correct.
[ https://issues.apache.org/jira/browse/DAFFODIL-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Beckerle updated DAFFODIL-2127:
------------------------------------
Priority: Trivial (was: Major)
> Site doc of twopass and threepass TDML tests is not correct.
> ------------------------------------------------------------
>
> Key: DAFFODIL-2127
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2127
> Project: Daffodil
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 2.3.0
> Reporter: Mike Beckerle
> Assignee: Mike Beckerle
> Priority: Trivial
> Labels: beginner
>
>
> This doc is not correct. Incorrect text is highlighted in red.
>
> {{twoPass}}
> _tdml:parserTestCase:_ Parse given data, {color:#d04437}compare to expected infoset, expect failure.{color} Unparse infoset, compare to given data, expect failure. Parse output data to a second infoset. Compare to first infoset, expect success.
> _tdml:unparserTestCase:_ Invalid
> {{threePass}}
> _tdml:parserTestCase:_ Parse given data, compare to expected infoset, expect failure. Unparse infoset to first output data, compare to given data, expect failure. Parse first output data to second infoset. Compare to expected infoset, {color:#d04437}expect failure{color}. Unparse second infoset to second output data, compare to first output data, expect success.
>
> In a two pass test, the original infoset is not even compared.
> In a three pass test, the reparsed infoset is expected to match and be the steady state infoset.
> Arguably these are not the only possible definitions of what a twoPass test or threePass test should be, but they are most consistent with our test cases to date, and seem useful for testing going forward.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)