You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2014/03/26 17:35:31 UTC
svn commit: r1581916 - in /manifoldcf/branches/CONNECTORS-912:
connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/
tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/
Author: kwright
Date: Wed Mar 26 16:35:30 2014
New Revision: 1581916
URL: http://svn.apache.org/r1581916
Log:
Move alfresco tests to new place
Added:
manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/APISanityIT.java
- copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/APISanityIT.java
manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseITDerby.java
- copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseDerby.java
manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseUIDerby.java
- copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseUIDerby.java
manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/NavigationDerbyUI.java
- copied, changed from r1579604, manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/NavigationDerbyUI.java
Removed:
manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/APISanityIT.java
manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseDerby.java
manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseUIDerby.java
manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/NavigationDerbyUI.java
Copied: manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/APISanityIT.java (from r1579604, manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/APISanityIT.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/APISanityIT.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/APISanityIT.java&p1=manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/APISanityIT.java&r1=1579604&r2=1581916&rev=1581916&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/APISanityIT.java (original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/APISanityIT.java Wed Mar 26 16:35:30 2014
@@ -17,7 +17,7 @@
* limitations under the License.
*/
-package org.apache.manifoldcf.alfresco_tests;
+package org.apache.manifoldcf.crawler.connectors.alfresco.tests;
import java.io.IOException;
import java.rmi.RemoteException;
@@ -55,7 +55,7 @@ import org.junit.Test;
/**
* @author Piergiorgio Lucidi
*/
-public class APISanityIT extends BaseDerby
+public class APISanityIT extends BaseITDerby
{
private static final String REPLACER = "?";
@@ -396,7 +396,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/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseITDerby.java (from r1579604, manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseDerby.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseITDerby.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseITDerby.java&p1=manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseDerby.java&r1=1579604&r2=1581916&rev=1581916&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseDerby.java (original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseITDerby.java Wed Mar 26 16:35:30 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.alfresco_tests;
+package org.apache.manifoldcf.crawler.connectors.alfresco.tests;
import org.eclipse.jetty.security.HashLoginService;
import org.eclipse.jetty.server.handler.ContextHandlerCollection;
@@ -32,7 +32,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 Server alfrescoServer = null;
@@ -54,7 +54,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/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseUIDerby.java (from r1579604, manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseUIDerby.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseUIDerby.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseUIDerby.java&p1=manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseUIDerby.java&r1=1579604&r2=1581916&rev=1581916&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/BaseUIDerby.java (original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/BaseUIDerby.java Wed Mar 26 16:35:30 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.alfresco_tests;
+package org.apache.manifoldcf.crawler.connectors.alfresco.tests;
/** Tests that run the "agents daemon" should be derived from this */
@@ -39,7 +39,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"};
}
}
Copied: manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/NavigationDerbyUI.java (from r1579604, manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/NavigationDerbyUI.java)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/NavigationDerbyUI.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/NavigationDerbyUI.java&p1=manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/NavigationDerbyUI.java&r1=1579604&r2=1581916&rev=1581916&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-912/tests/alfresco/src/test/java/org/apache/manifoldcf/alfresco_tests/NavigationDerbyUI.java (original)
+++ manifoldcf/branches/CONNECTORS-912/connectors/alfresco/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfresco/tests/NavigationDerbyUI.java Wed Mar 26 16:35:30 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.alfresco_tests;
+package org.apache.manifoldcf.crawler.connectors.alfresco.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