hbedi       2002/10/19 16:00:45

  Modified:    tests/src/java/org/apache/james/testing TestMethod.java
  Log:
  test method should not aggregate time taken. The time taken is output
  in CSV format. An external time aggregator like Excel could should
  evaluate cumulative time and other stats.
  
  Revision  Changes    Path
  1.3       +1 -1      
jakarta-james/tests/src/java/org/apache/james/testing/TestMethod.java
  
  Index: TestMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-james/tests/src/java/org/apache/james/testing/TestMethod.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestMethod.java   14 Oct 2002 06:44:22 -0000      1.2
  +++ TestMethod.java   19 Oct 2002 23:00:45 -0000      1.3
  @@ -62,7 +62,7 @@
               m.invoke(obj,new Object[0]);
               success++;
           } finally {
  -            timeTaken += (int)(System.currentTimeMillis() - st);
  +            timeTaken = (int)(System.currentTimeMillis() - st);
           }
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@;jakarta.apache.org>

Reply via email to