commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bali...@apache.org
Subject cvs commit: jakarta-commons-sandbox/simplestore/src/test/org/apache/commons/simplestore TestSample.java
Date Sun, 24 Mar 2002 09:24:31 GMT
baliuka     02/03/24 01:24:31

  Modified:    simplestore README.txt
               simplestore/src/test/org/apache/commons/simplestore
                        TestSample.java
  Log:
  Updated README
  
  Revision  Changes    Path
  1.11      +6 -5      jakarta-commons-sandbox/simplestore/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/simplestore/README.txt,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- README.txt	11 Feb 2002 20:49:30 -0000	1.10
  +++ README.txt	24 Mar 2002 09:24:31 -0000	1.11
  @@ -1,4 +1,4 @@
  -$Id: README.txt,v 1.10 2002/02/11 20:49:30 froehlich Exp $
  +$Id: README.txt,v 1.11 2002/03/24 09:24:31 baliuka Exp $
   
   --------------------------------------------------------------------------
     JAKARTA  COMMONS  -  SIMPLESTORE
  @@ -13,15 +13,16 @@
   libary from:
   
     http://sourceforge.net/projects/hsqldb/
  +
  +For the BTree storage you need JDBM from:
  +
  +  http://sourceforge.net/projects/jdbm
     
   For testing the project, you will also need JUnit:
   
     http://www.junit.org/
     
  -And the JDBC 2.0 Standard Extension:
  -  
  -  http://java.sun.com/products/jdbc/download.html
  -  
  + 
   For compiling rename the build.properties.sample file into
   build.properties, and modify to reflect the locations of the 
   libraries on your computer.
  
  
  
  1.20      +3 -2      jakarta-commons-sandbox/simplestore/src/test/org/apache/commons/simplestore/TestSample.java
  
  Index: TestSample.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/simplestore/src/test/org/apache/commons/simplestore/TestSample.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- TestSample.java	24 Mar 2002 06:27:35 -0000	1.19
  +++ TestSample.java	24 Mar 2002 09:24:31 -0000	1.20
  @@ -72,7 +72,7 @@
   /**
    *@author     Juozas Baliuka <a href="mailto:baliuka@mwm.lt">
    *      baliuka@mwm.lt</a>
  - *@version    $Id: TestSample.java,v 1.19 2002/03/24 06:27:35 baliuka Exp $
  + *@version    $Id: TestSample.java,v 1.20 2002/03/24 09:24:31 baliuka Exp $
    */
   public class TestSample extends TestCase implements org.apache.commons.simplestore.tools.Constants{
       
  @@ -221,6 +221,7 @@
       
       protected void setUp() throws java.lang.Exception {
           super.setUp();
  +        long time = System.currentTimeMillis();
          if(false){ 
           DBPersistenceManagerFactory factory = new DBPersistenceManagerFactory();
           factory.setDriver("org.hsqldb.jdbcDriver");
  @@ -236,7 +237,7 @@
           factory.setMetaResource("org/apache/commons/simplestore/storage.xml");
           pm = factory.getPersistenceManager();
          }
  -        
  +        System.out.println("Setup: " + ( System.currentTimeMillis()/1000f - time/1000f
)  );
       }
       
   }
  
  
  

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


Mime
View raw message