I just tried to execute the Sightly Integration Tests and I get the following
error:
...
Tests run: 336, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.994 sec <<<
FAILURE! - in io.sightly.tck.TestsRunner
String Expressions: String quotes and escaping -
#unicode_escape(io.sightly.tck.tests.TestBuilder$1) Time elapsed: 0.007 sec
<<< FAILURE!
junit.framework.AssertionFailedError: Expected value 'This 'Ã' is a
string with unicode escaping' for selector '#unicode_escape'. Instead we got
'This '??' is a string with unicode escaping'. Please check the expected markup
from /testfiles/output/exprlang/strings.html.
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at io.sightly.tck.tests.TestBuilder$1.runTest(TestBuilder.java:146)
Results :
Failed tests:
TestBuilder$1.runTest:146 Expected value 'This 'Ã' is a string with
unicode escaping' for selector '#unicode_escape'. Instead we got 'This '??' is
a string with unicode escaping'. Please check the expected markup from
/testfiles/output/exprlang/strings.html.
Tests run: 340, Failures: 1, Errors: 0, Skipped: 0
...
This happens with the most recent trunk and I just recompiled the XSS module on
my own before that.
I am using JDK 1.7.0_55 on a Mac.
Any ideas what might be wrong?
Is the code relying on the default encoding maybe?
Thanks,
Konrad