jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r654784 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/query/QueryTest.java
Date Fri, 09 May 2008 12:36:05 GMT
Author: mreutegg
Date: Fri May  9 05:36:05 2008
New Revision: 654784

URL: http://svn.apache.org/viewvc?rev=654784&view=rev
Log:
JCR-1585: Remove calls to System.out in tests

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/query/QueryTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/query/QueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/query/QueryTest.java?rev=654784&r1=654783&r2=654784&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/query/QueryTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/query/QueryTest.java
Fri May  9 05:36:05 2008
@@ -55,14 +55,10 @@
         Node n = testRootNode.addNode("spiTest:node");
         testRootNode.save();
 
-        long time = System.currentTimeMillis();
         for (int i = 0; i < 10; i++) {
             String prefix = defaultPrefix + i;
             superuser.setNamespacePrefix(prefix, namespaceURI);
             executeXPathQuery(superuser, testPath + "/" + prefix + ":node", new Node[]{n});
         }
-        time = System.currentTimeMillis() - time;
-        System.out.println("Executed 10 queries in " + time + " ms");
-        System.out.println("Time per query: " + (time / 10) + " ms");
     }
 }



Mime
View raw message