[dna-issues] [JBoss JIRA] Resolved: (DNA-527) JcrSingleValuePropertyTest's Date Test Fails On Ubuntu

Dan Florian (JIRA) jira-events at lists.jboss.org
Fri Sep 25 11:00:01 EDT 2009


     [ https://jira.jboss.org/jira/browse/DNA-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Florian resolved DNA-527.
-----------------------------

    Resolution: Done


No longer comparing Calendar objects or toString(). There is a problem with one case using "UTC" and the other using "GMT."

> JcrSingleValuePropertyTest's Date Test Fails On Ubuntu
> ------------------------------------------------------
>
>                 Key: DNA-527
>                 URL: https://jira.jboss.org/jira/browse/DNA-527
>             Project: DNA
>          Issue Type: Bug
>          Components: Graph, Testing
>    Affects Versions: 0.6
>         Environment: Ubuntu 9.04
>            Reporter: Dan Florian
>            Assignee: Dan Florian
>             Fix For: 0.7
>
>
> The "shouldProvideDate" test fails due to differences in the toString() values of the Calendar objects. Removing the asserts that check the toString(), the length of the toString(), and the Calendars will allow the test to pass. With these 3 assert removed the test is still checking the milliseconds of the date and the type which is sufficient. The Calendar test is failing because one calendar has an id of "GMT" while the other one is using "UTC."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the dna-issues mailing list