PR: MPJUNITREPORT-2

Fix formatting/escaping of error messages.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@393643 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2006-04-12 23:08:03 +00:00
parent ba7fca35bc
commit 926adeeca4
2 changed files with 5 additions and 4 deletions

View File

@ -63,9 +63,9 @@
<define:tag name="displayFailure"> <define:tag name="displayFailure">
<j:choose> <j:choose>
<j:when test="${current.attribute('message') != null}"> <j:when test="${current.attribute('message') != null}">
<code> <code><pre>
${current.attributeValue('message')} ${current.attributeValue('message')}
</code> </pre></code>
</j:when> </j:when>
<j:otherwise> <j:otherwise>
N/A N/A
@ -401,10 +401,10 @@ ${current.attributeValue('message')}
<td colspan="2"> <td colspan="2">
<!-- removing stacktrace generated by maven --> <!-- removing stacktrace generated by maven -->
<!-- no way to preserve newlines, jelly strips out everything --> <!-- no way to preserve newlines, jelly strips out everything -->
<code> <code><pre>
${exceptionTool.truncateNestedStackTrace(exceptionTool.truncateNestedStackTrace(failure.text, 'at org.apache.commons.jelly.tags.ant.AntTag.doTag'), ${exceptionTool.truncateNestedStackTrace(exceptionTool.truncateNestedStackTrace(failure.text, 'at org.apache.commons.jelly.tags.ant.AntTag.doTag'),
'at sun.reflect.NativeMethodAccessorImpl.invoke0(')} 'at sun.reflect.NativeMethodAccessorImpl.invoke0(')}
</code> </pre></code>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -26,6 +26,7 @@
</properties> </properties>
<body> <body>
<release version="1.5.1-SNAPSHOT" date="in SVN"> <release version="1.5.1-SNAPSHOT" date="in SVN">
<action dev="ltheussl" type="fix" issue="MPJUNITREPORT-2">Fix formatting/escaping of error messages.</action>
<action dev="ltheussl" type="add" issue="MPJUNITREPORT-10">Add ability to specify a custom jsl transform. New property <code>maven.junit.report.jsl</code>.</action> <action dev="ltheussl" type="add" issue="MPJUNITREPORT-10">Add ability to specify a custom jsl transform. New property <code>maven.junit.report.jsl</code>.</action>
<action dev="ltheussl" type="add" issue="MPJUNITREPORT-11" due-to="Cyrille Le Clerc">Keep nested exceptions in truncated stack traces.</action> <action dev="ltheussl" type="add" issue="MPJUNITREPORT-11" due-to="Cyrille Le Clerc">Keep nested exceptions in truncated stack traces.</action>
<action dev="ltheussl" type="add" issue="MPJUNITREPORT-6" due-to="Cyrille Le Clerc">Include System.out/System.err in the generated report.</action> <action dev="ltheussl" type="add" issue="MPJUNITREPORT-6" due-to="Cyrille Le Clerc">Include System.out/System.err in the generated report.</action>