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.
Replaced the JiBXException by MarshallingException.
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.
'Change the verion of the production CN from the v1 to the v2.
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.
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.
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.
Deleted a unnecessary test class.
Make more cap for the testing.
Add the code to test scenario that a user tries to update an archived object.
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.
Add a test case for testing sid chains.
Handle the IOException which was added to MockCNode constructor.
Change the constructor's signature since the super class - MultipartDCNode was changed.
Add the test case 18. Refer https://redmine.dataone.org/issues/6734.
Add two more test cases. Refer https://redmine.dataone.org/issues/6734.
Used the new concept - end to determine the head object of an SID chain.
Add the case 15 refrence the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup.
Add more test cases from the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup
Added the more test cases to get the head version of a SID. See https://epad.dataone.org/pad/p/201501-MaintenanceStandup
Added a test case and fixed a bug.
Add the code to check a system metadata having the missing obsolescence field rather than to modify system metadata.
Implemented 4 rules to determine the head version of a sid chain.Add the test case 14 for testing.
Add a junit test for the converter.
Add the code to test series id in the archive, delete, isAuthorized and systemMetadataChanged method.
Add the code to test the create and update methods using invalid sid in the system metadata.
Add the code to test getChecksum.
Add the test code for getSystemMetadata(sid) and describe(sid).
Add two updates on the testGetSID method.
Add the code to test getting test series ids.
add Annotator Store implementation -- pass through to D1 API for the AnnotatorJS API
remove annotator service test -- this feature has been moved upstream
Overwrite the default node id (which value is metacat) from the metacat.properties. Otherwise, the test will fail.
Add junit test method for saving a metadata document with unmatched xml encoding declaration.
look up annotations when reindexing a given pid. still very much a prototype in that we are looking up annotations from an external annotator-store. TODO: add pid filtering to query when annotateit.org supports it (pending upgrade on their site).
Remove an import.
Removed an import.
Added the junit tests to test the NotFoundException having the deleted information.
In InsertORETest: Set the format ID of the metadata object to an EML formatId so that it gets indexed correctly.
Add a test class that inserts an ORE with PROV relationships
use mock CN for testing metacat implementations
remove unused tests
add support for v2 DataONE API.
take advantage of the ezidclient for multi-threaded/asynchronous DOI registration. This will be most useful for doing large batch updates and not so much for the one-at-a-time publish actions but works in either context. https://projects.ecoinformatics.org/ecoinfo/issues/6440
use separate surName and givenNames to lookup ORCIDs.
Create a derived data and metadata in the OrePackageTest
all full-text queries for ORCID, but it isn't that great because we might have a"PISCO" creator that shows us in may different orcid profiles...false matches.
correct glaring erros -- still needs to be honed, but at least it runs without NPE and Jena/foresite errors
stub for testing ORE augmentation - this generates an ORE, adds a "wasDerivedFrom" triple and saves to Metacat MN for indexing. https://projects.ecoinformatics.org/ecoinfo/issues/6548