[ 
https://jira.duraspace.org/browse/DS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark H. Wood resolved DS-1331.
------------------------------

    Documentation Status: Not Required
              Resolution: Fixed
           Fix Version/s: 3.0

Fix committed to master.
                
> testGetCountryNameString fails
> ------------------------------
>
>                 Key: DS-1331
>                 URL: https://jira.duraspace.org/browse/DS-1331
>             Project: DSpace
>          Issue Type: Bug
>          Components: Unit Testing Framework
>    Affects Versions: 3.0
>         Environment: *Location*: http://demo.dspace.org/
> *User-Agent*: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.4 (KHTML, like 
> Gecko) Chrome/22.0.1229.94 Safari/537.4
> *Screen Resolution*: 1680 x 1050
>            Reporter: Keiji Suzuki
>            Assignee: Mark H. Wood
>              Labels: collector-60e7afac
>             Fix For: 3.0
>
>
> When I did "mvn package" dspace-3.0-rc1-release at dsapce-src, the above test 
> was failure.
> The report says as follows.
> -------------------------------------------------------------------------------
> Test set: org.dspace.statistics.util.TestLocationUtils
> -------------------------------------------------------------------------------
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec <<< 
> FAILURE!
> testGetCountryNameString(org.dspace.statistics.util.TestLocationUtils)  Time 
> elapsed: 0.016 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[United States]> but was:<[アメリカ合衆国]>
>       at 
> org.dspace.statistics.util.TestLocationUtils.testGetCountryNameString(TestLocationUtils.java:64)
> ---------------
> My default locale is Locale.Japanese. This failure is fixed when I changed 
> the line 64 of  TestLocationUtils.java
> as follows (added Locale.ENGLISH as the second parameter).
>         assertEquals("United States", LocationUtils.getCountryName(
>                 "US", Locale.ENGLISH));
> *Reporter*: Keiji Suzuki
> *E-mail*: [mailto:[email protected]]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to