/usr/share/doc/libahven4-dev/examples/docbook-testreport/xsl/overview.xsl is in libahven4-dev 2.4+repack-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output type="xml"/>
<xsl:variable name="total_suites" select="count(//testsuite)"/>
<xsl:variable name="total_cases" select="count(//testcase)"/>
<xsl:variable name="failed_cases" select="count(//failure)"/>
<xsl:template match="/">
<chapter id="overview">
<title>Overview</title>
<informaltable>
<tgroup cols='2'>
<tbody>
<row>
<entry>Total defined testsuites</entry>
<entry><xsl:value-of select="$total_suites"/></entry>
</row>
<row>
<entry>Total testcases executed</entry>
<entry><xsl:value-of select="$total_cases"/></entry>
</row>
<row>
<entry>Total failed testcases</entry>
<entry><xsl:value-of select="$failed_cases"/></entry>
</row>
</tbody>
</tgroup>
</informaltable>
</chapter>
</xsl:template>
</xsl:stylesheet>
|