mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gary_williams
12.57.2007 1c9efe452674b3aee172b0bb7d3a195e529dfc0c
functional tests stylesheet now has color coded banner
1 files modified
12 ■■■■■ changed files
opends/tests/functional-tests/shared/xsl/gen-alltests-report.xsl 12 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/xsl/gen-alltests-report.xsl
@@ -59,7 +59,17 @@
      <xsl:value-of select="'100%'"/>
    </xsl:attribute>
    <xsl:attribute name="bgcolor">
      <xsl:value-of select="'lightgreen'"/>
      <xsl:choose>
        <xsl:when test="$percent-tests &lt; 80">
          <xsl:value-of select="'red'" />
        </xsl:when>
        <xsl:when test="$percent-tests &lt; 90">
          <xsl:value-of select="'yellow'" />
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="'lightgreen'" />
        </xsl:otherwise>
      </xsl:choose>
    </xsl:attribute>
    <xsl:element name="tr">
      <xsl:element name="td">