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

Steve Lawrence resolved DAFFODIL-2539.
--------------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Fixed in commit f5939dd605a926ce778ba656e211c4dfe237b12d

> Duplicate TDML file - rename, and remove overlapping tests and schemas
> ----------------------------------------------------------------------
>
>                 Key: DAFFODIL-2539
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2539
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Clean Ups, QA
>    Affects Versions: 3.1.0
>            Reporter: Mike Beckerle
>            Priority: Minor
>              Labels: beginner
>             Fix For: 4.1.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> There are 2 TDML files under daffodil-test with the same name, similar 
> contents, though they have diverged somewhat.
> Both live under daffodil-test/src/test/resources
> org/apache/daffodil/section06/namespaces/namespaces.tdml
>  "test space/test 1/namespaces.tdml"
> (note how the second one has spaces in the first two path steps.)
> First, this file under test space/test 1 should be renamed. Suggest 
> spacesInNames.tdml
> Second, if you compare the two files, you see they are quite similar, but it 
> looks like the only test in the "test space/test 1" version that has an 
> actual driver scala code calling it, is in 
> section00/general/TestGeneral.scala, test_no_namespace_02.
> All the other tests and any irrelevant define-schemas in this "test 
> space/test 1/namespaces.tdml" should be deleted. This will leave just 
> test_no_namespace_02 and any defineSchema parts needed.
> If those parts exist also in section06/namespaces/namespace.tdml, they should 
> be deleted from that file, so that the resulting two TDML files have no 
> duplicated content, and different names going forward.
> The test name itself should change from test_no_namespace_02 to something 
> more descriptive, like no_namespace_colliding_element_names.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to