[xwiki-devs] Tests broken?

Tiago Rinck Caveden caveden at gmail.com
Fri Jul 11 18:58:20 CEST 2008


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 <ninfomaniak at gmail.com> 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
> devs at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Tiago Rinck Caveden
http://caveden.multiply.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ParserListenerTester.patch
Type: application/octet-stream
Size: 850 bytes
Desc: not available
Url : http://lists.xwiki.org/pipermail/devs/attachments/20080711/cb173de6/attachment.obj 


More information about the devs mailing list