Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-408

Test failures on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.4
    • Module - Xdoc
    • None

    Description

      mvn test in the xdoc module of the current trunk produces this output

      ...
      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
      ...
      

      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().

      Attachments

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            dennisl@apache.org Dennis Lundberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: