You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Ryan Baxter (JIRA)" <ji...@apache.org> on 2011/05/19 16:42:47 UTC

[jira] [Updated] (SHINDIG-1537) Fix tests for XML->JSON translation feature

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

Ryan Baxter updated SHINDIG-1537:
---------------------------------

    Attachment: fix-1537.patch

> Fix tests for XML->JSON translation feature
> -------------------------------------------
>
>                 Key: SHINDIG-1537
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1537
>             Project: Shindig
>          Issue Type: Test
>    Affects Versions: 3.0.0
>            Reporter: Ryan Baxter
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: fix-1537.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The tests for the XML->Json translation feature were failing because they were doing a string compare of JSON.  Unfortunatley the order of objects in a JSON string are not guaranteed so on some browsers the tests would fail.  I have fixed the tests to actually compare the values from the JSON object instead of doing a string compare.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira