You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by hb...@apache.org on 2002/10/20 01:00:45 UTC

cvs commit: jakarta-james/tests/src/java/org/apache/james/testing TestMethod.java

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>