You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/06/08 01:30:00 UTC

[jira] [Commented] (SUREFIRE-1084) Surefire-report stack traces appear on a single line.

    [ https://issues.apache.org/jira/browse/SUREFIRE-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576501#comment-14576501 ] 

Tibor Digana commented on SUREFIRE-1084:
----------------------------------------

I have reproduced this issue.
The issue appears with error/assertion message which contains several lines \n.
The fix in https://github.com/apache/maven-surefire/pull/41 does not solve this issue because the loop in SurefireReportGenerator.javaL534 iterates just once.
I would expect that the loop would iterate over all lines expanding the width of the table in Detail.

So the Test Cases table contains a row with
"+ [ Detail ]"
error message
and detail if click on it

I would expect short error message like the first line from multiple lines,
and detail would be properly formatted message with multiple lines.

Most probably this is really not an issue of Doxia but surefire.

> Surefire-report stack traces appear on a single line.
> -----------------------------------------------------
>
>                 Key: SUREFIRE-1084
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1084
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Josh Eversmann
>            Priority: Minor
>         Attachments: Screen Shot 2014-06-30 at 6.40.32 PM.png
>
>
> The <pre> tags and line breaks used by SurefireReportGenerator .constructFailureDetails do not correctly format the stack trace in the generated page.
> Related PR: https://github.com/apache/maven-surefire/pull/41



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)