maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milos Kleint (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-1061) wrong test output generation, prevents parsing of generated xml file
Date Tue, 11 Feb 2014 10:16:57 GMT
Milos Kleint created SUREFIRE-1061:
--------------------------------------

             Summary: wrong test output generation, prevents parsing of generated xml file
                 Key: SUREFIRE-1061
                 URL: https://jira.codehaus.org/browse/SUREFIRE-1061
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Surefire Plugin
    Affects Versions: 2.16
            Reporter: Milos Kleint
            Priority: Blocker
         Attachments: testcase.zip

please see attached sample project demonstrating the problem. This is a regression introduced
in 2.16, likely by SUREFIRE-1020. originally reported at https://netbeans.org/bugzilla/show_bug.cgi?id=241649

when the test contains the following code
{code:java}
@Test
    public void testMain() {
      System.out.println("blabla ]]>");
        assertTrue(false);
    }
{code}

I get following output with these surefire versions (if below not readable, it's included
with the sample project):
{noformat}
2.16 <system-out><![CDATA[blabla ]]]]><![CDATA[>
]]></system-out>

2.15 <system-out>blabla ]]&gt;
</system-out>

2.14 <system-out>blabla ]]>
</system-out>

2.13 <system-out>blabla ]]&gt;
</system-out>
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message