Add tests to test the miss-matched checkup in the update method.
Reget the object inputstream in order to calculate the correct checksum.
Add a method to test the miss-matched checksum for creating a metadata object.
Add a new test method to test the miss-matched checksum for the data object.
Revised the method for testing replication. It did nothing but does test the replication between the mock mn and the local host.
Add the replication source node into the node locator.
Add some methods to support the replicate.
Add a mock mn node as the source node during a replication operation.
Add a integration test.
include multiple creators for DOI test
add test to check if creator value is correctly being extracted from eml when registering with EZID. https://github.nceas.ucsb.edu/KNB/arctic-data/issues/143
Add a test method to test the method check if a local id is in the xml_revision table.
Add more permission tests on the archive method.
Add the test method for the new methods to determine if an object file does exist or not for the given local id.
Change the id since the original one doesn't exist in the group anymore.
Add junit test methods for testing circular obsoletes/obsoletedBy chain in the mn.updateSystemmetadata method.
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.
Add code to testArchive, testSetAccessPolicy, testSetOwner and testSetReplicationPolicy on objects whose authoritative member node is v1 or v2 MNRead.
Add a test method to test different users if they can update system metadata.
Restore the testRightsHolderExpand method on the D1NodeServiceTest.
Move the method testing to expand rights holder to CnodeServiceTest.
Add the junit test code to test the method expanding the rights holder as a group.
Since we disable the schema downloading feature, this test doesn't work anymore.
Add more test cases.
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.
Add the test methods for methods which can figure out the schema location.
Add a junit test class.
Add the test files.
Replaced the JiBXException by MarshallingException.
Merge changes from the 2.6.0 release.
Add a test case on the getHeadPID method to test the messing time stamps.
Add a junit test to test using the noaa format id to validate a xml object.
1. Set knb to version 2.2. Centralize the lter tests into one class.
The getPackage method should throw an exception since the id is a data object.
Add a junit test.
'Change the verion of the production CN from the v1 to the v2.
Add two new test methods to test systemMetadataPIDExists and systemMetadataSIDExists.
merge from 2.0 branch: use updated node list information from cn-dev so that test will match current state of env. https://redmine.dataone.org/issues/7534
merge from 2.0 branch: initialize mock cn for test to run successfully.
Rearrange some test cases.
Add a new test to test the checksum matching for mn.update.
In the hasReservation method, it doesn't throw the IdentifierNotUnqiue exception.
Change the text content for the testing.
Use the create method to replace registerSystemMetadata method.
Use the MN.updateSystemMetadata to replace CN.updateSystemMetadata.
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.
Adjust code according the change on cn.updateSystemMetadata.
Add the testArchive method.
Adjusted the testSetAccessPolicy method.
Adjust the testReplicationPolicy method.
Uncommented some code.
Add a test to test the cn.updateSystemMetadata will ignore the serial version and replica list from the coming system metadata.
Change the test method for the updateSystemMetadata method.
Add the test case to test the setting of same status twice wouldn't increase the system metadata version.
Increase the serial version before we call cn.updateSystemMetadata method.
Use a cn session to registerSystemmetadata.
Removed two intergration test cases.
Use TypeFactory to convert types.
Use the application/bagit-097 to replace application/bagit.
Clone a system metadata object in order to pass a test - updateSystemMetadata.
The mn-demo-6 is a v2 member node.
Add a test case to test against a v1 cn.
A test class is used to test the D1NodeVersionChecker class.
Change the format id to be "application/bagit" in the getPackage method.
Increased the serial version number before updating the system metadata.
Fixed a bug to increase the serial version
Increased the serial version during the test.
Increase serial version during the test of updateSystemMetadata method.
Restore the commented out tests.
Add more test to test the code to create branch obsolete chain.
Add a test method to test the update of the obsoletes and obsoletedBy fields.
Add the code to test a MN to call setReplicationStatus successfully.
Add the code to test that non-cn session can't call some methods like registerSystemMetadata, updateSystemMetadata and et al.
Use the getCNSession to replace the getTestSession which was a actual getCNSession.
Add the test to test new rules: cn and other client calling the method on the authoritative node can call the mn.update.
Add some thread sleeping time to make checking wait the process.
Deleted a unnecessary test class.
Make more cap for the testing.
Insert a document with different authoritative node id. So we can test querySystemMetadata by more cases.
Add a junit test to test the querySystemMetadata method.
Add a junit test class to test the insert of iso119139 object.
Add a junit test case to test the write/read of new fields in the system metadata.
Add the test suite.
Add the code to test scenario that a user tries to update an archived object.
Fixed an null pointer issue in this class.
Add more scenario for check isAuthorized.
Get the node id from the metacat.properties instead of the hard coded one.
Remove the obsoleted test class.
Removed the obsoleted test class.
Now for the untrusted certificate, the client throws an exception rather than returning null.
Add a initial test.
Add a test in it. Otherwise it failed and said there is not tests found.
Change the test case base on the change on checking sid of the create method.
Add the junit test for testing the updateSystemMetadata method.
remove d1_annotator and tests from project -- should be used elsewhere.
Add a code to test the getLogRecord method handling SID.
Add the junit test method for listViews.
Add a test method to test v1.getFormat.
It is tricky to determine if the type works since v2.SystemMetadata extends from v1.SystemMetadata.We have to set true that the return object is v1.SystemMetadata, also set false that the return object is not v2.SystemMetadata.
Add the test code for v1 api.