[jira] (SUREFIRE-1061) wrong test output generation, prevents parsing of generated xml file
[ https://jira.codehaus.org/browse/SUREFIRE-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352876#comment-352876 ] Tibor Digana commented on SUREFIRE-1061: good catch, Jesse! One blocker issue less -:) > 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 >Assignee: Kristian Rosenvold >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 > 2.15 blabla ]]> > > 2.14 blabla ]]> > > 2.13 blabla ]]> > > {noformat} -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (SUREFIRE-1061) wrong test output generation, prevents parsing of generated xml file
[ https://jira.codehaus.org/browse/SUREFIRE-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Rosenvold closed SUREFIRE-1061. Resolution: Not A Bug Assignee: Kristian Rosenvold Jesse is right. All versions of surefire do this correctly, although 2.16 is the correctest :) > 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 >Assignee: Kristian Rosenvold >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 > 2.15 blabla ]]> > > 2.14 blabla ]]> > > 2.13 blabla ]]> > > {noformat} -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (SUREFIRE-1061) wrong test output generation, prevents parsing of generated xml file
[ https://jira.codehaus.org/browse/SUREFIRE-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352791#comment-352791 ] Jesse Glick commented on SUREFIRE-1061: --- IMO this is a NetBeans bug, not a Surefire bug; the output is well-formed XML. > 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 > 2.15 blabla ]]> > > 2.14 blabla ]]> > > 2.13 blabla ]]> > > {noformat} -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (SUREFIRE-1061) wrong test output generation, prevents parsing of generated xml file
[ https://jira.codehaus.org/browse/SUREFIRE-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352048#comment-352048 ] Tibor Digana edited comment on SUREFIRE-1061 at 8/29/14 4:22 PM: - This looks interesting to fix. Shouldn't be all special XML characters escaped ? was (Author: tibor17): 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 > 2.15 blabla ]]> > > 2.14 blabla ]]> > > 2.13 blabla ]]> > > {noformat} -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (SUREFIRE-1061) wrong test output generation, prevents parsing of generated xml file
[ 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 > 2.15 blabla ]]> > > 2.14 blabla ]]> > > 2.13 blabla ]]> > > {noformat} -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (SUREFIRE-1061) wrong test output generation, prevents parsing of generated xml file
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 2.15 blabla ]]> 2.14 blabla ]]> 2.13 blabla ]]> {noformat} -- This message was sent by Atlassian JIRA (v6.1.6#6162)