Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  metacat 6040 over 13 years Matt Jones Cleaned up imports.
  metacatnettest 6038 over 13 years Matt Jones Remove hardcoded LDAP usernames from testing so...
  metacattest 6043 over 13 years Chris Jones Due to changes in MetacatHandler that creates s...
MCTestCase.java 25.5 KB 5914 almost 14 years ben leinfelder remove httpclient 3.1 and custom-built httpclie...

Latest revisions

# Date Author Comment
6043 04/24/2011 07:00 PM Chris Jones

Due to changes in MetacatHandler that creates system metadata from uploaded EML documents, OnlineDataAccessTest was failing certain tests because of errors in how the test documents were originally uploaded. MetacatHandler.createSystemMetadata() was throwing exceptions because of these errors, specifically when a data document is uploaded with a docid that is difeerent than the docid statement in the EML distribution URL. Most errors involved stated docids with .2 versions, and the metadata had .1 versions....

6040 04/14/2011 05:13 PM Matt Jones

Cleaned up imports.

6039 04/14/2011 05:10 PM Matt Jones

Updated D1 libraries to head to eliminate problems with date parsing -- added
Joda jar to support date parsing. Removed hardcoded DN from test file. Now
CrudServiceTest is passing again.

6038 04/14/2011 03:41 AM Matt Jones

Remove hardcoded LDAP usernames from testing so that MetaCatServletNetTest will work even using alternate
LDAP servers.

6006 03/03/2011 08:15 AM Chris Jones

Fixed the testNCEASLogin() password that I mistakenly changed.

6005 03/03/2011 07:47 AM Chris Jones

Now that MetacatHandler creates GUID identifier mappings and system metadata, many of the tests in IdentifierManagerTest were failing that were manually creating id mappings and system metadata.
Modified testCreateMapping() and testCreateSystemMetadataMapping() to use docids that haven't been inserted to just exercise the methods....

6004 03/02/2011 04:44 PM Chris Jones

Added a new test method testDeleteDocumentByGUID() to ensure MetacatHandler can delete based on GUID, but fall back to docid if the GUID isn't present. Modified CrudServiceTest and made some private methods public to leverage the D1 REST calls in that library (i.e. create() a doc with a GUID).

5946 02/10/2011 06:07 PM Jing Tao

Add a method to test download a schema with included schemas.

5942 02/10/2011 10:27 AM Jing Tao

Add a test file for XMLSchemaServcieTest.

5940 02/09/2011 05:03 PM Jing Tao

Add a junit test file for testing the XMLSchemaParser class.

View revisions

Also available in: Atom