Project

General

Profile

  • svn:keywords: Author, Date, Revision, RCSfile

# Date Author Comment
7816 06/21/2013 11:11 AM ben leinfelder

correct regex for whitespace in D1 identifier.

7261 06/07/2012 08:23 AM ben leinfelder

use CN session when testing getLogRecords() and getOperationStatistics() becuase they are now protecting "sensitive" information

7164 05/02/2012 09:11 AM ben leinfelder

include testSynchronizationFailed() and call as the CN subject so that it is authorized.

7163 05/02/2012 09:06 AM ben leinfelder

use MN (self) as the Session.subject so that the MN.delete() call is successful.

7161 05/01/2012 02:55 PM ben leinfelder

comment out testDelete because it requires acting as the MN
comment out testSynchronizationFailed because it requires acting as the CN

7160 05/01/2012 02:49 PM ben leinfelder

uncomment the MN tests (I bet this was an oversight during local testing)

7101 03/28/2012 11:08 AM ben leinfelder

change ordering of getLogRecords() parameter -- pidFilter is in the middle now

7099 03/27/2012 04:35 PM ben leinfelder

upgrade to latest RC in libclient and common jars -- includes updated getLogRecords and new mn.generateIdentifier method

7040 03/05/2012 06:36 PM Chris Jones

Add testIsEquivIdentityAuthorized() to ensure that [MN|CN].isAuthorized() is authorizing equivalent identities correctly. Note: Using TypeMarshaller.marshalTypeToOutputStream(type, System.out) to serialize an object seems to jack up output to stdout - not sure why.

6942 01/23/2012 03:36 PM Chris Jones

Update the MNodeServiceTest to test the validity of the node document returned by getCapabilities() by parsing it with the TypeMarshaller.

6804 12/19/2011 12:56 PM ben leinfelder

update tests to comply with these chenages:
new jars with many changes -- including new CN methods: ping, describe, listChecksumAlgorithm. Removed MN.setAccessPolicy. Refactored CN.setOwner() to CN.setRightsHolder().

6698 11/28/2011 03:04 PM ben leinfelder

catch all possible exceptions

6612 11/07/2011 11:50 AM ben leinfelder

remove catch blocks for unthrown exceptions

6605 11/04/2011 02:35 PM Chris Jones

Add a test for systemMetadataChanged. This should be fleshed out more so that the test uses a CN certificate.

6597 11/02/2011 10:09 PM ben leinfelder

check object format id values since they are not Comparable objects

6596 11/02/2011 09:58 PM ben leinfelder

make MNodeServiceTest pass JUnit testing

6577 11/01/2011 09:10 AM Chris Jones

MN.setAccessPolicy() is deprecated, commenting out the test.

6561 10/27/2011 05:51 PM ben leinfelder

move the DataONE 1.0.0-SNAPSHOT

6542 10/20/2011 02:03 PM ben leinfelder

add User-Agent logging to support D1 requirements

6532 10/12/2011 11:17 AM ben leinfelder

update D1 jars to include recent SubjectList -> SubjectInfo refactoring and the SUBJECT_PUBLIC constant

6385 08/31/2011 02:37 PM Chris Jones

Update tests to use the DataONE 0.6.4 schema and types.

6372 07/28/2011 10:51 AM ben leinfelder

refactor Constants

6366 07/27/2011 04:25 PM ben leinfelder

use new "v1" types from DataONE

6354 07/19/2011 08:09 AM Chris Jones

Return the new pid (not the obsoleted pid) on update(), and set the correct system metadata.

6349 07/14/2011 04:27 PM ben leinfelder

include Mock version of looking up the base url for our own node - for testReplicate().
still expecting a failure during MN.replicate() since we are trying to add the replica to the same MN from which it came.

6348 07/14/2011 03:12 PM ben leinfelder

allow alternative CNode implementations (subclasses) to be returned when D1Client.getCN() is called. The alternative is given in the Settings configuration via the D1Client.cnClassName property.
MockCNode in Metacat is an example of such an alternative and is used when Metacat requires methods of a CN be present for unit testing.

6338 07/13/2011 09:02 AM Chris Jones

Test that the obsoletes and derivedFrom system metadata fields were set correctly.

6337 07/12/2011 03:02 PM ben leinfelder

use objectFormatIdentifier for listObjects()
remove provisional system metadata indicator - Metacat will not implement reserveIdentifier()

6333 07/10/2011 07:56 PM ben leinfelder

add test for synchronization failed -- TODO: verify that the log record made it in the logs

6332 07/08/2011 04:48 PM ben leinfelder

provisional replicate() implementation -- does not check if the session's subject is "allowed" to do this.
the test also requires 2 servers -- right now it attempts to replicate with itself which will fail because of duplicate IDs

6331 07/08/2011 04:05 PM ben leinfelder

provisional version of getOperationStatistics() -- not clear if we are meant to aggregate by hour or by day

6329 07/08/2011 02:53 PM ben leinfelder

include test for replicate() method -- still fails as not implemented

6327 07/08/2011 02:46 PM ben leinfelder

wire-up the getCapabilities() and getOperationStatistics() methods for when they are actually implemented (tests fail now)

6326 07/08/2011 02:30 PM ben leinfelder

test listObjects()

6325 07/08/2011 02:23 PM ben leinfelder

include MNAuthorization tests

6324 07/08/2011 02:08 PM ben leinfelder

refactor to use common superclass D1NodeServiceTest for shared methods

6314 07/07/2011 01:02 PM Chris Jones

Uncommented MNStorage tests.

6312 07/07/2011 12:31 PM Chris Jones

Send the correct Date format in testGetLogRecords(). I've commented out certain tests in the suite until isAuthorized() functionality is working. It is returning a NotFound exception even though the object is clearly in Metacat.

6309 07/07/2011 09:46 AM Chris Jones

Add MNodeServiceTest tests for MNCore, MNRead, MNStorage, MNAuthorization implementations. MNReplication remains to be tested, as does MNCore.getCapabilities() and getOperationStatistics().