maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seiji KOMATSU (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-857) Non-ASCII source and name in ReportEntry are escaped unicode on fork.
Date Mon, 13 Aug 2012 01:30:22 GMT

    [ https://jira.codehaus.org/browse/SUREFIRE-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306029#comment-306029
] 

Seiji KOMATSU commented on SUREFIRE-857:
----------------------------------------

It's good.
I've confirmed it's OK at rev.1372066.

Thank you!
                
> 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

       

Mime
View raw message