Hi!

My test failed becouse Wicket returns FeedbackMessages in different encoding
(?) than the expected messages.

Example:

tester.assertErrorMessages(new String[] { "Pole 'domena' musi zawierać od 3
do 32 znaków." };

gives:
junit.framework.AssertionFailedError:
expect (1):
   Pole 'domena' musi zawierać od 3 do 32 znaków.
but was (1):
   Pole 'domena' musi zawierać od 3 do 32 znaków.

I compile my tests with javac with encoding set to UTF-8. I don't know how
are feedback messages encoded or if it is some other problem when comparing
error msgs in the test.


Thanks in advance,
Artur


-- 
View this message in context: 
http://www.nabble.com/WicketTester.assertErrorMessages---encoding-problem-tp20280074p20280074.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to