Index: topia/src/test/org/codelutin/topia/persistence/PersistenceStorageJDBCDerbyEmbeddedTest.java diff -u topia/src/test/org/codelutin/topia/persistence/PersistenceStorageJDBCDerbyEmbeddedTest.java:1.2 topia/src/test/org/codelutin/topia/persistence/PersistenceStorageJDBCDerbyEmbeddedTest.java:1.3 --- topia/src/test/org/codelutin/topia/persistence/PersistenceStorageJDBCDerbyEmbeddedTest.java:1.2 Tue Aug 9 13:36:19 2005 +++ topia/src/test/org/codelutin/topia/persistence/PersistenceStorageJDBCDerbyEmbeddedTest.java Fri Aug 19 14:52:47 2005 @@ -23,10 +23,10 @@ * Created: 25 juillet 2005 15:39:58 CEST * * @author Benjamin POUSSIN - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * - * Last update: $Date: 2005/08/09 13:36:19 $ - * by : $Author: dessard $ + * Last update: $Date: 2005/08/19 14:52:47 $ + * by : $Author: bpoussin $ */ package org.codelutin.topia.persistence; @@ -37,41 +37,41 @@ import org.codelutin.topia.TopiaConst; /** - * + * * test Apache Derby (Cloudscape) avec la base embarquée. - * + * */ public class PersistenceStorageJDBCDerbyEmbeddedTest extends - AbstractPersistenceStorageTestCase { // PersistenceStorageJDBCOracleTest + AbstractPersistenceStorageTestCase { // PersistenceStorageJDBCOracleTest - /** to use log facility, just put in your code: log.info(\"...\"); */ - static private Logger log = Logger - .getLogger("org.codelutin.topia.persistence.PersistenceStorageJDBCDerbyTest"); - - public Properties getConfig() throws Exception { - System.out - .println("----------------- Apache Derby (Cloudscape) Embedded ----------------------"); - Properties config = new Properties(); - - config.setProperty(TopiaConst.PERSISTENCE_STORAGE_JDBC_DRIVER, - "org.apache.derby.jdbc.EmbeddedDriver"); - config.setProperty(TopiaConst.PERSISTENCE_STORAGE_JDBC_URL, - "jdbc:derby:/tmp/topia-derby;create=true"); - - // config.setProperty(TopiaConst.PERSISTENCE_STORAGE_JDBC_LOGIN, "APP"); - // config.setProperty(TopiaConst.PERSISTENCE_STORAGE_JDBC_PASSWORD, - // "APP"); - - return config; - } - - public void testDummy() throws Exception { - } - - public void testPerf() throws Exception { - int n = (MAX < 5000 ? MAX : 10); - super.testPerf(n); - } + /** to use log facility, just put in your code: log.info(\"...\"); */ + static private Logger log = Logger + .getLogger("org.codelutin.topia.persistence.PersistenceStorageJDBCDerbyTest"); + + public Properties getConfig() throws Exception { + System.out + .println("----------------- Apache Derby (Cloudscape) Embedded ----------------------"); + Properties config = new Properties(); + + config.setProperty(TopiaConst.PERSISTENCE_STORAGE_JDBC_DRIVER, + "org.apache.derby.jdbc.EmbeddedDriver"); + config.setProperty(TopiaConst.PERSISTENCE_STORAGE_JDBC_URL, + "jdbc:derby:/tmp/topia-derby;create=true"); + + // config.setProperty(TopiaConst.PERSISTENCE_STORAGE_JDBC_LOGIN, "APP"); + // config.setProperty(TopiaConst.PERSISTENCE_STORAGE_JDBC_PASSWORD, + // "APP"); + + return config; + } + + public void testDummy() throws Exception { + } + + public void testPerf() throws Exception { + int n = (MAX < 5000 ? MAX : 10); + super.testPerf(n); + } } // PersistenceStorageJDBCOracleTest