manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1581927 - in /manifoldcf/branches/CONNECTORS-912: connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/ tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/
Date Wed, 26 Mar 2014 16:47:41 GMT
Author: kwright
Date: Wed Mar 26 16:47:41 2014
New Revision: 1581927

URL: http://svn.apache.org/r1581927
Log:
Move cmis tests into connector

Added:
    manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/APISanityIT.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/APISanityIT.java
    manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseITDerby.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseDerby.java
    manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseUIDerby.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseUIDerby.java
    manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/CMISServer.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java
    manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/NavigationDerbyUI.java
      - copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/NavigationDerbyUI.java
Removed:
    manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/APISanityIT.java
    manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseDerby.java
    manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseUIDerby.java
    manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java
    manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/NavigationDerbyUI.java

Copied: manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/APISanityIT.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/APISanityIT.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/APISanityIT.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/APISanityIT.java&p1=manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/APISanityIT.java&r1=1579604&r2=1581927&rev=1581927&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/APISanityIT.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/APISanityIT.java
Wed Mar 26 16:47:41 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.cmis_tests;
+package org.apache.manifoldcf.crawler.connectors.cmis.tests;
 
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
@@ -51,7 +51,7 @@ import org.junit.Test;
 /**
  * @author Piergiorgio Lucidi
  */
-public class APISanityIT extends BaseDerby
+public class APISanityIT extends BaseITDerby
 {
   private static final String REPLACER = "?";
   private static final String CMIS_TEST_QUERY_CHANGE_DOC = "SELECT * FROM cmis:document WHERE
cmis:name='"+REPLACER+"'";
@@ -290,7 +290,7 @@ public class APISanityIT extends BaseDer
       connectionObject.addChild(connectionObject.getChildCount(),child);
       
       child = new ConfigurationNode("class_name");
-      child.setValue("org.apache.manifoldcf.agents.output.nullconnector.NullConnector");
+      child.setValue("org.apache.manifoldcf.agents.tests.TestingOutputConnector");
       connectionObject.addChild(connectionObject.getChildCount(),child);
       
       child = new ConfigurationNode("description");

Copied: manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseITDerby.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseDerby.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseITDerby.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseITDerby.java&p1=manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseDerby.java&r1=1579604&r2=1581927&rev=1581927&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseDerby.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseITDerby.java
Wed Mar 26 16:47:41 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.cmis_tests;
+package org.apache.manifoldcf.crawler.connectors.cmis.tests;
 
 import org.apache.manifoldcf.crawler.system.ManifoldCF;
 import org.junit.After;
@@ -27,7 +27,7 @@ import org.junit.Before;
  *  @author Piergiorgio Lucidi
  * 
  * */
-public class BaseDerby extends org.apache.manifoldcf.crawler.tests.BaseITDerby
+public class BaseITDerby extends org.apache.manifoldcf.crawler.tests.BaseITDerby
 {
   protected CMISServer cmisServer = 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/teardown

Copied: manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseUIDerby.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseUIDerby.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseUIDerby.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseUIDerby.java&p1=manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseUIDerby.java&r1=1579604&r2=1581927&rev=1581927&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/BaseUIDerby.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/BaseUIDerby.java
Wed Mar 26 16:47:41 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.cmis_tests;
+package org.apache.manifoldcf.crawler.connectors.cmis.tests;
 
 /** Tests that run the "agents daemon" should be derived from this */
 public class BaseUIDerby extends org.apache.manifoldcf.crawler.tests.ConnectorBaseUIDerby
@@ -38,7 +38,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"};
   }
 
   protected String[] getAuthorityClasses()

Copied: manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/CMISServer.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/CMISServer.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/CMISServer.java&p1=manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java&r1=1579604&r2=1581927&rev=1581927&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/CMISServer.java
Wed Mar 26 16:47:41 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.cmis_tests;
+package org.apache.manifoldcf.crawler.connectors.cmis.tests;
 
 import org.eclipse.jetty.server.handler.ContextHandlerCollection;
 import org.eclipse.jetty.server.Server;

Copied: manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/NavigationDerbyUI.java
(from r1579604, manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/NavigationDerbyUI.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/NavigationDerbyUI.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/NavigationDerbyUI.java&p1=manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/NavigationDerbyUI.java&r1=1579604&r2=1581927&rev=1581927&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/NavigationDerbyUI.java
(original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/cmis/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/cmis/tests/NavigationDerbyUI.java
Wed Mar 26 16:47:41 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.cmis_tests;
+package org.apache.manifoldcf.crawler.connectors.cmis.tests;
 
 import java.util.Locale;
 
@@ -71,7 +71,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



Mime
View raw message