Project

General

Profile

Statistics
| Revision:

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

9160 04/01/2015 06:03 AM ben leinfelder

remove d1_annotator and tests from project -- should be used elsewhere.

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.

9129 02/18/2015 05:25 PM Jing Tao

Completed the 18 test cases.

9127 02/18/2015 11:47 AM Jing Tao

Add more test cases for the method getHeadVersion.

9126 02/17/2015 05:37 PM Jing Tao

Add more test cases for the method getHeadVersion.

9120 02/13/2015 08:54 PM Jing Tao

Add test cases for the method getHeadPID.

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

Add a test case for testing sid chains.

9108 02/06/2015 04:47 PM Jing Tao

Add the code to test only 512 characters can be written to db.

9105 02/06/2015 03:46 PM Jing Tao

Add the code to make sure that the event, ip address, principal and userAgent were recorded.

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.

9031 12/19/2014 03:13 PM Jing Tao

Change methods'name base on the change on the source code.

9029 12/19/2014 11:19 AM Jing Tao

Add the code to test the methods of determining if a sid or guid exists.

9027 12/17/2014 04:58 PM Jing Tao

Add a test method to the method to get head version of a sid.

9025 12/17/2014 02:13 PM Jing Tao

Change the test method base on the change of throwing a new sql exception on the getLocalId method.

9014 12/09/2014 01:10 PM ben leinfelder

add Annotator Store implementation -- pass through to D1 API for the AnnotatorJS API

9013 12/09/2014 01:05 PM ben leinfelder

remove annotator service test -- this feature has been moved upstream

9005 11/24/2014 09:26 AM Jing Tao

Overwrite the default node id (which value is metacat) from the metacat.properties. Otherwise, the test will fail.

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

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

8951 11/03/2014 04:14 PM Jing Tao

Add a test file for unmatched xml encoding declaration.

8946 10/31/2014 05:09 PM ben leinfelder

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

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.

8897 10/14/2014 01:45 PM Jing Tao

Add a test method to test the method determining if there is a delete event for the given id.

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

8817 07/30/2014 11:24 AM Lauren Walker

Fix XML validation errors in the metacatui confirmData template for the registry. Add a test script that submits multiple datasets to the registry.

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

add support for v2 DataONE API.

8806 06/01/2014 08:48 AM ben leinfelder

handle login/logout when testing using metacat client (recent refactoring to use more standard http client code)

8802 05/29/2014 02:53 PM ben leinfelder

remove dependency on HttpMessage that was in the utilities project but is now removed in favor of newer (standard) http client library code.

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

8788 05/19/2014 02:21 PM ben leinfelder

use separate surName and givenNames to lookup ORCIDs.

8785 05/16/2014 10:03 AM Lauren Walker

Create a derived data and metadata in the OrePackageTest

8784 05/15/2014 03:17 PM ben leinfelder

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.

8783 05/15/2014 11:55 AM ben leinfelder

correct glaring erros -- still needs to be honed, but at least it runs without NPE and Jena/foresite errors

8782 05/15/2014 11:29 AM ben leinfelder

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

8776 05/14/2014 11:43 AM ben leinfelder

adjust tests for production service -- more "real" information shows additional return values from the query.

8775 05/14/2014 09:18 AM ben leinfelder

switch to the production ORCID server for looking up orcid matches for our creators.
add test to summarize how many creator matches we can actually find. https://projects.ecoinformatics.org/ecoinfo/issues/6423

8763 05/02/2014 04:39 PM ben leinfelder

simplify lookup for classes and orcid. remove the "random" annotation code branches -- just too confusing to look at those bogus classes especially now that we have "real" generated annotations.

8762 04/30/2014 03:47 PM ben leinfelder

add 'test' for indexing annotations without actually storing the RDF of the generated annotation.

8757 04/29/2014 04:54 PM ben leinfelder

first pass at direct EML->semantic index method. Still produces an RDF model, but does not persist it in Metacat, only in the triplestore. Allows us to re-run without adding stale RDF to the MN store.

8748 04/24/2014 01:28 PM ben leinfelder

switch to use FIleUpload instead of O'Reilly COS library for handling chunked file uploads. https://projects.ecoinformatics.org/ecoinfo/issues/6517

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

8743 04/22/2014 11:43 AM ben leinfelder

include BioPortal lookup for Entity matches using the data table description. TODO: only associate measurements to the entity observation if they apply.

8725 04/02/2014 03:40 PM ben leinfelder

add "test" for generating annotations based on the entity/attribute details of a datapackage. This iterates through all current EML revisions and either updates or creates annotations based on what it finds. It does add content to your metacat deployment (RDF files) but it can be safely re-run when each time we change our annotation algorithm.

8721 03/31/2014 04:04 PM ben leinfelder

include sample data package for generating annotations. This is the classic Datos Meteorologicos set, but with Matthew Jones as the creator so that we can look up his ORCID in their sandbox environment. https://projects.ecoinformatics.org/ecoinfo/issues/6267

8717 03/31/2014 10:31 AM ben leinfelder

add test for BioPortal annotator service.

8716 03/28/2014 03:51 PM ben leinfelder

refactor web service calls to bioportal and orcid outside of the annotator class. test with orcid sandbox server. include orcid uri for the annotations being generated (we can index these and drive our searches on these values down the road). related to this: https://projects.ecoinformatics.org/ecoinfo/issues/6423 and also some semtools tasks.

8709 03/23/2014 12:11 AM ben leinfelder

include code to generate random annotations for UI testing. Effective, but can be confusing to see so many unrelated concepts on duplicate EML packages.

8702 03/14/2014 10:59 AM ben leinfelder

first pass at generating annotations from EML attribute information. uses the OpenAnnotation model that the metacat-index tests assume which allows us to populate dynamic index fields for the annotation class[es]. There is still much to be done with finding appropriate concepts for each attribute. https://projects.ecoinformatics.org/ecoinfo/issues/6256

8697 03/04/2014 10:23 AM Jing Tao

Add the test class for the pisco account.

8696 03/04/2014 10:22 AM Jing Tao

Remove the test method for the pisco account since it maybe fails because of the fire wall issue.

8695 03/04/2014 09:48 AM Jing Tao

Add the login test of the pisco account.

8694 03/04/2014 09:47 AM Jing Tao

Add the pisco account.

8677 02/28/2014 01:53 PM Jing Tao

Add a comment to warn the users not to change the password file path to a production one since it will be deleted.

8675 02/28/2014 01:11 PM ben leinfelder

clear test password file so subsequent runs will not fail -- tests assume blank file to begin with.

8649 02/25/2014 05:44 PM Jing Tao

Change the password.

8635 02/21/2014 11:35 AM ben leinfelder

uncomment other tests in suite.

8632 02/21/2014 10:35 AM ben leinfelder

add a few more checks while debugging test

8631 02/21/2014 10:04 AM Peter Slaughter

Use D1client for communication with CN (for integration test)

8625 02/20/2014 01:37 PM ben leinfelder

add test for invalid dryad content -- should be rejected because it is not schema valid.

8624 02/20/2014 12:42 PM ben leinfelder

clean up dryad test doc - only use D1 api. https://projects.ecoinformatics.org/ecoinfo/issues/6419

8622 02/20/2014 10:35 AM ben leinfelder

test for inserting dryad instance doc. https://projects.ecoinformatics.org/ecoinfo/issues/6419

8621 02/19/2014 05:04 PM Peter Slaughter

add test to check sync of access policies of data object referenced in EML 2.0.1 docs

8620 02/19/2014 04:43 PM ben leinfelder

initial basic test of inserting dryad metadata. NOTE: uses metacat api, not dataone api. https://projects.ecoinformatics.org/ecoinfo/issues/6419

8618 02/19/2014 02:52 PM Chris Jones

Add an example Dryad Metadata Profile instance document to test inserts of this schema type.

8614 02/19/2014 12:54 PM ben leinfelder

include a few tests for isEqual method. https://projects.ecoinformatics.org/ecoinfo/issues/6407

8612 02/18/2014 04:50 PM Peter Slaughter

Use client.MetacatClient instance for all metacat api calls

8611 02/18/2014 02:49 PM Peter Slaughter

Test syncing of access policies when updated with legacy metacat api

8559 02/03/2014 04:35 PM Jing Tao

Add a method to test an alias account in the ldap server.

8507 01/17/2014 11:58 AM Jing Tao

Add a group for the testing.

8506 01/16/2014 05:00 PM Jing Tao

Add users which are needed in the junit tests when the metacat is file-based authentication.
If users have been added, it just print out the exception.

8494 01/13/2014 01:42 PM Jing Tao

Change the test file according to the change on the constructor.

8479 01/09/2014 09:16 AM Jing Tao

Made changes according the changes in the AuthFile class.