|
From: Pelle B. <pe...@us...> - 2004-03-22 20:19:06
|
Update of /cvsroot/neuclear/neuclear-ledger-prevalent/src/test/org/neuclear/ledger/prevalent In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11732/src/test/org/neuclear/ledger/prevalent Modified Files: PrevalentLedgerTest.java Log Message: Added simple ledger for unit testing and in memory use Index: PrevalentLedgerTest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-ledger-prevalent/src/test/org/neuclear/ledger/prevalent/PrevalentLedgerTest.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** PrevalentLedgerTest.java 22 Mar 2004 17:27:16 -0000 1.1.1.1 --- PrevalentLedgerTest.java 22 Mar 2004 20:08:46 -0000 1.2 *************** *** 1,13 **** package org.neuclear.ledger.prevalent; ! import org.neuclear.ledger.LedgerTest; import org.neuclear.ledger.Ledger; import org.neuclear.ledger.LowlevelLedgerException; import org.neuclear.ledger.UnknownLedgerException; - import org.neuclear.commons.NeuClearException; import javax.naming.NamingException; - import java.sql.SQLException; import java.io.IOException; /** --- 1,13 ---- package org.neuclear.ledger.prevalent; ! import org.neuclear.commons.NeuClearException; ! import org.neuclear.ledger.AbstractLedgerTest; import org.neuclear.ledger.Ledger; import org.neuclear.ledger.LowlevelLedgerException; import org.neuclear.ledger.UnknownLedgerException; import javax.naming.NamingException; import java.io.IOException; + import java.sql.SQLException; /** *************** *** 18,22 **** * To change this template use File | Settings | File Templates. */ ! public class PrevalentLedgerTest extends LedgerTest { public PrevalentLedgerTest(String s) throws LowlevelLedgerException, UnknownLedgerException, SQLException, NamingException, IOException, NeuClearException { super(s); --- 18,22 ---- * To change this template use File | Settings | File Templates. */ ! public class PrevalentLedgerTest extends AbstractLedgerTest { public PrevalentLedgerTest(String s) throws LowlevelLedgerException, UnknownLedgerException, SQLException, NamingException, IOException, NeuClearException { super(s); *************** *** 25,29 **** public Ledger createLedger() throws LowlevelLedgerException { try { ! return new PrevalentLedger("test","target/test-data/ledger/"); } catch (IOException e) { throw new LowlevelLedgerException(e); --- 25,29 ---- public Ledger createLedger() throws LowlevelLedgerException { try { ! return new PrevalentLedger("test", "target/test-data/ledger/"); } catch (IOException e) { throw new LowlevelLedgerException(e); |