You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by na...@apache.org on 2001/09/22 02:53:35 UTC

cvs commit: jakarta-tomcat/src/admin/test test.jsp

nacho       01/09/21 17:53:35

  Modified:    src/admin/test test.jsp
  Log:
  HTTP Dates are expressed in Locale.US format
  
  Revision  Changes    Path
  1.17      +3 -3      jakarta-tomcat/src/admin/test/test.jsp
  
  Index: test.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/admin/test/test.jsp,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- test.jsp	2001/08/26 01:37:11	1.16
  +++ test.jsp	2001/09/22 00:53:35	1.17
  @@ -9,7 +9,7 @@
   
   This page will show the result of executing the sanity test suite. 
   
  -<%! Date d ; %>
  +<%! long t ; %>
   
   <%@ include file="sanity-form.jsp" %>
   
  @@ -33,7 +33,7 @@
   %>
   
   <ant:gtest />
  -<% d = new Date(); %>
  +<% t = System.currentTimeMillis(); %>
   <ant:ant>
     <ant:target param="target" />
     
  @@ -57,7 +57,7 @@
   
   <h1>Test <%= antProperties.getProperty("revision") %></h1>
   
  -Executed in <%= (new Date()).getTime() - d.getTime() %> Milliseconds.<br>
  +Executed in <%= System.currentTimeMillis() - t %> Milliseconds.<br>
   
   <% // -------------------- Failures -------------------- %>
   <h1>FAILED Tests</h1>