You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2010/10/09 00:38:33 UTC

[jira] Closed: (DOXIA-408) Test failures on Windows

     [ http://jira.codehaus.org/browse/DOXIA-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed DOXIA-408.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.4
         Assignee: Dennis Lundberg

Fixed in [r1006055|http://svn.apache.org/viewvc?view=revision&revision=1006055] by disabling the test case.

> Test failures on Windows
> ------------------------
>
>                 Key: DOXIA-408
>                 URL: http://jira.codehaus.org/browse/DOXIA-408
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Xdoc
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.5.0_22
> Java home: C:\Program\Java\jdk1.5.0_22\jre
> Default locale: sv_SE, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Dennis Lundberg
>            Assignee: Dennis Lundberg
>             Fix For: 1.1.4
>
>         Attachments: org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest.txt
>
>
> mvn test in the xdoc module of the current trunk produces this output
> {noformat}
> ...
> Failed tests:
>   testList(org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest)
>   testNumberedList(org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest)
>   testDefinitionList(org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest)
>   testTable(org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest)
> Tests run: 117, Failures: 4, Errors: 0, Skipped: 0
> ...
> {noformat}
> The failures has to do with differences in line breaks for list, ordered list, definition list and table. See attached Surefire report.
> The actual results have one line break *less* than expected, which is odd considering that Windows usually get *more* line breaks. The errors might be due to differences between org.codehaus.plexus.util.xml.PrettyPrintXMLWriter and org.codehaus.plexus.util.xml.XmlUtil.prettyFormat().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira