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:
vmassol committed 2005-04-22 12:50:52 +00:00
1 parent b12eb6c0cd
commit 1cf551d437
3 files changed
+17 -1

No files matched your search

@@ -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>
+1 -1
View File
@@ -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 -->