manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1582141 - in /manifoldcf/branches/CONNECTORS-912: connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/ tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/
Date Thu, 27 Mar 2014 00:38:57 GMT
Author: kwright
Date: Thu Mar 27 00:38:57 2014
New Revision: 1582141

URL: http://svn.apache.org/r1582141
Log:
Move wiki tests to connector

Added:
    manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseITDerby.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseDerby.java
    manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseUIDerby.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseUIDerby.java
    manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/MockWikiService.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/MockWikiService.java
    manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/NavigationDerbyUI.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/NavigationDerbyUI.java
    manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/SanityDerbyIT.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/SanityDerbyIT.java
Removed:
    manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseDerby.java
    manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseUIDerby.java
    manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/MockWikiService.java
    manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/NavigationDerbyUI.java
    manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/SanityDerbyIT.java

Copied: manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseITDerby.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseDerby.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseITDerby.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseITDerby.java&p1=manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseDerby.java&r1=1579604&r2=1582141&rev=1582141&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseDerby.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseITDerby.java
Thu Mar 27 00:38:57 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.wiki_tests;
+package org.apache.manifoldcf.crawler.connectors.wiki.tests;
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
@@ -28,7 +28,7 @@ import java.util.*;
 import org.junit.*;
 
 /** Tests that run the "agents daemon" should be derived from this */
-public class BaseDerby extends org.apache.manifoldcf.crawler.tests.BaseITDerby
+public class BaseITDerby extends org.apache.manifoldcf.crawler.tests.BaseITDerby
 {
   protected MockWikiService wikiService = null;
   
@@ -49,7 +49,7 @@ public class BaseDerby extends org.apach
   
   protected String[] getOutputClasses()
   {
-    return new String[]{"org.apache.manifoldcf.agents.output.nullconnector.NullConnector"};
+    return new String[]{"org.apache.manifoldcf.agents.tests.TestingOutputConnector"};
   }
   
   // Setup and teardown the mock wiki service

Copied: manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseUIDerby.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseUIDerby.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseUIDerby.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseUIDerby.java&p1=manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseUIDerby.java&r1=1579604&r2=1582141&rev=1582141&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/BaseUIDerby.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/BaseUIDerby.java
Thu Mar 27 00:38:57 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.wiki_tests;
+package org.apache.manifoldcf.crawler.connectors.wiki.tests;
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
@@ -49,7 +49,7 @@ public class BaseUIDerby extends org.apa
   
   protected String[] getOutputClasses()
   {
-    return new String[]{"org.apache.manifoldcf.agents.output.nullconnector.NullConnector"};
+    return new String[]{"org.apache.manifoldcf.agents.tests.TestingOutputConnector"};
   }
   
   // Setup and teardown the mock wiki service

Copied: manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/MockWikiService.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/MockWikiService.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/MockWikiService.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/MockWikiService.java&p1=manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/MockWikiService.java&r1=1579604&r2=1582141&rev=1582141&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/MockWikiService.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/MockWikiService.java
Thu Mar 27 00:38:57 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.wiki_tests;
+package org.apache.manifoldcf.crawler.connectors.wiki.tests;
 
 import org.eclipse.jetty.servlet.ServletHolder;
 import org.eclipse.jetty.server.Server;

Copied: manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/NavigationDerbyUI.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/NavigationDerbyUI.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/NavigationDerbyUI.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/NavigationDerbyUI.java&p1=manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/NavigationDerbyUI.java&r1=1579604&r2=1582141&rev=1582141&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/NavigationDerbyUI.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/NavigationDerbyUI.java
Thu Mar 27 00:38:57 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.wiki_tests;
+package org.apache.manifoldcf.crawler.connectors.wiki.tests;
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
@@ -107,7 +107,7 @@ public class NavigationDerbyUI extends B
     window = testerInstance.findWindow(null);
     form = window.findForm(testerInstance.createStringDescription("editconnection"));
     selectbox = form.findSelectbox(testerInstance.createStringDescription("classname"));
-    selectbox.selectValue(testerInstance.createStringDescription("org.apache.manifoldcf.agents.output.nullconnector.NullConnector"));
+    selectbox.selectValue(testerInstance.createStringDescription("org.apache.manifoldcf.agents.tests.TestingOutputConnector"));
     button = window.findButton(testerInstance.createStringDescription("Continue to next page"));
     button.click();
     // Visit the Throttling tab

Copied: manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/SanityDerbyIT.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/SanityDerbyIT.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/SanityDerbyIT.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/SanityDerbyIT.java&p1=manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/SanityDerbyIT.java&r1=1579604&r2=1582141&rev=1582141&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/wiki/src/test/java/org/apache/manifoldcf/wiki_tests/SanityDerbyIT.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/wiki/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/wiki/tests/SanityDerbyIT.java
Thu Mar 27 00:38:57 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.wiki_tests;
+package org.apache.manifoldcf.crawler.connectors.wiki.tests;
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
@@ -30,7 +30,7 @@ import java.util.*;
 import org.junit.*;
 
 /** This is a very basic sanity check */
-public class SanityDerbyIT extends BaseDerby
+public class SanityDerbyIT extends BaseITDerby
 {
   protected static Map<String,String> initialCheckResources;
   protected static Map<String,String> initialListResources;
@@ -153,7 +153,7 @@ public class SanityDerbyIT extends BaseD
       IOutputConnection outputConn = outputMgr.create();
       outputConn.setName("Null Connection");
       outputConn.setDescription("Null Connection");
-      outputConn.setClassName("org.apache.manifoldcf.agents.output.nullconnector.NullConnector");
+      outputConn.setClassName("org.apache.manifoldcf.agents.tests.TestingOutputConnector");
       outputConn.setMaxConnections(100);
       // Now, save
       outputMgr.save(outputConn);



Mime
View raw message