You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "maomaode (JIRA)" <ji...@apache.org> on 2007/09/14 08:04:32 UTC

[jira] Commented: (CXF-1000) Remove string compares of XML from unit tests

    [ https://issues.apache.org/jira/browse/CXF-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527363 ] 

maomaode commented on CXF-1000:
-------------------------------

Yes, I'm working on migrate the jaxb version to 2.1, and it's really hard to pass the tests in string compares way.


I'm going to change all the tests in the tools package

> Remove string compares of XML from unit tests
> ---------------------------------------------
>
>                 Key: CXF-1000
>                 URL: https://issues.apache.org/jira/browse/CXF-1000
>             Project: CXF
>          Issue Type: Task
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>
> There are a lot of tests that are doing striaght string compares of XML results with files on the disk.   This makes it harder than necessary to update things when behavior changes.  (like different XML serialization routine used).
> The tests should either normalize the XML and use a normalization compare routine, or preferably, use XPATHS to test specifically if the interested nodes and information that the test is actually testing is in the XML so the format of the XML is irrelevant.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.