Added scripts to install an oracle or postgres database for a particular version of metacat back to version 1.4. Pulled these from previous metacat tags.
Added debug statements that tell which subtest is being run.
Delete test document after test is through.
Convert remainder of tests that use PropertyService to extend the MCTestCase class
Add properties file that tells tests where to look for configured metacat application.
Have test cases read properties from configured metacat.properties file.
Add debug statements
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
Move common constants into MCTestCase base class
Add more debug statements
Make sure DatabaseService gets instantiated
Add test cases for eml 2.1.0 documents
Add more PropertyService tests
Convert class to extend MCTestCase. Add debug statements.
Make debug method static
Convert properties to camel case
qualify xml and eml properties with an xml. prefix
Continue to qualify property names
Initial addition of PropertyService test.
Qualify harvester properties
Extend TestCase. Fix accountnum property getter.
Extend MCTestCase
Add empty constructor
Add verbose debug statements. These are toggled by the test.printdebug property in metacat.properties
Extend MCTestCase to handle initialization of PropertyService
Create TestCase base class that makes sure PropertyService is instantiated and implements a debug() method that allows us to print to stderr
Replace Options class with PropertyService and create PropertyService using log directory name instead of servlet context
Use qualified test properties
Replace Options class with PropertyService
Merge 1.9 changes into Head
Check into cvs head. Modify some query string.
Check into cvs head. Add initialize option statment at the beginging of the class.
Check into cvs head. Add the statement to initialize option.
Check into cvs head. Move the initialize option statement to the begining of class.
Checkinto cvs head.Move the initialize option statement to the begining of class, since user name is using getting option.
Fixed syntax error: no ; at an end of import statement.
Changes to remove ANT tokens for the turnkey install project
Add code to test upload same identifier twice.
Remove commented test case.
Modified the test for nonlationcharacter.
Add a junit test for test AuthLdap. Currently we have getPrincipals test.
Add method to handle origianl data file error in IPCC eml document
Modify this class in order to correct data file name in some IPCC eml documents
made java 1.4 compliant
Fixed the implement of java class which will upload ipcc data.
Add a file which will upload ipcc data to metacat.
In reuseSession and reuseInvalidSession method, metacat.logout statement were added to make sure it will use fresh Metacat object.
Add test cases to test combination of allow and deny rules. Modify the generate id method to make sure id is unique.
Add token to replace usr/password
Add code to initialize Options and some code clean up
Add code to initialize Options. Otherwise will get null exception.
delete some duplicated test to MetacatClientTest
Test file to see how long it will take to build records in xml_queryresult table.
Fixed some bugs.
Removed user-specific config settings.
Added a couple of configurable constants for host and context. Added JDoc comments.
JUnit tests for ClientViewHelper. Includes tests for logging in, logging out, downloading a single data file, and downloading a package zip file.
Fixed a bug that Option wasn't initialized.
Add a new test to test new query method with qformat.
Add more test (update) on upload
Delete a test for printAttributeQuery which was delete from java file.
Test file for query group.
KNB default path query.
A path query from kepler
New text file to store a number how many time we want to query metacat.
A query client to test metacat performance
Test query with attribute return field to measure metacat peformance.
Test query for measure metacat peformance.
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....
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.
The generateId method somethimes couldn't generate a unique id if you put theminto a big for loop. So i added append to a random number at the end. It works wll
Add delete method in inserting spatial data.
Add new method to keep inserting spatial data.
Add a test eml file which contains spatial data.
Fixed exception handler
Removed the debugMessage method which was removed from MetacatUtil class.
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.
release
fixed bugs in teh client that were preventing the lsid service from working right
fix to the earlier commit. the code was dependent on 1.5. this one isnt
fix to the generateDocid() function so that the docid generated always is bigger than the earlier one.
Added new function getLastDocid to the metacat client so that it isaccessible to clients that need it.
Some changes to the tests to use Logger rather than debugMessage().
Added an attribute to the metacat shapefile called area_coef which is a functionof the areal extent of the datapackage -- so a datapackage which was related toa global collection would have a large extent, whereas a 3-foot squared plotwould have a small extent. Also fixed a bug related to the ID field that was...
a test dataset with coordinate harvested from metacat october 1, 2005.
Removed unwanted code.
Fixed a bug in previous commit and added a test for characters like mu.
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...
Change documentType to eml://ecoinformatics.org/eml-2.0.1.
Change URL value for Harvest unit tests.
Add a new test case for testing get newest revision number.
Removed hardcoded path from EventLogTest.
Fixed a bug.
Added sample eml 2.0.1 document for use in the tests.
Modified buildIndex() to now include an '@' sign in the path for ATTRIBUTEnodes. Removed a bunch of debugging information. Fixed the BuildIndexTestso that it would work on any machine (removed hardcoded paths).
Updated the build index test.
Added test class for buildIndex() routine. Not completed yet.