Project

General

Profile

Statistics
| Revision:

# Date Author Comment
6052 04/28/2011 01:53 PM rnahf

removed newline addition to test doc now that the newline problem is fixed in utilities project. Small adjustments to comments and debug statements to aid in debugging. Reordered tests to remove possible insertion between read and getLastDocid test.

6049 04/25/2011 04:16 PM Jing Tao

Make this class be the subclass of the MCTestCase. The super class will initialize the property service for it.

6047 04/25/2011 02:28 PM rnahf

commenting out the pisco user tests, since they only work in production.

6046 04/25/2011 02:24 PM rnahf

put in more explanatory exception methods in the private helper functions that throw exceptions, and some debug statements in the onlineData201CasesTest_1 test.

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

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.

5889 02/03/2011 09:21 AM ben leinfelder

use more unique scope (document id prefix) so that getlastdocid runs successfully. use superclass generateDocumentId() method

5887 02/02/2011 03:52 PM berkley

adding fields for additional system metadata info

5757 12/27/2010 11:25 AM ben leinfelder

create another test for various i18n features including eml 2.1.1
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2495

5754 12/22/2010 01:35 PM ben leinfelder

uncomment the other test cases and make sure we do the clean up when the tests are complete (delete the uploaded documents)

5752 12/21/2010 02:26 PM ben leinfelder

use detected XML encoding when reading/writing files
use UTF-8 as default when performing queries in the DB (assume DB is using UTF-8)
remove as many PrintWriters (uses system default character encoding only) as possible and construct OutputStreamWriters where explicit encoding can be given....

5750 12/20/2010 02:19 PM berkley

fix for paths with semi-colons or other 'reserved' characters in them for D1 rest services

5749 12/17/2010 04:38 PM ben leinfelder

correct the prolog

5747 12/17/2010 11:29 AM ben leinfelder

add XmlStreamReader test for determining encoding

5745 12/16/2010 12:45 PM berkley

found a failure when using an InputStreamReader without an encoding

5744 12/16/2010 12:10 PM berkley

a test to explore character encoding with utf8 chars

5712 12/09/2010 10:41 AM ben leinfelder

support EML 2.1.1

5711 12/09/2010 10:30 AM ben leinfelder

include anonymous parameter when getting report

5709 12/08/2010 04:59 PM ben leinfelder

add support for EML 2.1.1

5480 08/04/2010 02:47 PM berkley

merging changes from branch

5478 08/04/2010 02:45 PM berkley

merging test changes into the trunk

5452 07/26/2010 02:47 PM berkley

fixed identifier manager problem with getting guid for systememtadaa doc

5424 07/06/2010 11:58 AM berkley

fixed bug in access control where the sessionid was not correctly passed along so changes of privileges were not being made

5377 06/09/2010 02:24 PM berkley

working on a function to create dataone system metadata docs for legacy metacat objects that do not have SM.

5337 05/07/2010 03:15 PM berkley

removed CrudService dependency on servlet params. CrudService is now a singleton. I'm getting an error from metacat saying it can't find teh systemmetadata schema, even though it is, in fact, registered with metacat. need to identify why this is happening.

5335 05/03/2010 05:23 PM berkley

added a test for CrudService and added tests for IdentifierManager for each method

5317 04/15/2010 09:47 AM daigle

Add a debug statement to show existing doc id

5291 03/22/2010 08:55 PM Matt Jones

Refactored putObject method to separate the create() and update() portions in order to match the method signatures needed for DataONE.

5287 03/18/2010 04:02 AM Matt Jones

Modified ResourceHandler.deleteObject() to take a globally unique id (guid)
as input rather than a metacat-conformant docid. The guid is translated
into a metacat docid which is then used in the handleDelete() call. So now
Metacat supports use of arbitrary identifiers for delete operations, but...

5286 03/18/2010 03:11 AM Matt Jones

Added support to ResourceHandler to allow the putObject method to use
arbitrary guid strings as input. These strings are examined, and if they
match the Metacat docid format (scope.id.rev), they are used directly. If
the id is a string in another format, a new localId is generated based on...

5284 03/17/2010 11:27 PM Matt Jones

Updated MetacatRestClientTest so that the tests are actually calling fail()
when errors occur, and fixed all sixteen tests so that they run successfully
and can be run from any client (i.e., they don't depend on particular
documents being present in Metacat). The 'restfiles' directory can probably ...

5282 03/17/2010 06:54 PM Matt Jones

Added initial support for arbitrary string identifiers in metacat (referred to as a guid). The new identifier table is used to map arbitrary string identifiers to Metacat's current docid format (referred to as the localId). Added a new IdentifierManager class to manage this table, adding new mappings as objects are added to the system. Modified the MetacatTest service to utilize this mapping table to look up a localId from a guid. IdentiferManagerTest is working with these guids now, as is the MetacatTest service get() method, but other parts of the system are unaware of them (e.g., create, update, delete operations are unaware, and no mapping is created when new documents are created). As a consequence, the MetacatRestClientTest is not working (although it also had lots of hardcoded dependencies that need to be fixed as well).

5211 02/03/2010 06:58 PM Matt Jones

Merging in REST interface implementation that was created by Serhan Akin. Main change is
a refactored MetaCatServlet.java class, in which all of the handle* methods were moved
into a separate MetacatHandler.java class. This allows both the standard MetaCatServlet...

5206 02/03/2010 01:14 PM daigle

add delay in insertSpatialDocs test to avoid buildIndex conflict

5139 11/24/2009 12:28 PM daigle

Fix errors in workflow scheduler unit test

5114 11/09/2009 08:51 AM daigle

Beef up comments

5111 11/06/2009 02:47 PM daigle

Add access api test and supporting files

5110 11/06/2009 02:46 PM daigle

handle ben's change to the metacat client read api because it returns inputstream now

5035 08/24/2009 02:42 PM daigle

Change location of PropertyService to properties directory

5027 08/14/2009 02:26 PM daigle

Change MetaCatVersion to MetacatVersion

5016 08/06/2009 10:59 AM daigle

Fix references to db classes that were moved and refactoring missed.

5003 07/30/2009 10:14 AM daigle

Remove unneeded exception handling

4999 07/27/2009 02:47 PM Duane Costa

Implement fix for Bug #4245: Harvester command line scripts don't execute.

4862 03/25/2009 02:41 PM daigle

Handle UtilException

4816 02/23/2009 11:29 AM daigle

Remove initialization of MetacatUtil.buildIndexPaths in test files. This is taken care of in the background now using SystemUtil.getIndexPaths()

4735 01/08/2009 09:48 AM daigle

The test was failing because it was reading the sitemap file into a buffer and the limit was being reached. Used the FileUtil string reader to get the file.

4719 12/26/2008 04:33 PM daigle

Create a propertyService.getTestInstance method to facilitate unit tests

4701 12/26/2008 01:11 PM daigle

Renamed MetaCatUtil to MetacatUtil

4700 12/26/2008 01:10 PM daigle

Renamed MetaCatUtil to MetacatUtil

4680 12/17/2008 02:18 PM daigle

Added EML 2.1.0 test cases.

4679 12/17/2008 02:17 PM daigle

Change Inline to be inline in the test eml. Added debug statements.

4510 11/04/2008 04:03 PM daigle

Insert documents with different permissions and make sure only the publically readable ones get pulled into the sitemap file.

4509 11/04/2008 04:02 PM daigle

Change getAccessBlock from private to protected so it can override the MCTestCase version

4508 11/04/2008 04:01 PM daigle

Stripped out common eml document creation elements and put into the MCTestCase base class

4504 11/03/2008 11:07 AM daigle

Add debug statements at the beginning of every test module.

4478 10/22/2008 10:18 AM daigle

Add EML 2.1.0 access scenarios

4477 10/21/2008 03:32 PM daigle

Add test cases for EML 2.1.0 documents. Add some generics typing.

4476 10/21/2008 03:32 PM daigle

Add test cases for EML 2.1.0 documents. Add some generics typing.

4445 10/10/2008 05:15 PM daigle

New test case to test xml schema registration.

4407 09/29/2008 11:15 AM daigle

Delete test document after test is through.

4385 09/24/2008 11:28 AM daigle

Convert remainder of tests that use PropertyService to extend the MCTestCase class

4384 09/24/2008 11:28 AM daigle

Convert remainder of tests that use PropertyService to extend the MCTestCase class

4360 09/19/2008 08:31 AM daigle

Add debug statements

4356 09/16/2008 01:39 PM daigle

Increase test cases to include testing read action which reads file from disk and squery which reads from db. Create separate cases for eml 2.0.1 and 2.1.0

4355 09/16/2008 01:38 PM daigle

Move common constants into MCTestCase base class

4339 09/03/2008 09:08 AM daigle

Add more debug statements

4338 09/03/2008 09:08 AM daigle

Add more debug statements

4337 09/03/2008 09:07 AM daigle

Make sure DatabaseService gets instantiated

4333 08/28/2008 01:28 PM daigle

Add test cases for eml 2.1.0 documents

4303 08/22/2008 04:29 PM daigle

Add debug statements

4302 08/22/2008 04:28 PM daigle

Add more PropertyService tests

4301 08/22/2008 04:27 PM daigle

Convert class to extend MCTestCase. Add debug statements.

4231 08/13/2008 08:59 AM daigle

Convert properties to camel case

4213 08/05/2008 05:50 PM daigle

qualify xml and eml properties with an xml. prefix

4212 08/05/2008 05:33 PM daigle

Continue to qualify property names

4209 08/05/2008 04:44 PM daigle

Initial addition of PropertyService test.

4172 07/28/2008 05:04 PM daigle

Qualify harvester properties

4151 07/22/2008 09:21 AM daigle

Add debug statements

4150 07/22/2008 09:20 AM daigle

Extend TestCase. Fix accountnum property getter.

4149 07/22/2008 09:19 AM daigle

Extend MCTestCase

4146 07/18/2008 10:06 AM daigle

Add verbose debug statements. These are toggled by the test.printdebug property in metacat.properties

4145 07/18/2008 10:02 AM daigle

Extend MCTestCase to handle initialization of PropertyService

4127 07/15/2008 10:16 AM daigle

Replace Options class with PropertyService and create PropertyService using log directory name instead of servlet context

4126 07/15/2008 10:16 AM daigle

Use qualified test properties

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

3879 05/16/2008 11:22 AM Jing Tao

Check into cvs head. Modify some query string.

3875 05/15/2008 06:25 PM Jing Tao

Check into cvs head. Add initialize option statment at the beginging of the class.

3873 05/15/2008 05:43 PM Jing Tao

Check into cvs head. Add the statement to initialize option.

3870 05/15/2008 05:13 PM Jing Tao

Check into cvs head. Move the initialize option statement to the begining of class.

3868 05/15/2008 04:59 PM Jing Tao

Checkinto cvs head.Move the initialize option statement to the begining of class, since user name is using getting option.

3815 05/01/2008 04:10 PM Jing Tao

Fixed syntax error: no ; at an end of import statement.

3780 04/02/2008 04:28 PM daigle

Changes to remove ANT tokens for the turnkey install project

3779 04/02/2008 03:21 PM Jing Tao

Add code to test upload same identifier twice.

3760 03/06/2008 04:57 PM Jing Tao

Remove commented test case.

3756 03/03/2008 06:17 PM Jing Tao

Modified the test for nonlationcharacter.