The maven parameter is:
   maven -Dmaven.test.skip=true test:test

However, this is an issue that needs to be fixed. It is a stopgap not to run the tests just because someone has a different locale.

Apparently, our project is used with different locales, so we shouldn't make any assumptions on that, and base our tests on such a notion. The real solution could be: modify the test such that it isn't dependend on the locale, or set the locale to our expected value.

Martijn


Eelco Hillenius wrote:

You could provide a parameter to skip tests when running Maven (don't know off the top of my head what it is) or you could comment out the unit test part in project.xml (somewhere at the botton of the file).

Also, maybe we could fix the locale to e.g. the US for unit tests?

Eelco



叶卫国 wrote:

Eelco Hillenius,

:-) I mean when i compile wicket by maven, the junit test can not pass

======= 2005-06-01 20:19:37 :=======

Use custom converters. Please take a look at the Wiki article:
http://wicket.sourceforge.net/wiki/index.php/Using_custom_converters

Eelco


叶卫国 wrote:

It's inconvenient to change locale frequently.



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user


= = = = = = = = = = = = = = = = = = = =
        叶卫国
[EMAIL PROTECTED]
          2005-06-01

N琀S^甸殜X�'矈辵紭j("{k≯湂xj(I娅r藿閔リ蛕�(瓳珁玘j歭喝啞瀓 �!i�'�*'缠瑠豰稛�u朕枈^�&、夀拂�噄墁vz,� 钝M9Z'$z郜z箽奨Xh湋雗标鍔薼矉玵玷�豰稕?⺋�(悍~娻zwX襄娝b濟?�' $z郜er==




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to