kaz         2002/06/02 10:23:57

  Modified:    src/dvsl/xdocs junit.dvsl
  Log:
  Workaround for a jaxen bug with regards to the calculation of the junit
  success rate.  Also fixed some other typos while in there.
  
  Revision  Changes    Path
  1.8       +4 -4      jakarta-turbine-maven/src/dvsl/xdocs/junit.dvsl
  
  Index: junit.dvsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/junit.dvsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- junit.dvsl        7 Apr 2002 17:53:05 -0000       1.7
  +++ junit.dvsl        2 Jun 2002 17:23:57 -0000       1.8
  @@ -9,7 +9,7 @@
   ##
   ## Based on the XSL stylesheet junit-noframes.xsl from Ant.
   ##
  -## Version: $Id: junit.dvsl,v 1.7 2002/04/07 17:53:05 kaz Exp $
  +## Version: $Id: junit.dvsl,v 1.8 2002/06/02 17:23:57 kaz Exp $
   
   #######################################################################
   ## G L O B A L    V A R I A B L E S                                  ##
  @@ -68,13 +68,13 @@
   ##
   #macro (displayFailure $current)
       #if ($current.attribute("message"))
  -      $toolbox.htmlescape.getText($current.attribute("message"))
  +      $context.toolbox.htmlescape.getText($current.attribute("message"))
       #else
         N/A
       #end
       <p/>
       <code>
  -      $toolbox.htmlescape.getText($current.value())
  +      $context.toolbox.htmlescape.getText($current.value())
       </code>
   #end
   
  @@ -95,7 +95,7 @@
         #set ($errorCount   = $node.valueOf("sum(testsuite/@errors)"))
         #set ($failureCount = $node.valueOf("sum(testsuite/@failures)"))
         #set ($timeCount    = $node.valueOf("sum(testsuite/@time)"))
  -      #set ($successRate  = $node.valueOf("($testCount - $failureCount - 
$errorCount) div $testCount"))
  +      #set ($successRate  = $node.valueOf("($testCount - ($failureCount + 
$errorCount)) div $testCount"))
         <table>
           <tr>
             <th>Tests</th>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to