Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  nceas 10047 almost 8 years Matt Jones Fix issue in getDefaultReplicationPolicy. Prev...

Latest revisions

# Date Author Comment
10047 11/22/2016 02:55 PM Matt Jones

Fix issue in getDefaultReplicationPolicy.

Previously, under some circumstances, a ReplicationPolicy was created but was missing the optional replicationAllowed and numReplicas attributes. These are critical to the policy, so ensure they are set to sensible defaults even when property parsing errors and other issues might skip them. Added a test of this method, but I note that other methods in SystemMetadataFactory do not have unit tests and should be added if they are modified.

10044 11/10/2016 05:22 PM Jing Tao

Add code to testArchive, testSetAccessPolicy, testSetOwner and testSetReplicationPolicy on objects whose authoritative member node is v1 or v2 MNRead.

10023 10/19/2016 03:35 PM Jing Tao

Add a test method to test different users if they can update system metadata.

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.

9998 09/28/2016 05:44 PM Jing Tao

Add the junit test code to test the method expanding the rights holder as a group.

9968 09/12/2016 08:51 PM Jing Tao

Since we disable the schema downloading feature, this test doesn't work anymore.

9966 09/12/2016 01:24 PM Jing Tao

Add more test cases.

9954 09/09/2016 05:32 PM Jing Tao

Add the code to handle the exception which is throwed when the local schema can't be found for a given namespace or format id.

9950 09/09/2016 03:16 PM Jing Tao

Add the test methods for methods which can figure out the schema location.

View revisions

Also available in: Atom