Author: kwright
Date: Wed Mar 26 11:29:09 2014
New Revision: 1581787

URL: http://svn.apache.org/r1581787
Log:
Make a generic testing output connector, meant to be extended to add any 
specific testing functionality

Added:
    
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/TestingOutputConnector.java
      - copied, changed from r1579604, 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/NullOutputConnector.java
Removed:
    
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/NullOutputConnector.java
Modified:
    
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerHSQLDBTest.java
    
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerTester.java

Modified: 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerHSQLDBTest.java
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerHSQLDBTest.java?rev=1581787&r1=1581786&r2=1581787&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerHSQLDBTest.java
 (original)
+++ 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerHSQLDBTest.java
 Wed Mar 26 11:29:09 2014
@@ -57,7 +57,7 @@ public class SchedulerHSQLDBTest extends
   @Override
   protected String[] getOutputClasses()
   {
-    return new 
String[]{"org.apache.manifoldcf.crawler.tests.NullOutputConnector"};
+    return new 
String[]{"org.apache.manifoldcf.crawler.tests.TestingOutputConnector"};
   }
   
   @Override

Modified: 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerTester.java
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerTester.java?rev=1581787&r1=1581786&r2=1581787&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerTester.java
 (original)
+++ 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/SchedulerTester.java
 Wed Mar 26 11:29:09 2014
@@ -62,7 +62,7 @@ public class SchedulerTester
     IOutputConnection outputConn = outputMgr.create();
     outputConn.setName("Null Connection");
     outputConn.setDescription("Null Connection");
-    
outputConn.setClassName("org.apache.manifoldcf.crawler.tests.NullOutputConnector");
+    
outputConn.setClassName("org.apache.manifoldcf.crawler.tests.TestingOutputConnector");
     outputConn.setMaxConnections(100);
     // Now, save
     outputMgr.save(outputConn);

Copied: 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/TestingOutputConnector.java
 (from r1579604, 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/NullOutputConnector.java)
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/TestingOutputConnector.java?p2=manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/TestingOutputConnector.java&p1=manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/NullOutputConnector.java&r1=1579604&r2=1581787&rev=1581787&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/NullOutputConnector.java
 (original)
+++ 
manifoldcf/branches/CONNECTORS-912/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/TestingOutputConnector.java
 Wed Mar 26 11:29:09 2014
@@ -26,12 +26,12 @@ import org.apache.manifoldcf.crawler.sys
 import java.io.*;
 import java.util.*;
 
-/** Output connector class to be used by scheduling tests.  This connector 
never expects to see any documents at all,
+/** Output connector class to be used by tests.  This connector never expects 
to see any documents at all,
 * which is fine because it rejects them all. */
-public class NullOutputConnector extends 
org.apache.manifoldcf.agents.output.BaseOutputConnector
+public class TestingOutputConnector extends 
org.apache.manifoldcf.agents.output.BaseOutputConnector
 {
 
-  public NullOutputConnector()
+  public TestingOutputConnector()
   {
     super();
   }


Reply via email to