Project

General

Profile

  • svn:eol-style: native
  • svn:keywords: Author Date Id Revision

# Date Author Comment
10004 10/04/2016 05:21 PM Jing Tao

Restore the testRightsHolderExpand method on the D1NodeServiceTest.

10002 10/04/2016 03:26 PM Jing Tao

Move the method testing to expand rights holder to CnodeServiceTest.

9366 10/09/2015 03:24 PM Jing Tao

Change the text content for the testing.

9358 10/02/2015 10:23 AM Jing Tao

Adjust the test code base on the new contrains on setRightHolder, archive. The new contrains is they only apply to the objects whose authoriative node is v1.

9355 10/01/2015 05:35 PM Jing Tao

Adjust code according the change on cn.updateSystemMetadata.

9351 10/01/2015 12:30 PM Jing Tao

Add the testArchive method.

9348 09/30/2015 05:03 PM Jing Tao

Adjusted the testSetAccessPolicy method.

9346 09/30/2015 04:39 PM Jing Tao

Adjust the testReplicationPolicy method.

9344 09/30/2015 04:27 PM Jing Tao

Uncommented some code.

9338 09/25/2015 05:17 PM Jing Tao

Add a test to test the cn.updateSystemMetadata will ignore the serial version and replica list from the coming system metadata.

9336 09/24/2015 05:21 PM Jing Tao

Change the test method for the updateSystemMetadata method.

9316 09/04/2015 03:13 PM Jing Tao

Add the test case to test the setting of same status twice wouldn't increase the system metadata version.

9302 08/19/2015 02:30 PM Jing Tao

Clone a system metadata object in order to pass a test - updateSystemMetadata.

9286 08/06/2015 03:11 PM Jing Tao

Increased the serial version number before updating the system metadata.

9273 07/30/2015 05:33 PM Jing Tao

Add the code to test a MN to call setReplicationStatus successfully.

9267 07/28/2015 04:22 PM Jing Tao

Add the code to test that non-cn session can't call some methods like registerSystemMetadata, updateSystemMetadata and et al.

9266 07/28/2015 03:31 PM Jing Tao

Use the getCNSession to replace the getTestSession which was a actual getCNSession.

9171 04/14/2015 02:44 PM Jing Tao

Change the test case base on the change on checking sid of the create method.

9167 04/13/2015 06:19 PM Jing Tao

Add the junit test for testing the updateSystemMetadata method.

9147 03/09/2015 05:21 PM Jing Tao

Add the junit test method for listViews.

9112 02/09/2015 05:44 PM Jing Tao

Add a test case for testing sid chains.

8907 10/15/2014 04:56 PM Jing Tao

Removed an import.

8905 10/15/2014 04:49 PM Jing Tao

Added the junit tests to test the NotFoundException having the deleted information.

8834 08/07/2014 02:28 PM ben leinfelder

use mock CN for testing metacat implementations

8810 07/23/2014 04:19 PM ben leinfelder

add support for v2 DataONE API.

7466 12/07/2012 10:35 AM ben leinfelder

return from test when we encounter the NotImplemented exception for CN.search()

7464 12/07/2012 10:25 AM ben leinfelder

CN.search() id not implemented by metacat -- making that explicit and also testing for it.

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

6882 01/11/2012 11:31 AM ben leinfelder

remove method: assertRelation
https://redmine.dataone.org/issues/2158

6879 01/11/2012 09:39 AM Chris Jones

Use a Date with resolution to milliseconds.

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().

6797 12/16/2011 09:42 AM ben leinfelder

for test to compile, provide BaseException param for setReplicationStatus. I used a NotAuthorized instance.

6697 11/28/2011 02:44 PM ben leinfelder

act as a registered CN when calling CN methods -- create(), for example, is restricted to only be callable by a node of type CN.

6688 11/23/2011 10:19 AM ben leinfelder

when comparing D1 Subject objects, use the equals() method not direct string comparison
https://redmine.dataone.org/issues/2050

6622 11/08/2011 03:49 PM ben leinfelder

upgrade to 1.0.1-SNAPSHOT DataONE jars

6594 11/02/2011 08:08 PM Chris Jones

Update CNodeService test to include serialVersion in it's calls as appropriate.

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

6504 09/22/2011 02:22 PM ben leinfelder

use an actual data object (bytes of "test") when generating system metadata so that the checksum is a valid checksum

6452 09/16/2011 05:03 PM ben leinfelder

test relationship assertion using obsoletes

6413 09/12/2011 09:34 AM ben leinfelder

return the test Identifier so other tests can piggyback

6404 09/11/2011 12:24 PM Chris Jones

Update test for getReplicationStatus to reflect API change.

6397 09/07/2011 05:16 PM ben leinfelder

changes for schema update (d1_common)

6378 08/03/2011 10:46 AM ben leinfelder

latest D1 jars - changes include:
updateSystemMetadata() impl for CN
new identifier methods (generate is its own method)
removal of the resourceMap pointer from system metadata

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

6357 07/20/2011 11:38 AM ben leinfelder

reset object input stream (testGet)
check for reserveIdentifier NotImplemented (expected)

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

refactor to use common superclass D1NodeServiceTest for shared methods

6322 07/07/2011 03:16 PM ben leinfelder

test for getLogRecords -- with some semi-reasonable expectations on the return that is expected

6320 07/07/2011 01:56 PM ben leinfelder

tests for isAuthorized and setAccessPolicy

6319 07/07/2011 01:36 PM ben leinfelder

include getLogRecords() test, though it is commented out at the moment

6317 07/07/2011 01:17 PM ben leinfelder

test for CN.getSystemMetadata()

6315 07/07/2011 01:09 PM ben leinfelder

test CN.get()

6307 07/06/2011 04:30 PM ben leinfelder

add the d1_common formats if they do not exist on the server

6303 07/06/2011 01:35 PM ben leinfelder

remove resolve() test -- not implemented in Metacat

6295 07/05/2011 04:20 PM ben leinfelder

add methods for testing CNodeService impl. Still some failing tests, but whittling them down

6287 07/05/2011 11:54 AM ben leinfelder

refactor to test the entire CN service impl

6195 06/23/2011 04:10 PM ben leinfelder

CNCoreImpl is replaced by CNodeService

6141 06/15/2011 08:53 AM Chris Jones

Updated tests to use ObjectFormatCache.getInstance(), and added tests for CNCoreImpl.listFormats and getFormat().

6130 06/07/2011 02:56 PM ben leinfelder

organize imports so that it is clearer what dependencies exist on the D1 jars

6124 06/07/2011 09:53 AM Chris Jones

Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.

6122 06/06/2011 03:28 PM ben leinfelder

include GUID column for xml_access and related methods for storing/retrieving access rules