https://issues.apache.org/bugzilla/show_bug.cgi?id=48514

           Summary: linebreaks in method names in html generated by the
                    junitreport task
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Usually method names of JUnit tests look like thisIsATest or this_is_a_test.

I use spock for my tests (http://code.google.com/p/spock/) and you can use
strings for method names (e.g. "this is a test").

Generating html documentation with the junitreport task works fine with spock
and junit. But with the space characters in the method names are forced with
line breaks.

this
is
a
test

This should be this is a test. 
So junitreport should replace " " (space chars) with "&nbsp" for method names
when generating html.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to