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

al_xipe
20.40.2007 405cde52f0a943e93fba3f15de47e9c43965dc5c
1. Round to the lower integer
1 files modified
2 ■■■ changed files
opends/tests/functional-tests/shared/xsl/gen-alltests-report.xsl 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/xsl/gen-alltests-report.xsl
@@ -41,7 +41,7 @@
  <xsl:variable name="fail-tests"   select="count($testcase[@result='fail'])"/>
  <xsl:variable name="inconc-tests" select="count($testcase[@result='unknown'])"/>
  <xsl:variable name="percent-tests" select="round(($pass-tests div $total-tests) * 100)"/>
  <xsl:variable name="percent-tests" select="round((($pass-tests div $total-tests) * 100) - 0.5)"/>
  <!-- Shaded Line -->
  <xsl:element name="hr">