Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  metacat 7379 over 11 years ben leinfelder use CDATA for docname field in docInfo so that ...
  metacatnettest 7402 over 11 years ben leinfelder remove use of HttpMessage (in morpho.jar) in fa...
  metacattest 7167 almost 12 years ben leinfelder test for running concurrent Metacat queries to ...
MCTestCase.java 27.8 KB 6790 over 12 years ben leinfelder query for deleted metadata when testing that re...

Latest revisions

# Date Author Comment
7402 10/15/2012 04:41 PM ben leinfelder

remove use of HttpMessage (in morpho.jar) in favor of standard httpclient methods for calling the servlet in tests

7379 09/12/2012 02:22 PM ben leinfelder

use CDATA for docname field in docInfo so that XML parser ignores the content that can contain characters like "&

7352 08/07/2012 12:10 PM ben leinfelder

sleep before updating and deleting test documents - otherwise their index entries may not be fully written and this causes errors (update and delete first attempt to remove index references, but if they are not in the DB yet then they are not removed but then they do get added and the FK constraints make the delete fail). Since we know indexing occurs in a separate thread with a configured delay, we just use this same delay in our testing.

7264 06/07/2012 10:45 AM Jing Tao

Use a final static string to replace the hard code.
Search document title rather than id in testReplicateEML_AtoB method.

7261 06/07/2012 08:23 AM ben leinfelder

use CN session when testing getLogRecords() and getOperationStatistics() becuase they are now protecting "sensitive" information

7167 05/04/2012 02:50 PM ben leinfelder

test for running concurrent Metacat queries to mimic Kepler data search.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5518

7164 05/02/2012 09:11 AM ben leinfelder

include testSynchronizationFailed() and call as the CN subject so that it is authorized.

7163 05/02/2012 09:06 AM ben leinfelder

use MN (self) as the Session.subject so that the MN.delete() call is successful.

7161 05/01/2012 02:55 PM ben leinfelder

comment out testDelete because it requires acting as the MN
comment out testSynchronizationFailed because it requires acting as the CN

7160 05/01/2012 02:49 PM ben leinfelder

uncomment the MN tests (I bet this was an oversight during local testing)

View revisions

Also available in: Atom