annotate src/org/ssdt_ohio/tools/ant/junit-summary_1.xsl @ 4:bace8c04e066

Correct type in xslt
author smith@nwoca.org
date Thu, 09 Jun 2011 12:24:29 -0400
parents af958c5027b1
children
rev   line source
3
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
2
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
3 <!--
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
4 Document : junit-summary.xsl
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
5 Created on : June 9, 2011, 7:22 PM
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
6 Author : smith
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
7 Description:
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
8 Purpose of transformation follows.
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
9 -->
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
10
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
11 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
12 <xsl:output method="text"/>
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
13 <xsl:template match="/">
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
14 <xsl:for-each select="//testcase">
4
bace8c04e066 Correct type in xslt
smith@nwoca.org
parents: 3
diff changeset
15 <xsl:value-of select="@classname"/>.<xsl:value-of select="@name"/> failure=<xsl:value-of select="count(failure)"/> error=<xsl:value-of select="count(error)"/>
3
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
16 <xsl:text>
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
17 </xsl:text>
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
18 </xsl:for-each>
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
19 </xsl:template>
af958c5027b1 add test junit summary xsl
smith@nwoca.org
parents:
diff changeset
20 </xsl:stylesheet>