MPDASHBOARD-22: Added aggregator totals to the HTML report.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@164229 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b12eb6c0cd
commit
1cf551d437
@ -52,6 +52,19 @@
|
||||
</x:forEach>
|
||||
</tr>
|
||||
<jsl:applyTemplates/>
|
||||
|
||||
<!-- Display totals for all projects -->
|
||||
<tr>
|
||||
<td><b>Total</b></td>
|
||||
<x:forEach var="aggregatorName" select="project[1]/aggregator/@name">
|
||||
<td>
|
||||
<b>
|
||||
<x:expr select="sum(//aggregator[@name='${aggregatorName.value}'][not(text()='-')][text()])"/>
|
||||
</b>
|
||||
</td>
|
||||
</x:forEach>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
<!-- Verify number of rows -->
|
||||
<ant:echo>Check nb of rows in the report</ant:echo>
|
||||
<x:set var="count" select="count($doc//body/section/table/tr)"/>
|
||||
<assert:assertEquals expected="4" value="${count.intValue().toString()}"/>
|
||||
<assert:assertEquals expected="5" value="${count.intValue().toString()}"/>
|
||||
|
||||
<!-- Verify number of columns. One column for the project name and one for the 28
|
||||
aggregators -->
|
||||
|
||||
@ -25,6 +25,9 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.8-SNAPSHOT" date="in SVN">
|
||||
<action dev="vmassol" type="add" issue="MPDASHBOARD-22" due-to="Morten Kristiansen">
|
||||
Added aggregator totals to the HTML report.
|
||||
</action>
|
||||
<action dev="vmassol" type="update">
|
||||
Default values for <code>maven.dashboard.basedir</code>,
|
||||
<code>maven.dashboard.includes</code>, <code>maven.dashboard.excludes</code>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user