You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/06/22 15:35:00 UTC

[jira] [Assigned] (DAFFODIL-2533) TDMLRunner not detecting tdml:defineConfig's with same name

     [ https://issues.apache.org/jira/browse/DAFFODIL-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Lawrence reassigned DAFFODIL-2533:
----------------------------------------

    Assignee: Steve Lawrence

> TDMLRunner not detecting tdml:defineConfig's with same name
> -----------------------------------------------------------
>
>                 Key: DAFFODIL-2533
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2533
>             Project: Daffodil
>          Issue Type: Bug
>          Components: TDML Runner
>    Affects Versions: 3.1.0
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Minor
>              Labels: beginner
>
> It looks like the TDMLRunner does not detect and error if duplicate defineConfigs exist. For example, the config "cfg_defaultNamespace" is defined twice in this file with different tuanble settings.
> daffodil-test/src/test/resources/org/apache/daffodil/section00/general/tunables.tdml
> This likely means someone copy/pasted a config and forgot to change the name, so there are probably tests not using the intended configs. We added the capability to detect and error when test cases are defined with duplicate names. We should probably do the same for defineConfig.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)