Author: kwright
Date: Wed Mar 26 23:54:25 2014
New Revision: 1582131
URL: http://svn.apache.org/r1582131
Log:
Move webcrawler tests into connector
Added:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITDerby.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseDerby.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITMySQL.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseMySQL.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITPostgresql.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BasePostgresql.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseUIDerby.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseUIDerby.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlMySQLLT.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlMySQLLT.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlPostgresqlIT.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlPostgresqlIT.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlTester.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlTester.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockSessionWebService.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockSessionWebService.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockWebService.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockWebService.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/NavigationDerbyUI.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/NavigationDerbyUI.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionLoginDerbyIT.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionLoginDerbyIT.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionTester.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionTester.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingDerbyLT.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingDerbyLT.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingPostgresqlLT.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingPostgresqlLT.java
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingTester.java
- copied, changed from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingTester.java
Removed:
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseDerby.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseMySQL.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BasePostgresql.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseUIDerby.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlMySQLLT.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlPostgresqlIT.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlTester.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockSessionWebService.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockWebService.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/NavigationDerbyUI.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionLoginDerbyIT.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionTester.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingDerbyLT.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingPostgresqlLT.java
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingTester.java
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITDerby.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseDerby.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITDerby.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITDerby.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseDerby.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseDerby.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITDerby.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.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 String[] getConnectorNames()
{
@@ -47,7 +47,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"};
}
}
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITMySQL.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseMySQL.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITMySQL.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITMySQL.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseMySQL.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseMySQL.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITMySQL.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.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 BaseMySQL extends org.apache.manifoldcf.crawler.tests.BaseITMySQL
+public class BaseITMySQL extends
org.apache.manifoldcf.crawler.tests.BaseITMySQL
{
protected String[] getConnectorNames()
{
@@ -47,7 +47,7 @@ public class BaseMySQL 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"};
}
}
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITPostgresql.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BasePostgresql.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITPostgresql.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITPostgresql.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BasePostgresql.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BasePostgresql.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseITPostgresql.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.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 BasePostgresql extends
org.apache.manifoldcf.crawler.tests.BaseITPostgresql
+public class BaseITPostgresql extends
org.apache.manifoldcf.crawler.tests.BaseITPostgresql
{
protected String[] getConnectorNames()
{
@@ -47,7 +47,7 @@ public class BasePostgresql extends org.
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/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseUIDerby.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseUIDerby.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseUIDerby.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseUIDerby.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseUIDerby.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BaseUIDerby.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BaseUIDerby.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import org.apache.manifoldcf.core.interfaces.*;
import org.apache.manifoldcf.agents.interfaces.*;
@@ -47,7 +47,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/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlMySQLLT.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlMySQLLT.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlMySQLLT.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlMySQLLT.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlMySQLLT.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlMySQLLT.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlMySQLLT.java
Wed Mar 26 23:54:25 2014
@@ -16,14 +16,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import java.io.*;
import java.util.*;
import org.junit.*;
/** This is a very basic sanity check */
-public class BigCrawlMySQLLT extends BaseMySQL
+public class BigCrawlMySQLLT extends BaseITMySQL
{
protected BigCrawlTester tester;
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlPostgresqlIT.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlPostgresqlIT.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlPostgresqlIT.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlPostgresqlIT.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlPostgresqlIT.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlPostgresqlIT.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlPostgresqlIT.java
Wed Mar 26 23:54:25 2014
@@ -16,14 +16,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import java.io.*;
import java.util.*;
import org.junit.*;
/** This is a very basic sanity check */
-public class BigCrawlPostgresqlIT extends BasePostgresql
+public class BigCrawlPostgresqlIT extends BaseITPostgresql
{
protected BigCrawlTester tester;
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlTester.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlTester.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlTester.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlTester.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlTester.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/BigCrawlTester.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/BigCrawlTester.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import org.apache.manifoldcf.core.interfaces.*;
import org.apache.manifoldcf.agents.interfaces.*;
@@ -66,7 +66,7 @@ public class BigCrawlTester
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);
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockSessionWebService.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockSessionWebService.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockSessionWebService.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockSessionWebService.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockSessionWebService.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockSessionWebService.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockSessionWebService.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import org.eclipse.jetty.servlet.ServletHolder;
import org.eclipse.jetty.server.Server;
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockWebService.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockWebService.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockWebService.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockWebService.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockWebService.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/MockWebService.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/MockWebService.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import org.eclipse.jetty.servlet.ServletHolder;
import org.eclipse.jetty.server.Server;
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/NavigationDerbyUI.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/NavigationDerbyUI.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/NavigationDerbyUI.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/NavigationDerbyUI.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/NavigationDerbyUI.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/NavigationDerbyUI.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/NavigationDerbyUI.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import org.apache.manifoldcf.core.interfaces.*;
import org.apache.manifoldcf.agents.interfaces.*;
@@ -78,7 +78,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/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionLoginDerbyIT.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionLoginDerbyIT.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionLoginDerbyIT.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionLoginDerbyIT.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionLoginDerbyIT.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionLoginDerbyIT.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionLoginDerbyIT.java
Wed Mar 26 23:54:25 2014
@@ -16,14 +16,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import java.io.*;
import java.util.*;
import org.junit.*;
/** Web connector session login test */
-public class SessionLoginDerbyIT extends BaseDerby
+public class SessionLoginDerbyIT extends BaseITDerby
{
protected SessionTester tester;
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionTester.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionTester.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionTester.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionTester.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionTester.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/SessionTester.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/SessionTester.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import org.apache.manifoldcf.core.interfaces.*;
import org.apache.manifoldcf.agents.interfaces.*;
@@ -119,7 +119,7 @@ public class SessionTester
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);
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingDerbyLT.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingDerbyLT.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingDerbyLT.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingDerbyLT.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingDerbyLT.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingDerbyLT.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingDerbyLT.java
Wed Mar 26 23:54:25 2014
@@ -16,14 +16,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import java.io.*;
import java.util.*;
import org.junit.*;
/** This is a very basic sanity check */
-public class ThrottlingDerbyLT extends BaseDerby
+public class ThrottlingDerbyLT extends BaseITDerby
{
protected ThrottlingTester tester;
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingPostgresqlLT.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingPostgresqlLT.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingPostgresqlLT.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingPostgresqlLT.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingPostgresqlLT.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingPostgresqlLT.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingPostgresqlLT.java
Wed Mar 26 23:54:25 2014
@@ -16,14 +16,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import java.io.*;
import java.util.*;
import org.junit.*;
/** This is a very basic sanity check */
-public class ThrottlingPostgresqlLT extends BasePostgresql
+public class ThrottlingPostgresqlLT extends BaseITPostgresql
{
protected ThrottlingTester tester;
Copied:
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingTester.java
(from r1579604,
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingTester.java)
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingTester.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingTester.java&p1=manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingTester.java&r1=1579604&r2=1582131&rev=1582131&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-912/tests/webcrawler/src/test/java/org/apache/manifoldcf/webcrawler_tests/ThrottlingTester.java
(original)
+++
manifoldcf/branches/CONNECTORS-912/connectors/webcrawler/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/webcrawler/tests/ThrottlingTester.java
Wed Mar 26 23:54:25 2014
@@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.manifoldcf.webcrawler_tests;
+package org.apache.manifoldcf.crawler.connectors.webcrawler.tests;
import org.apache.manifoldcf.core.interfaces.*;
import org.apache.manifoldcf.agents.interfaces.*;
@@ -84,7 +84,7 @@ public class ThrottlingTester
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);