diff options
author | Jiri Vanek <[email protected]> | 2012-06-13 15:30:28 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2012-06-13 15:30:28 +0200 |
commit | cca5cd31d588c20c0333dec46dcebd1db203aac7 (patch) | |
tree | 58c5d45aff4c35f9282eeb613aaa69aeb440022a /tests/report-styles | |
parent | e7ccbbec330a177fb0a313c4258e2574fc51ec4b (diff) |
handle ignored tests in xml and html outputs correctly
Diffstat (limited to 'tests/report-styles')
-rw-r--r-- | tests/report-styles/jreport.xsl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/report-styles/jreport.xsl b/tests/report-styles/jreport.xsl index a54d0f9..cf9c58a 100644 --- a/tests/report-styles/jreport.xsl +++ b/tests/report-styles/jreport.xsl @@ -201,6 +201,9 @@ If there is no need for linking, please use value "none" for this variable <div> <xsl:attribute name="class"> <xsl:choose> + <xsl:when test="@ignored"> + ignored + </xsl:when> <xsl:when test="error"> failed </xsl:when> @@ -246,7 +249,14 @@ If there is no need for linking, please use value "none" for this variable <xsl:choose> <xsl:when test="not(error)"> <div class="status"> - PASSED (<xsl:value-of select="@time"/>s) + <xsl:choose> + <xsl:when test="@ignored"> + IGNORED (<xsl:value-of select="@time"/>s) + </xsl:when> + <xsl:otherwise> + PASSED (<xsl:value-of select="@time"/>s) + </xsl:otherwise> + </xsl:choose> <xsl:choose> <xsl:when test="@known-to-fail"> <xsl:choose> |