Thank you Miguel,

With the help of Eclipse I could find the exact point where I needed to put
my little hack to fix it. Now my test execution is converting all Windows
line feeds (\r\n) to Linux line feeds (\n) before making the comparison.

If you want to have XWiki's tests passing on Windows, just apply the patch
attached to the file
xwiki-platform-core\xwiki-rendering\xwiki-rendering-tests\src\test\java\org\xwiki\rendering\scaffolding\ParserListenerTester.java

Have a nice weekend!

On Fri, Jul 11, 2008 at 4:41 PM, Miguel Bento <[EMAIL PROTECTED]> wrote:

> Hi Tiago,
>
> Yesterday i had exactly the same problem under windows, but i'm using a
> different java version. There seems to be a \n not present at the end of
> the
> test, but i'm no xwiki expert and therefore cannot help you on this.
>
> Best of luck,
> Miguel Bento.
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Tiago Rinck Caveden
http://caveden.multiply.com

Attachment: ParserListenerTester.patch
Description: Binary data

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to