[ https://jira.codehaus.org/browse/SUREFIRE-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Rosenvold closed SUREFIRE-857. --------------------------------------- Resolution: Fixed Fix Version/s: 2.13.0 Assignee: Kristian Rosenvold Fixed in r1371763, thanks for the patch! Added IT, let's see if it works on any other machines than my own ;) > Non-ASCII source and name in ReportEntry are escaped unicode on fork. > --------------------------------------------------------------------- > > Key: SUREFIRE-857 > URL: https://jira.codehaus.org/browse/SUREFIRE-857 > Project: Maven Surefire > Issue Type: Bug > Components: process forking > Affects Versions: 2.9, 2.10, 2.11, 2.12 > Reporter: kayakiss > Assignee: Kristian Rosenvold > Fix For: 2.13.0 > > Attachments: unescape.patch > > > Non-ASCII source and name in ReportEntry are escaped unicode on fork. For > example 'À'(A with grave) is replaced \u00C0. > {noformat} > public class EscapeÀTest { > @Test > public void testÀTest() { > } > } > {noformat} > XML report of this test class is following. > {noformat} > <testcase time="0.010" classname="Escape\u00C0Test" name="test\u00C0Test"> > {noformat} > This problem is that > *org.apache.maven.plugin.surefire.booterclient.outpu.ForkClient* is not > unescape for ReportEntry source and name. Because these are escaped with > *org.apache.maven.surefire.booter.ForingRunListener*, *ForkClient* must be > unescaped. > In the attached patch for 2.12 I fixed this problem. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira