You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Major Péter <ma...@sch.bme.hu> on 2010/08/13 13:04:20 UTC

Locale related test failures in trunk

Hi,

I've tried to compile wicket trunk, but 3 test was failing for me:
Failed tests:

innerFeedback(org.apache.wicket.markup.html.form.validation.innerfeedback.InnerFeedbackTest)

with:
expect (1):
   Field 'field' is required.
but was (1):
   A 'field' mező kitöltése kötelező.

Tests in error:
  testSimpleStaticTimeFrame(org.apache.wicket.util.time.TimeMapTest)

with:
java.text.ParseException: Unparseable date: "3.14pm"
        at java.text.DateFormat.parse(DateFormat.java:337)

and
  test(org.apache.wicket.util.time.TimeTest)
with:
java.text.ParseException: Unparseable date: "2000.01.01-12.00am"

Are you planning to fix these, or should I compile with
-Dmaven.test.skip=true or with english locale?

Thanks,
Peter

Re: Locale related test failures in trunk

Posted by Martin Grigorov <mg...@apache.org>.
I'm to blame for the first one...

Both english locale and skipTests should be ok.

2010/8/13 Major Péter <ma...@sch.bme.hu>

> Hi,
>
> I've tried to compile wicket trunk, but 3 test was failing for me:
> Failed tests:
>
>
> innerFeedback(org.apache.wicket.markup.html.form.validation.innerfeedback.InnerFeedbackTest)
>
> with:
> expect (1):
>   Field 'field' is required.
> but was (1):
>   A 'field' mező kitöltése kötelező.
>
> Tests in error:
>  testSimpleStaticTimeFrame(org.apache.wicket.util.time.TimeMapTest)
>
> with:
> java.text.ParseException: Unparseable date: "3.14pm"
>        at java.text.DateFormat.parse(DateFormat.java:337)
>
> and
>  test(org.apache.wicket.util.time.TimeTest)
> with:
> java.text.ParseException: Unparseable date: "2000.01.01-12.00am"
>
> Are you planning to fix these, or should I compile with
> -Dmaven.test.skip=true or with english locale?
>
> Thanks,
> Peter
>