commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CLI-127) Date validation tests are locale dependent
Date Thu, 15 Mar 2007 16:45:10 GMT

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

Henri Yandell resolved CLI-127.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

svn ci -m "Fixing tests so they pass in Italy as per #CLI-127"

Sending        src/test/org/apache/commons/cli2/validation/DateValidatorTest.java
Transmitting file data .
Committed revision 518683.

Thanks Andrea.

> Date validation tests are locale dependent
> ------------------------------------------
>
>                 Key: CLI-127
>                 URL: https://issues.apache.org/jira/browse/CLI-127
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-2.x
>    Affects Versions: 2.0
>            Reporter: Andrea Aime
>             Fix For: 2.0
>
>         Attachments: DateValidatorTest.java
>
>
> Date validation tests have strings such as Dec or Jan to specify months. In Italian locale
the tests fails because the correct strings are Dic and Gen.
> Use DateFormatSymbols to make the test locale independent

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message