Project

General

Profile

Statistics
| Revision:

# Date Author Comment
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.

9834 07/06/2016 04:54 PM Jing Tao

Replaced the JiBXException by MarshallingException.

9590 03/25/2016 10:44 AM Jing Tao

Add a junit test to test using the noaa format id to validate a xml object.

9537 02/26/2016 03:47 PM Jing Tao

1. Set knb to version 2.
2. Centralize the lter tests into one class.

9495 01/20/2016 11:30 AM Jing Tao

The getPackage method should throw an exception since the id is a data object.

9469 12/21/2015 03:49 PM Jing Tao

'Change the verion of the production CN from the v1 to the v2.

9459 12/16/2015 04:41 PM ben leinfelder

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

9457 12/16/2015 04:37 PM ben leinfelder

merge from 2.0 branch: initialize mock cn for test to run successfully.

9378 10/22/2015 04:28 PM Jing Tao

Rearrange some test cases.

9377 10/22/2015 04:09 PM Jing Tao

Add a new test to test the checksum matching for mn.update.

9372 10/20/2015 04:08 PM Jing Tao

In the hasReservation method, it doesn't throw the IdentifierNotUnqiue exception.

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

Change the text content for the testing.

9365 10/09/2015 02:42 PM Jing Tao

Use the create method to replace registerSystemMetadata method.

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.

9312 08/28/2015 03:57 PM Jing Tao

Use a cn session to registerSystemmetadata.

9310 08/28/2015 11:02 AM Jing Tao

Use TypeFactory to convert types.

9306 08/25/2015 03:26 PM Jing Tao

Use the application/bagit-097 to replace application/bagit.

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

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

9296 08/14/2015 04:06 PM Jing Tao

The mn-demo-6 is a v2 member node.

9293 08/12/2015 05:14 PM Jing Tao

Add a test case to test against a v1 cn.

9292 08/12/2015 04:28 PM Jing Tao

A test class is used to test the D1NodeVersionChecker class.

9289 08/10/2015 04:56 PM Jing Tao

Change the format id to be "application/bagit" in the getPackage method.

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

Increased the serial version number before updating the system metadata.

9285 08/06/2015 02:34 PM Jing Tao

Fixed a bug to increase the serial version

9282 08/06/2015 12:04 PM Jing Tao

Increased the serial version during the test.

9281 08/06/2015 11:05 AM Jing Tao

Increase serial version during the test of updateSystemMetadata method.

9279 08/05/2015 04:22 PM Jing Tao

Restore the commented out tests.

9278 08/05/2015 04:20 PM Jing Tao

Add more test to test the code to create branch obsolete chain.

9276 08/04/2015 03:54 PM Jing Tao

Add a test method to test the update of the obsoletes and obsoletedBy fields.

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.

9264 07/27/2015 04:21 PM Jing Tao

Add the test to test new rules: cn and other client calling the method on the authoritative node can call the mn.update.

9201 05/07/2015 06:14 PM Jing Tao

Add the code to test scenario that a user tries to update an archived object.

9191 05/01/2015 04:27 PM Jing Tao

Add more scenario for check isAuthorized.

9187 05/01/2015 11:37 AM Jing Tao

Get the node id from the metacat.properties instead of the hard coded one.

9184 04/30/2015 02:10 PM Jing Tao

Removed the obsoleted test class.

9181 04/30/2015 10:40 AM Jing Tao

Now for the untrusted certificate, the client throws an exception rather than returning null.

9180 04/30/2015 09:52 AM Jing Tao

Add a initial test.

9179 04/30/2015 09:38 AM Jing Tao

Add a test in it. Otherwise it failed and said there is not tests found.

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.

9158 03/31/2015 04:06 PM Jing Tao

Add a code to test the getLogRecord method handling SID.

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

Add the junit test method for listViews.

9144 03/06/2015 05:38 PM Jing Tao

Add a test method to test v1.getFormat.

9132 02/19/2015 03:12 PM Jing Tao

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.

9130 02/19/2015 02:51 PM Jing Tao

Add the test code for v1 api.

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

Add a test case for testing sid chains.

9104 02/06/2015 03:23 PM Jing Tao

Handle the IOException which was added to MockCNode constructor.

9103 02/06/2015 03:22 PM Jing Tao

Change the constructor's signature since the super class - MultipartDCNode was changed.

9089 02/03/2015 05:48 PM Jing Tao

Add the test case 18. Refer https://redmine.dataone.org/issues/6734.

9088 02/03/2015 02:32 PM Jing Tao

Add two more test cases. Refer https://redmine.dataone.org/issues/6734.

9086 02/02/2015 02:58 PM Jing Tao

Used the new concept - end to determine the head object of an SID chain.

9085 02/02/2015 01:52 PM Jing Tao

Add the case 15 refrence the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup.

9084 02/02/2015 10:28 AM Jing Tao

Add more test cases from the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup

9082 01/30/2015 04:37 PM Jing Tao

Added the more test cases to get the head version of a SID.
See https://epad.dataone.org/pad/p/201501-MaintenanceStandup

9081 01/29/2015 05:14 PM Jing Tao

Added a test case and fixed a bug.

9080 01/29/2015 04:32 PM Jing Tao

Add the code to check a system metadata having the missing obsolescence field rather than to modify system metadata.

9079 01/28/2015 07:34 PM Jing Tao

Implemented 4 rules to determine the head version of a sid chain.
Add the test case 14 for testing.

9075 01/23/2015 11:29 AM Jing Tao

Add a junit test for the converter.

9052 12/31/2014 03:51 PM Jing Tao

Add the code to test series id in the archive, delete, isAuthorized and systemMetadataChanged method.

9049 12/30/2014 02:10 PM Jing Tao

Add the code to test the create and update methods using invalid sid in the system metadata.

9042 12/29/2014 02:35 PM Jing Tao

Add the code to test getChecksum.

9039 12/24/2014 03:43 PM Jing Tao

Add the test code for getSystemMetadata(sid) and describe(sid).

9035 12/23/2014 12:03 PM Jing Tao

Add two updates on the testGetSID method.

9034 12/23/2014 11:34 AM Jing Tao

Add the code to test getting test series ids.

8952 11/03/2014 04:15 PM Jing Tao

Add junit test method for saving a metadata document with unmatched xml encoding declaration.

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

Remove an import.

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

Removed an import.

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

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

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

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

8848 09/11/2014 09:26 AM Lauren Walker

In InsertORETest: Set the format ID of the metadata object to an EML formatId so that it gets indexed correctly.

8835 08/15/2014 01:25 PM Lauren Walker

Add a test class that inserts an ORE with PROV relationships

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

use mock CN for testing metacat implementations

8833 08/07/2014 02:12 PM ben leinfelder

remove unused tests

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

add support for v2 DataONE API.

8795 05/22/2014 01:59 PM ben leinfelder

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

8745 04/23/2014 10:19 AM ben leinfelder

correct the ORE lookup query syntax and add junit assertion to check that it continues to function as expected. https://projects.ecoinformatics.org/ecoinfo/issues/6529

8311 10/11/2013 02:42 PM Jing Tao

Fixed compile error that an ioexception should be caught.

8304 10/09/2013 11:52 PM Matt Jones

Reviewed code for all uses of FileInputStream, checking to see if the method should be closing the stream, and if so, closing it in the method as well as in the finally clause to ensure we don't leak file descriptors.

8209 09/16/2013 04:19 PM ben leinfelder

test that d1 node admin is allowed all permissions. https://projects.ecoinformatics.org/ecoinfo/issues/6086

8204 09/16/2013 02:22 PM ben leinfelder

test for configured target url template on metadata using the default #view url. https://projects.ecoinformatics.org/ecoinfo/issues/6092

8103 08/01/2013 01:27 PM ben leinfelder

default to non-https when testing localhost. If the developer has a hostname configured with https, it will correctly use this configured baseUrl, otherwise it will just use http://localhost.

7853 07/05/2013 06:33 PM ben leinfelder

MN.getPackage() - test with ORE that includes 2 data files and a "metadata" file (still should be using EML for that test). https://projects.ecoinformatics.org/ecoinfo/issues/6026

7850 07/04/2013 12:33 PM ben leinfelder

First pass at MN.getPackage() implementation using Bagit library from LOC. https://projects.ecoinformatics.org/ecoinfo/issues/6026

7849 07/03/2013 09:58 PM ben leinfelder

add method for publishing existing object (usually assumed to be scimeta) with a DOI. https://projects.ecoinformatics.org/ecoinfo/issues/6014

7816 06/21/2013 11:11 AM ben leinfelder

correct regex for whitespace in D1 identifier.

7693 05/14/2013 06:10 PM Jing Tao

Add code to test title for the query result.

7692 05/14/2013 05:51 PM Jing Tao

Rewrite some methods, so the query result can be processed many times.

7686 05/10/2013 03:02 PM Jing Tao

Removed the commented out text cases and add a test for archvied document.

7679 05/09/2013 12:19 AM Jing Tao

Call setting certificate location to be the test one after getting the MN baseurl.
The method to getting MN baseurl somehow calls CN and it set the certificate location to be /var/metacat/certs/METACAT1.pem.

7675 05/08/2013 04:53 PM Jing Tao

Use the MNode to query the server when we use certificates to set up the session.