changeset 543:c52fcd37dbd8

KnownToFail texts are now bold in html report
author Jiri Vanek <jvanek@redhat.com>
date Tue, 23 Oct 2012 09:56:26 +0200
parents 52aca680875f
children 2c3a063c1aff
files ChangeLog tests/report-styles/jreport.xsl
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 22 12:42:14 2012 -0400
+++ b/ChangeLog	Tue Oct 23 09:56:26 2012 +0200
@@ -1,3 +1,9 @@
+2012-10-23  Jiri Vanek <jvanek@redhat.com>
+
+	KnownToFail texts are now bold in html report
+	* tests/report-styles/jreport.xsl: all text outputs of
+	test="@known-to-fail=true" conditions are marked with <b>.
+
 2012-10-19  Adam Domurad  <adomurad@redhat.com>
 
 	* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/testcases/AdditionalJarsInMetaInfIndexListTests.java
--- a/tests/report-styles/jreport.xsl	Mon Oct 22 12:42:14 2012 -0400
+++ b/tests/report-styles/jreport.xsl	Tue Oct 23 09:56:26 2012 +0200
@@ -261,10 +261,10 @@
            <xsl:when test="@known-to-fail">
              <xsl:choose>
                <xsl:when test="@known-to-fail=true">
-                 <xsl:text>" - WARNING This test is known to fail, but have passed!</xsl:text>
+                 <b><xsl:text>" - WARNING This test is known to fail, but have passed!</xsl:text></b>
                </xsl:when>
                <xsl:otherwise>
-                 <xsl:text> - This test is known to fail</xsl:text>
+                 <b><xsl:text> - This test is known to fail</xsl:text></b>
                </xsl:otherwise>
              </xsl:choose>
            </xsl:when>
@@ -276,7 +276,7 @@
         FAILED (<xsl:value-of select="@time"/>s) 
          <xsl:choose>
            <xsl:when test="@known-to-fail">
-             <xsl:text> - This test is known to fail</xsl:text>
+             <b><xsl:text> - This test is known to fail</xsl:text></b>
            </xsl:when>
          </xsl:choose>
          </div>