You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ondra Žižka (JIRA)" <ji...@apache.org> on 2010/04/06 13:35:33 UTC

[jira] Commented: (WICKET-2824) Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time

    [ https://issues.apache.org/jira/browse/WICKET-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853893#action_12853893 ] 

Ondra Žižka commented on WICKET-2824:
-------------------------------------

BTW, could these files be excluded from the license test? They are changed by NetBeans when editing the project...

org.apache.wicket.util.license.XmlLicenseHeaderHandler failed. The following files(3) didn't have correct license header:
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\nb-configuration.xml
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\profiles.xml
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\src\main\webapp\META-INF\context.xml

> Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-2824
>                 URL: https://issues.apache.org/jira/browse/WICKET-2824
>             Project: Wicket
>          Issue Type: Test
>          Components: wicket
>    Affects Versions: 1.4.7
>            Reporter: Ondra Žižka
>            Priority: Minor
>
> Reproduce:
> 1) Set your system's national settings to non-US (e.g. Czech)
> 2) mvn clean test
> 3) You'll see these failing:
> org.apache.wicket.util.time.TimeMapTest:
>   <testcase time="0" name="testSimpleStaticTimeFrame">
>     <error message="Unparseable date: &quot;3.14pm&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;3.14pm&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.TimeOfDay.valueOf(TimeOfDay.java:219)
>         ...
> org.apache.wicket.util.time.TimeTest:
>   <testcase time="0" name="test">
>     <error message="Unparseable date: &quot;2000.01.01-12.00am&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;2000.01.01-12.00am&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.Time.valueOf(Time.java:125)
>         ...

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