Project

General

Profile

Statistics
| Revision:

metacat / test @ 3677

# Date Author Comment
3677 01/11/2008 01:09 PM ben leinfelder

made java 1.4 compliant

3665 12/19/2007 05:21 PM Jing Tao

Fixed the implement of java class which will upload ipcc data.

3662 12/18/2007 05:58 PM Jing Tao

Add a file which will upload ipcc data to metacat.

3588 11/06/2007 05:29 PM Jing Tao

In reuseSession and reuseInvalidSession method, metacat.logout statement were added to make sure it will use fresh Metacat object.

3584 11/06/2007 02:43 PM Jing Tao

Add test cases to test combination of allow and deny rules. Modify the generate id method to make sure id is unique.

3576 11/05/2007 06:20 PM Jing Tao

Add token to replace usr/password

3567 11/03/2007 10:16 PM Jing Tao

Add code to initialize Options and some code clean up

3566 11/03/2007 09:09 PM Jing Tao

Add code to initialize Options. Otherwise will get null exception.

3562 11/02/2007 05:02 PM Jing Tao

delete some duplicated test to MetacatClientTest

3546 10/31/2007 04:42 PM Jing Tao

Test file to see how long it will take to build records in xml_queryresult table.

3538 10/26/2007 01:12 PM barteau

Fixed some bugs.

3537 10/26/2007 01:02 PM barteau

Removed user-specific config settings.

3536 10/26/2007 01:00 PM barteau

Added a couple of configurable constants for host and context. Added JDoc comments.

3535 10/26/2007 12:51 PM barteau

JUnit tests for ClientViewHelper. Includes tests for logging in, logging out, downloading a single data file, and downloading a package zip file.

3525 10/23/2007 04:18 PM Jing Tao

Fixed a bug that Option wasn't initialized.

3465 09/19/2007 06:44 PM Jing Tao

Add a new test to test new query method with qformat.

3425 09/11/2007 05:35 PM Jing Tao

Add more test (update) on upload

3359 08/16/2007 11:37 AM Jing Tao

Delete a test for printAttributeQuery which was delete from java file.

3330 07/26/2007 06:26 PM Jing Tao

Test file for query group.

3303 06/21/2007 04:12 PM Jing Tao

KNB default path query.

3298 06/12/2007 09:29 PM Jing Tao

A path query from kepler

3294 06/04/2007 05:30 PM Jing Tao

New text file to store a number how many time we want to query metacat.

3278 05/11/2007 04:15 PM Jing Tao

A query client to test metacat performance

3273 05/10/2007 06:07 PM Jing Tao

Test query with attribute return field to measure metacat peformance.

3272 05/10/2007 06:06 PM Jing Tao

Test query for measure metacat peformance.

3244 04/18/2007 02:26 AM Matt Jones

Added a new class called Sitemap that is used to generate a series of XML documents representing the URLs of metacat documents following the sitemap protocol. The Sitemap class extends TimerTask so that it can be scheduled to run once a day or so. New configuration options were added to metacat.properties to control where the sitemaps are written and hw often they are updated. By default we do it once a day, as more often is overkill for search engines....

3212 03/26/2007 02:47 PM Jing Tao

Currently every MetacatClientTest will generate new doicd and the the docid will be reused. So it will generate problem. I add new method to persistent the doicd in a file and this problem was fixed.

3187 03/02/2007 03:18 PM Jing Tao

The generateId method somethimes couldn't generate a unique id if you put them
into a big for loop. So i added append to a random number at the end. It works wll

3186 02/27/2007 04:16 PM Jing Tao

Add delete method in inserting spatial data.

3172 02/07/2007 03:50 PM Jing Tao

Add new method to keep inserting spatial data.

3171 02/07/2007 03:49 PM Jing Tao

Add a test eml file which contains spatial data.

3170 02/07/2007 01:55 PM barteau

Fixed exception handler

3169 02/07/2007 09:42 AM Jing Tao

Removed the debugMessage method which was removed from MetacatUtil class.

3080 11/10/2006 11:30 AM Matt Jones

Eliminated the 'release' ant tag from the rest of the files. The 'release' property is still used in build.xml for creating releases, but the filter is no longer presnt. Now, when updating the metacat files for a release, you have to set the release version in both the build.xml and the metacat.properties files.

2992 04/19/2006 09:17 AM berkley

fixed bugs in teh client that were preventing the lsid service from working right

2988 04/17/2006 10:54 AM sgarg

fix to the earlier commit. the code was dependent on 1.5. this one isnt

2987 04/17/2006 10:35 AM sgarg

fix to the generateDocid() function so that the docid generated always is bigger than the earlier one.

2981 04/14/2006 02:08 PM Matt Jones

Added new function getLastDocid to the metacat client so that it is
accessible to clients that need it.

2917 02/24/2006 01:18 PM Matt Jones

Some changes to the tests to use Logger rather than debugMessage().

2639 10/04/2005 10:52 AM harris

Added an attribute to the metacat shapefile called area_coef which is a function
of the areal extent of the datapackage -- so a datapackage which was related to
a global collection would have a large extent, whereas a 3-foot squared plot
would have a small extent. Also fixed a bug related to the ID field that was...

2637 10/04/2005 08:33 AM harris

a test dataset with coordinate harvested from metacat october 1, 2005.

2451 04/04/2005 05:47 PM sgarg

Removed unwanted code.

2448 04/04/2005 04:21 PM sgarg

Fixed a bug in previous commit and added a test for characters like mu.

2440 04/01/2005 04:09 PM sgarg

Adding test for checking Metacat behaviour when characters outside A-Z,a-z,0-9 are entered.

Related bugs: 1711, 1538 (1711 has been fixed as tested by this file. Have to add code to test 1711)

Currently checking for
> when < > & is entered - test fails as expected as document is invalid...

2400 03/07/2005 10:16 AM Duane Costa

Change documentType to eml://ecoinformatics.org/eml-2.0.1.

2382 01/20/2005 02:22 PM Duane Costa

Change URL value for Harvest unit tests.

2338 12/16/2004 04:35 PM Jing Tao

Add a new test case for testing get newest revision number.

2329 10/19/2004 09:59 AM Matt Jones

Removed hardcoded path from EventLogTest.

2328 10/18/2004 02:42 PM sgarg

Fixed a bug.

2316 09/21/2004 03:38 PM Matt Jones

Added sample eml 2.0.1 document for use in the tests.

2315 09/21/2004 03:36 PM Matt Jones

Modified buildIndex() to now include an '@' sign in the path for ATTRIBUTE
nodes. Removed a bunch of debugging information. Fixed the BuildIndexTest
so that it would work on any machine (removed hardcoded paths).

2306 09/20/2004 03:10 PM Matt Jones

Updated the build index test.

2294 09/16/2004 01:32 PM Matt Jones

Added test class for buildIndex() routine. Not completed yet.

2288 09/16/2004 11:01 AM sgarg

Added another test to check if access is checked when an old version of inline data is read using action=readinlinedata

2275 09/14/2004 03:57 PM sgarg

Test added to insert eml 2.0.0 document and update it with eml 2.0.1 document.

2265 09/02/2004 02:43 PM sgarg

Added a new method to check upload function when a data stream is passed.

2263 09/01/2004 05:49 PM sgarg

Adding InlineDataAccessTest.java which has tests regarding inline data access. Also updated AccessControlTest.java

2260 08/31/2004 03:47 PM sgarg

Made changes in AccessControl and Online Data Access tests.

2256 08/26/2004 05:30 PM sgarg

Adding new file with tests regarding access controls related to online data... the tests which are failing are commented out for the time being .. once the bugs are fixed in metacat, they will removed.

2255 08/26/2004 02:56 PM Duane Costa

Add additional comments to the test cases.

2254 08/26/2004 01:45 PM Duane Costa

Remove obsolete comment.
Fix broken URL in HarvestSiteScheduleTest.java

2247 08/20/2004 09:20 AM sgarg

Some changes and a bug fix

2244 08/19/2004 06:04 PM sgarg

Changed AccessControlTest.java to include new tests

2243 08/19/2004 06:02 PM sgarg

Changed SubTreeTest.java to handle the exception that is thrown by SubTree.java now.

2242 08/19/2004 11:50 AM sgarg

Added code to test the upload functionality in the client

2241 08/19/2004 11:43 AM sgarg

Adding data files for testing as online data

2239 08/18/2004 01:12 PM sgarg

Adding a new test file for testing the Access Controls in Metacat. Not complete or compilable yet.

2231 07/26/2004 03:19 PM Matt Jones

Added README explaining directory.

2230 07/26/2004 03:18 PM Matt Jones

A series of queries and commands being developed to improve metacat
performance. Very incomplete. WARNING: running some of these commmands
WILL DELETE DATA. Do not run these commands in a production environment.

2158 05/04/2004 09:29 AM Duane Costa

Revise test suite after moving Harvester properties to metacat.properties.

2143 04/28/2004 01:23 PM Duane Costa

Initial suite of JUnit tests for Harvester code

2134 04/26/2004 01:09 PM Duane Costa

JUnit files for tseting Harvester code

2123 04/14/2004 01:24 PM Duane Costa

Sample harvest list XML file

2122 04/14/2004 01:22 PM Duane Costa

Remove obsolete file

2113 04/08/2004 01:49 PM Matt Jones

Added the EventLog functionality to the servlet as action=getlog. Valid parameters are ipAddress, principal, docid, event, start, end. All parameters can be repeated except start and end.

2111 04/07/2004 02:31 AM Matt Jones

Partial implementation of a query facility for the access log. Need to fix problems with the date filtering, and tie this into the servlet action when completed and tested.

2100 04/02/2004 11:31 AM Matt Jones

New EventLogTest modifying the log call to exclude revision.

2096 04/01/2004 10:40 PM Matt Jones

Added classes for basic event logging support. These classes write log entries to the database connection. Still to do: query the event log, write oracle sql code (postgres is done), possibly allow the log to be archived to a text file, and possibly do the dtabase writes asynchronously via a caching mechanism.

2079 03/31/2004 11:42 AM Matt Jones

Added a simple action for finding out the current metacat version. The information is pulled from the property file, so be sure to update the version in the property file before shipping a release.

2074 03/30/2004 10:02 AM Matt Jones

Changed printAttributeQuery() to no longer depend on the xml_index table. Now, if useXMLIndex is false, the method will use a recursive query on xml_nodes to match paths instead of using xml_index.

2069 03/29/2004 11:24 AM Matt Jones

Created new printExtendedSQL function that can get the extended
return fields using only xml_nodes and not xml_index. One
step closer to eliminating the dependence ofn xml_index.

2068 03/26/2004 05:40 PM Matt Jones

Created test class QuerySpecificationTest and started process of removing the xml_index from the QuerySpecification code. Reformatted some classes for readability.

1959 12/10/2003 01:48 PM blankman

This is a sample of a harvest document relocated from the metacat/lib directory

1829 09/22/2003 03:26 PM Matt Jones

Added more debugging messgaes to the test in an attempt to find out
what is wrong with the cookies.

1828 09/22/2003 01:14 PM Matt Jones

Updated more tests on session reuse. Made the http calls set the sessionid
explicitly rather than relying on cookies being passed around statically.
Still need to modify HttpMessage to get rid of the static cookie.

1826 09/19/2003 05:01 PM Matt Jones

New versions of the Metacat client API that allow access to the sessionId
so that a session can be reused over several different instances.

1825 09/17/2003 06:32 PM Matt Jones

Fixed the sessionId handling code to now properly return the sessionId
in the login response message. Updated junit tests to test this issue.

1822 09/17/2003 12:42 PM Matt Jones

Modified metacat to now provide the session identifier in the response
xml message when a login is called. This has not been fully tested.
I removed the HttpMessage class from metacat in favor of using the version
of that class that is found in the utilities module. This may cause some...

1805 08/14/2003 04:42 PM Jing Tao

Revise this text file.

1800 08/12/2003 06:07 PM Jing Tao

Add new test case to testing logout, user doesn't have permision to read, insert, update and delete documents. Add new test case to test inaccessible metacat.

1799 08/12/2003 06:05 PM Jing Tao

Revise it.

1795 08/12/2003 12:35 PM Matt Jones

Implemented the update and delete methods in the interface, along with tests.

1794 08/12/2003 11:43 AM Matt Jones

New version of test document without illegal whitespace trailing the closing
tag of the root element.

1793 08/12/2003 11:00 AM Matt Jones

New test data for testing metacat client.

1792 08/12/2003 10:55 AM Matt Jones

Updated test so that the query test works. Now all tests should pass, but
still having the cntl-m issue on one server.

1791 08/12/2003 10:40 AM Matt Jones

New test code for metacat client. Auto-generate id. Query and read from
the inserted document. Still having some problems with the tests.

1790 08/12/2003 08:07 AM Jing Tao

Query.xml for testing MetacatClient.

1789 08/12/2003 12:24 AM Matt Jones

Implemented the "insert()" method and wrote a test to test it. The new test
depends on the property "newdocid" be set to something unique in the build.xml
file so that the insert will work properly. Probably need to fix this to be
some kind of autoincrement counter or random number so that it can be run...

1788 08/11/2003 11:28 PM Matt Jones

Refactored to use IOUtil routines. Reformatted for within-file consistency.

1787 08/11/2003 06:30 PM Jing Tao

Add a test case for query method.