|
From: <pe...@us...> - 2003-12-03 23:21:47
|
Update of /cvsroot/neuclear/neuclear-ledger/src/test/org/neuclear/ledger/implementations
In directory sc8-pr-cvs1:/tmp/cvs-serv23579/src/test/org/neuclear/ledger/implementations
Modified Files:
EntityLedgerTest.java
Log Message:
Got rid of ofbiz support. Way over the top for our use.
Index: EntityLedgerTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-ledger/src/test/org/neuclear/ledger/implementations/EntityLedgerTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** EntityLedgerTest.java 21 Nov 2003 04:43:21 -0000 1.2
--- EntityLedgerTest.java 3 Dec 2003 23:21:43 -0000 1.3
***************
*** 2,6 ****
--- 2,16 ----
import junit.framework.TestCase;
+ import org.neuclear.commons.NeuClearException;
+ import org.neuclear.commons.sql.DefaultConnectionSource;
import org.neuclear.commons.time.TimeTools;
+ import org.ofbiz.core.entity.GenericDelegator;
+ import org.ofbiz.core.entity.GenericEntityException;
+ import org.ofbiz.core.entity.GenericValue;
+ import org.ofbiz.core.util.UtilMisc;
+
+ import javax.naming.NamingException;
+ import java.io.IOException;
+ import java.sql.SQLException;
/*
***************
*** 24,27 ****
--- 34,40 ----
$Id$
$Log$
+ Revision 1.3 2003/12/03 23:21:43 pelle
+ Got rid of ofbiz support. Way over the top for our use.
+
Revision 1.2 2003/11/21 04:43:21 pelle
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 44,49 ****
*/
public final class EntityLedgerTest extends TestCase {
! /* public void testEntityEngine() throws GenericEntityException {
//Instantiate the delegator.
GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");
--- 57,66 ----
*/
public final class EntityLedgerTest extends TestCase {
+ public EntityLedgerTest(String string) throws NamingException, SQLException, IOException, NeuClearException {
+ super(string);
+ new DefaultConnectionSource();
+ }
! public void testEntityEngine() throws GenericEntityException {
//Instantiate the delegator.
GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");
***************
*** 61,64 ****
UtilMisc.toMap("id", "neu://test"));
assertNotNull("Couldn't find Ledger", foundBook);
! }*/
}
--- 78,82 ----
UtilMisc.toMap("id", "neu://test"));
assertNotNull("Couldn't find Ledger", foundBook);
! }
!
}
|