|
From: Pelle B. <pe...@us...> - 2004-03-25 19:14:13
|
Update of /cvsroot/neuclear/neuclear-ledger/src/java/org/neuclear/ledger/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6162/src/java/org/neuclear/ledger/tests Modified Files: AbstractLedgerTest.java Log Message: PostedTransaction and friend now verify the unpostedtransaction is balanced. Updated schema for HHeld to include a cancelled field and a completed field. (The latter doesnt yet work right). Need to read more Hibernate docs to find out why. Index: AbstractLedgerTest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-ledger/src/java/org/neuclear/ledger/tests/AbstractLedgerTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AbstractLedgerTest.java 25 Mar 2004 16:44:21 -0000 1.3 --- AbstractLedgerTest.java 25 Mar 2004 19:03:23 -0000 1.4 *************** *** 13,16 **** --- 13,20 ---- * $Id$ * $Log$ + * Revision 1.4 2004/03/25 19:03:23 pelle + * PostedTransaction and friend now verify the unpostedtransaction is balanced. + * Updated schema for HHeld to include a cancelled field and a completed field. (The latter doesnt yet work right). Need to read more Hibernate docs to find out why. + * * Revision 1.3 2004/03/25 16:44:21 pelle * Added getTestBalance() and isBalanced() to Ledger to see if ledger is balanced. *************** *** 18,22 **** * has included hibernates full hibernate.properties to make it easier to try various databases. * It has now been tested with hsql and mysql. ! * * Revision 1.2 2004/03/24 23:12:34 pelle * Working on Hibernate Implementation. --- 22,26 ---- * has included hibernates full hibernate.properties to make it easier to try various databases. * It has now been tested with hsql and mysql. ! * <p/> * Revision 1.2 2004/03/24 23:12:34 pelle * Working on Hibernate Implementation. *************** *** 347,351 **** public final void testNaiveBenchmark() throws UnBalancedTransactionException, LowlevelLedgerException, InvalidTransactionException { ! final int iterations = 1000; final double amount = 50; final String book = "benchbook-" + System.currentTimeMillis(); --- 351,355 ---- public final void testNaiveBenchmark() throws UnBalancedTransactionException, LowlevelLedgerException, InvalidTransactionException { ! final int iterations = 100; final double amount = 50; final String book = "benchbook-" + System.currentTimeMillis(); |