commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bur...@apache.org
Subject svn commit: r156097 - jakarta/commons/sandbox/benchmark/trunk/src/test/org/apache/commons/benchmark/Test1.java
Date Thu, 03 Mar 2005 22:39:16 GMT
Author: burton
Date: Thu Mar  3 14:39:15 2005
New Revision: 156097

URL: http://svn.apache.org/viewcvs?view=rev&rev=156097
Log:
support for assertions around the started/compleded stuff

Modified:
    jakarta/commons/sandbox/benchmark/trunk/src/test/org/apache/commons/benchmark/Test1.java

Modified: jakarta/commons/sandbox/benchmark/trunk/src/test/org/apache/commons/benchmark/Test1.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/benchmark/trunk/src/test/org/apache/commons/benchmark/Test1.java?view=diff&r1=156096&r2=156097
==============================================================================
--- jakarta/commons/sandbox/benchmark/trunk/src/test/org/apache/commons/benchmark/Test1.java
(original)
+++ jakarta/commons/sandbox/benchmark/trunk/src/test/org/apache/commons/benchmark/Test1.java
Thu Mar  3 14:39:15 2005
@@ -28,10 +28,6 @@
     }
 
     public void test1() {
-        System.out.println( "This is a test..." );
-    }
-    
-    public static void main(String args[]) {
 
         Benchmark benchmark = Benchmark.getBenchmark( Test1.class );
         benchmark = benchmark.child( "main" );
@@ -60,6 +56,10 @@
 
         assertEquals( benchmark.getTracker().getStarted(), 0 );
         assertEquals( benchmark.getTracker().getCompleted(), 0 );
+
+    }
+    
+    public static void main(String args[]) {
 
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message