The *root* cause seems to be obvious. Instead of changing any eclipse
settings, the assert statement must be changed. Replace "££" with a
properly encoded unicode \uXXXX

Juergen

On Sun, May 8, 2011 at 11:24 AM, Martin Grigorov <mgrigo...@apache.org> wrote:
> My Eclipse uses en_US locale and all is fine.
> My Maven setup uses bg_BG and again all is fine. Just verified.
> Igor mentioned that this test started to fail at his machine
> yesterday, but I guess his setup completely is en_US.
>
> On Sun, May 8, 2011 at 11:13 AM, Juergen Donnerstag
> <juergen.donners...@gmail.com> wrote:
>> Hi,
>>
>> on my (german) laptop testComponentAttributesNotDoubleEscaped is failing.
>>
>> junit.framework.AssertionFailedError: One of the pound entity
>> representations is missing: &pound; or &#163;
>>        at 
>> org.apache.wicket.markup.ComponentTagAttributeEscapingTest.testComponentAttributesNotDoubleEscaped(ComponentTagAttributeEscapingTest.java:48)
>>
>> The output looks like: <html><body><a wicket:id="link"
>> onclick="alert(&#039;alerting: &amp; ££ &#039;)"
>> href="../page?0-1.ILinkListener-link"
>> some_attribute="&amp;">link</a><input type="submit" wicket:id="button"
>> value="Watch escaped value: &gt;&gt;" name="button"
>> id="button1"/></body></html>
>>
>> The assertion test is like: response.contains("££"));   replacing it
>> with response.contains("\u00A3\u00A3")); works for me.
>>
>> Interestingly it's failing in eclipse only. It passes the test with maven
>>
>> -Juergen
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>

Reply via email to