[
https://jira.codehaus.org/browse/SUREFIRE-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352048#comment-352048
]
Tibor Digana commented on SUREFIRE-1061:
----------------------------------------
This looks interesting to fix.
> 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 ]]>
> </system-out>
> 2.14 <system-out>blabla ]]>
> </system-out>
> 2.13 <system-out>blabla ]]>
> </system-out>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)