diff options
author | marha <marha@users.sourceforge.net> | 2012-06-08 09:33:13 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-08 09:33:13 +0200 |
commit | 990bc3f015a4f8fce2eb918375defcd44980a845 (patch) | |
tree | 8e8301f19482b52cc00bd95b4593522cc93267af /libxcb/tests/CheckLog.xsl | |
parent | 1af6fc1b5d93e54d6674de8b5870448b29f139a7 (diff) | |
download | vcxsrv-990bc3f015a4f8fce2eb918375defcd44980a845.tar.gz vcxsrv-990bc3f015a4f8fce2eb918375defcd44980a845.tar.bz2 vcxsrv-990bc3f015a4f8fce2eb918375defcd44980a845.zip |
Used synchronise script to update files
Diffstat (limited to 'libxcb/tests/CheckLog.xsl')
-rw-r--r-- | libxcb/tests/CheckLog.xsl | 208 |
1 files changed, 104 insertions, 104 deletions
diff --git a/libxcb/tests/CheckLog.xsl b/libxcb/tests/CheckLog.xsl index 3daebaa5d..75b14e694 100644 --- a/libxcb/tests/CheckLog.xsl +++ b/libxcb/tests/CheckLog.xsl @@ -1,104 +1,104 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<xsl:stylesheet - version="1.0" - xmlns:check="http://check.sourceforge.net/ns" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns="http://www.w3.org/TR/REC-html40"> - -<xsl:output method="html"/> - -<xsl:template match="/"> -<html> - <head> - <title>Test Suite Results</title> - </head> - - <body> - <xsl:apply-templates/> - </body> -</html> -</xsl:template> - -<xsl:template match="datetime"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="duration"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="check:suite"> - <xsl:apply-templates select="check:title"/> - <center> - <table width="80%" border="1"> - <thead> - <tr> - <td>Test Path</td> - <td>Test Function Location</td> - <td>C Identifier</td> - <td>Test Case</td> - <td>Result</td> - </tr> - </thead> - <tbody> - <xsl:apply-templates select="check:test"/> - </tbody> - </table> - </center> -</xsl:template> - -<xsl:template match="check:testsuites"> - <xsl:apply-templates select="check:suite"/> - <h3>Unit Test Statistics</h3> - <ul> - <li>date/time: <xsl:apply-templates select="check:datetime"/></li> - <li>duration: <xsl:apply-templates select="check:duration"/></li> - </ul> - <hr></hr> -</xsl:template> - -<xsl:template match="check:title"> - <h2>Test Suite: <xsl:apply-templates/></h2> -</xsl:template> - -<xsl:template match="check:test[@result='success']"> - <tr bgcolor="lime"> - <xsl:apply-templates/> - </tr> -</xsl:template> - -<xsl:template match="check:test[@result='failure']"> - <tr bgcolor="red"> - <xsl:apply-templates/> - </tr> -</xsl:template> - -<xsl:template match="check:test[@result='error']"> - <tr bgcolor="yellow"> - <xsl:apply-templates/> - </tr> -</xsl:template> - -<xsl:template match="check:path"> - <td><xsl:apply-templates/></td> -</xsl:template> - -<xsl:template match="check:fn"> - <td><xsl:apply-templates/></td> -</xsl:template> - -<xsl:template match="check:id"> - <td><xsl:apply-templates/></td> -</xsl:template> - -<xsl:template match="check:description"> - <td><xsl:apply-templates/></td> -</xsl:template> - -<xsl:template match="check:message"> - <td><xsl:apply-templates/></td> -</xsl:template> - -</xsl:stylesheet> - +<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet
+ version="1.0"
+ xmlns:check="http://check.sourceforge.net/ns"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns="http://www.w3.org/TR/REC-html40">
+
+<xsl:output method="html"/>
+
+<xsl:template match="/">
+<html>
+ <head>
+ <title>Test Suite Results</title>
+ </head>
+
+ <body>
+ <xsl:apply-templates/>
+ </body>
+</html>
+</xsl:template>
+
+<xsl:template match="datetime">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="duration">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="check:suite">
+ <xsl:apply-templates select="check:title"/>
+ <center>
+ <table width="80%" border="1">
+ <thead>
+ <tr>
+ <td>Test Path</td>
+ <td>Test Function Location</td>
+ <td>C Identifier</td>
+ <td>Test Case</td>
+ <td>Result</td>
+ </tr>
+ </thead>
+ <tbody>
+ <xsl:apply-templates select="check:test"/>
+ </tbody>
+ </table>
+ </center>
+</xsl:template>
+
+<xsl:template match="check:testsuites">
+ <xsl:apply-templates select="check:suite"/>
+ <h3>Unit Test Statistics</h3>
+ <ul>
+ <li>date/time: <xsl:apply-templates select="check:datetime"/></li>
+ <li>duration: <xsl:apply-templates select="check:duration"/></li>
+ </ul>
+ <hr></hr>
+</xsl:template>
+
+<xsl:template match="check:title">
+ <h2>Test Suite: <xsl:apply-templates/></h2>
+</xsl:template>
+
+<xsl:template match="check:test[@result='success']">
+ <tr bgcolor="lime">
+ <xsl:apply-templates/>
+ </tr>
+</xsl:template>
+
+<xsl:template match="check:test[@result='failure']">
+ <tr bgcolor="red">
+ <xsl:apply-templates/>
+ </tr>
+</xsl:template>
+
+<xsl:template match="check:test[@result='error']">
+ <tr bgcolor="yellow">
+ <xsl:apply-templates/>
+ </tr>
+</xsl:template>
+
+<xsl:template match="check:path">
+ <td><xsl:apply-templates/></td>
+</xsl:template>
+
+<xsl:template match="check:fn">
+ <td><xsl:apply-templates/></td>
+</xsl:template>
+
+<xsl:template match="check:id">
+ <td><xsl:apply-templates/></td>
+</xsl:template>
+
+<xsl:template match="check:description">
+ <td><xsl:apply-templates/></td>
+</xsl:template>
+
+<xsl:template match="check:message">
+ <td><xsl:apply-templates/></td>
+</xsl:template>
+
+</xsl:stylesheet>
+
|