1 <?xml version="1.0" encoding="UTF-8"?>
5 xmlns:check="http://check.sourceforge.net/ns"
6 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 xmlns="http://www.w3.org/TR/REC-html40">
9 <xsl:output method="html"/>
11 <xsl:template match="/">
14 <title>Test Suite Results</title>
18 <xsl:apply-templates/>
23 <xsl:template match="datetime">
24 <xsl:apply-templates/>
27 <xsl:template match="duration">
28 <xsl:apply-templates/>
31 <xsl:template match="check:suite">
32 <xsl:apply-templates select="check:title"/>
34 <table width="80%" border="1">
38 <td>Test Function Location</td>
45 <xsl:apply-templates select="check:test"/>
51 <xsl:template match="check:testsuites">
52 <xsl:apply-templates select="check:suite"/>
53 <h3>Unit Test Statistics</h3>
55 <li>date/time: <xsl:apply-templates select="check:datetime"/></li>
56 <li>duration: <xsl:apply-templates select="check:duration"/></li>
61 <xsl:template match="check:title">
62 <h2>Test Suite: <xsl:apply-templates/></h2>
65 <xsl:template match="check:test[@result='success']">
67 <xsl:apply-templates/>
71 <xsl:template match="check:test[@result='failure']">
73 <xsl:apply-templates/>
77 <xsl:template match="check:test[@result='error']">
79 <xsl:apply-templates/>
83 <xsl:template match="check:path">
84 <td><xsl:apply-templates/></td>
87 <xsl:template match="check:fn">
88 <td><xsl:apply-templates/></td>
91 <xsl:template match="check:id">
92 <td><xsl:apply-templates/></td>
95 <xsl:template match="check:description">
96 <td><xsl:apply-templates/></td>
99 <xsl:template match="check:message">
100 <td><xsl:apply-templates/></td>