kayakiss created SUREFIRE-857:
---------------------------------

             Summary: 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.12, 2.11, 2.10, 2.9
            Reporter: kayakiss
         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


Reply via email to