manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1449563 - /manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java
Date Sun, 24 Feb 2013 22:52:28 GMT
Author: kwright
Date: Sun Feb 24 22:52:28 2013
New Revision: 1449563

URL: http://svn.apache.org/r1449563
Log:
Add at least one simple history test.  Part of CONNECTORS-63.

Modified:
    manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java

Modified: manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java?rev=1449563&r1=1449562&r2=1449563&view=diff
==============================================================================
--- manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java
(original)
+++ manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java
Sun Feb 24 22:52:28 2013
@@ -252,6 +252,9 @@ public class APISanityTester
     if (count != 5)
       throw new ManifoldCFException("Wrong number of documents processed after delete - expected
5, saw "+new Long(count).toString());
 
+    // Have a try to get the history records for the connection
+    result = instance.performAPIGetOperationViaNodes("repositoryconnectionhistory/File%20Connection?report=simple",200);
+
     // Now, delete the job.
     instance.deleteJobAPI(jobIDString);
 



Mime
View raw message