User: kimptoc 
  Date: 01/07/24 07:26:38

  Modified:    src/build/stylesheets summary2.xsl
  Log:
  highlight errors even more...
  
  Revision  Changes    Path
  1.7       +9 -1      jbosstest/src/build/stylesheets/summary2.xsl
  
  Index: summary2.xsl
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/src/build/stylesheets/summary2.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- summary2.xsl      2001/07/24 13:37:46     1.6
  +++ summary2.xsl      2001/07/24 14:26:38     1.7
  @@ -82,9 +82,17 @@
    <xsl:for-each select="//testsuite">
     <xsl:sort select="@name"/>
     <tr>
  -   <td><a><xsl:attribute name='href'>TEST-<xsl:value-of 
select='@name'/>.xml</xsl:attribute>
  +   <td>
  +    <xsl:if test='@failures=0 and @errors=0'><xsl:attribute 
name='bgcolor'>lightgreen</xsl:attribute>
  +       <a><xsl:attribute name='href'>TEST-<xsl:value-of 
select='@name'/>.xml</xsl:attribute>
            <xsl:value-of select='@name'/>
          </a>
  +    </xsl:if>
  +    <xsl:if test='@failures!=0 or @errors!=0'><xsl:attribute 
name='bgcolor'>brightred</xsl:attribute>
  +       <a><xsl:attribute name='href'>TEST-<xsl:value-of 
select='@name'/>.xml</xsl:attribute>
  +         <xsl:value-of select='@name'/>
  +       </a>
  +    </xsl:if>
      </td>
      <td bgcolor='yellow'><xsl:value-of select='@tests'/></td>
      <td bgcolor='gold'><xsl:value-of select='@tests - @errors - @failures'/></td>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to