/usr/share/CUnit/CUnit-List.xsl is in libcunit1 2.1-0.dfsg-9.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | <?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="CUNIT_TEST_LIST_REPORT">
<html>
<head>
<title> CUnit - Logical Test Case Organization in Test Registry </title>
</head>
<body bgcolor="#e0e0f0">
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="CUNIT_HEADER">
<div align="center">
<h3> <b> CUnit - A Unit testing framework for C. </b>
<br/> <a href="http://cunit.sourceforge.net/"> http://cunit.sourceforge.net/ </a> </h3>
</div>
</xsl:template>
<xsl:template match="CUNIT_LIST_TOTAL_SUMMARY">
<p/>
<table align="center" width="50%">
<xsl:apply-templates/>
</table>
</xsl:template>
<xsl:template match="CUNIT_LIST_TOTAL_SUMMARY_RECORD">
<tr>
<td bgcolor="#f0f0e0" width="70%">
<xsl:value-of select="CUNIT_LIST_TOTAL_SUMMARY_RECORD_TEXT" />
</td>
<td bgcolor="#f0e0e0" align="center">
<xsl:value-of select="CUNIT_LIST_TOTAL_SUMMARY_RECORD_VALUE" />
</td>
</tr>
</xsl:template>
<xsl:template match="CUNIT_ALL_TEST_LISTING">
<p/>
<div align="center"> <h2> Listing of All Tests </h2> </div>
<table align="center" width="90%">
<xsl:apply-templates/>
</table>
</xsl:template>
<xsl:template match="CUNIT_ALL_TEST_LISTING_SUITE">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="CUNIT_ALL_TEST_LISTING_SUITE_DEFINITION">
<tr>
<td width="10%" bgcolor="#f0e0f0"> Suite </td>
<td width="20%" bgcolor="#e0f0f0" > <b> <xsl:value-of select="SUITE_NAME" /> </b> </td>
<td width="15%" bgcolor="#f0e0f0"> Initialize Function? </td>
<td width="5%" bgcolor="#e0f0f0"> <xsl:value-of select="INITIALIZE_VALUE" /> </td>
<td width="15%" bgcolor="#f0e0f0"> Cleanup Function? </td>
<td width="5%" bgcolor="#e0f0f0"> <xsl:value-of select="CLEANUP_VALUE" /> </td>
<td width="10%" bgcolor="#f0e0f0"> Test Count </td>
<td width="5%" bgcolor="#e0f0f0"> <xsl:value-of select="TEST_COUNT_VALUE" /> </td>
</tr>
</xsl:template>
<xsl:template match="CUNIT_ALL_TEST_LISTING_SUITE_TESTS">
<tr>
<td align="center" bgcolor="#e0f0d0"> Test Cases </td>
<td align="left" colspan="7" bgcolor="#e0e0d0">
<xsl:for-each select="TEST_CASE_NAME">
<xsl:apply-templates/><br />
</xsl:for-each>
</td> </tr>
<tr bgcolor="#00ccff"> <td colspan="8"> </td> </tr>
</xsl:template>
<xsl:template match="CUNIT_ALL_TEST_LISTING_GROUP">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="CUNIT_ALL_TEST_LISTING_GROUP_DEFINITION">
<tr>
<td width="10%" bgcolor="#f0e0f0"> Suite </td>
<td width="20%" bgcolor="#e0f0f0" > <b> <xsl:value-of select="GROUP_NAME" /> </b> </td>
<td width="15%" bgcolor="#f0e0f0"> Initialize Function? </td>
<td width="5%" bgcolor="#e0f0f0"> <xsl:value-of select="INITIALIZE_VALUE" /> </td>
<td width="15%" bgcolor="#f0e0f0"> Cleanup Function? </td>
<td width="5%" bgcolor="#e0f0f0"> <xsl:value-of select="CLEANUP_VALUE" /> </td>
<td width="10%" bgcolor="#f0e0f0"> Test Count </td>
<td width="5%" bgcolor="#e0f0f0"> <xsl:value-of select="TEST_COUNT_VALUE" /> </td>
</tr>
</xsl:template>
<xsl:template match="CUNIT_ALL_TEST_LISTING_GROUP_TESTS">
<tr>
<td align="center" bgcolor="#e0f0d0"> Test Cases </td>
<td align="left" colspan="7" bgcolor="#e0e0d0">
<xsl:for-each select="TEST_CASE_NAME">
<xsl:apply-templates/><br />
</xsl:for-each>
</td> </tr>
<tr bgcolor="#00ccff"> <td colspan="8"> </td> </tr>
</xsl:template>
<xsl:template match="CUNIT_FOOTER">
<p/>
<hr align="center" width="90%" color="red" />
<h5 align="center">
<xsl:apply-templates/>
</h5>
</xsl:template>
</xsl:stylesheet>
|