|
From: <pe...@us...> - 2003-09-24 23:56:56
|
Update of /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/store
In directory sc8-pr-cvs1:/tmp/cvs-serv524/src/test/org/neuclear/store
Modified Files:
AbstractStoreTest.java
Log Message:
Refactoring nearly done. New model for creating signed objects.
With view for supporting the xmlpull api shortly for performance reasons.
Currently still uses dom4j but that has been refactored out that it
should now be very quick to implement a xmlpull implementation.
A side benefit of this is that the API has been further simplified. I still have some work
todo with regards to cleaning up some of the outlying parts of the code.
Index: AbstractStoreTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/store/AbstractStoreTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** AbstractStoreTest.java 23 Sep 2003 19:16:29 -0000 1.3
--- AbstractStoreTest.java 24 Sep 2003 23:56:49 -0000 1.4
***************
*** 2,5 ****
--- 2,14 ----
$Id$
$Log$
+ Revision 1.4 2003/09/24 23:56:49 pelle
+ Refactoring nearly done. New model for creating signed objects.
+ With view for supporting the xmlpull api shortly for performance reasons.
+ Currently still uses dom4j but that has been refactored out that it
+ should now be very quick to implement a xmlpull implementation.
+
+ A side benefit of this is that the API has been further simplified. I still have some work
+ todo with regards to cleaning up some of the outlying parts of the code.
+
Revision 1.3 2003/09/23 19:16:29 pelle
Changed NameSpace to Identity.
***************
*** 147,162 ****
// store.receive(new Identity(eveName,root,eve.getPublic()));
// System.out.println("Fetching "+rootName);
! // NamedObject nobj1=store.fetch(rootName);
// assertEquals(NSTools.normalizeNameURI(rootName),nobj1.getName());
// System.out.println("Fetching "+bobName);
! // NamedObject nobj2=store.fetch(bobName);
// assertEquals(NSTools.normalizeNameURI(bobName),nobj2.getName());
//
// System.out.println("Fetching "+bobAliceName);
! // NamedObject nobj3=store.fetch(bobAliceName);
// assertEquals(NSTools.normalizeNameURI(bobAliceName),nobj3.getName());
//
// System.out.println("Fetching "+eveName);
! // NamedObject nobj4=store.fetch(eveName);
// assertEquals(NSTools.normalizeNameURI(eveName),nobj4.getName());
}
--- 156,171 ----
// store.receive(new Identity(eveName,root,eve.getPublic()));
// System.out.println("Fetching "+rootName);
! // SignedNamedObject nobj1=store.fetch(rootName);
// assertEquals(NSTools.normalizeNameURI(rootName),nobj1.getName());
// System.out.println("Fetching "+bobName);
! // SignedNamedObject nobj2=store.fetch(bobName);
// assertEquals(NSTools.normalizeNameURI(bobName),nobj2.getName());
//
// System.out.println("Fetching "+bobAliceName);
! // SignedNamedObject nobj3=store.fetch(bobAliceName);
// assertEquals(NSTools.normalizeNameURI(bobAliceName),nobj3.getName());
//
// System.out.println("Fetching "+eveName);
! // SignedNamedObject nobj4=store.fetch(eveName);
// assertEquals(NSTools.normalizeNameURI(eveName),nobj4.getName());
}
|