incubator-droids-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bchap...@apache.org
Subject svn commit: r1068864 - in /incubator/droids/branch/bchapuis: droids-core/src/test/java/org/apache/droids/ droids-core/src/test/java/org/apache/droids/examples/ droids-core/src/test/java/org/apache/droids/impl/ droids-crawler/src/main/java/org/apache/dr...
Date Wed, 09 Feb 2011 12:34:19 GMT
Author: bchapuis
Date: Wed Feb  9 12:34:18 2011
New Revision: 1068864

URL: http://svn.apache.org/viewvc?rev=1068864&view=rev
Log:
moved the test cases in the new modules.

Added:
    incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/DroidsFactory.java
      - copied, changed from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/DroidsFactory.java
    incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ExceptionCrawlingDroid.java
      - copied, changed from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ExceptionCrawlingDroid.java
    incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ReportCrawlingDroid.java
      - copied, changed from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ReportCrawlingDroid.java
    incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SaveCrawlingDroid.java
      - copied, changed from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SaveCrawlingDroid.java
    incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SimpleRuntime.java
      - copied, changed from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/SimpleRuntime.java
    incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SysoutCrawlingDroid.java
      - copied, changed from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SysoutCrawlingDroid.java
    incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleDroid.java
      - copied, changed from r1068296, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleDroid.java
    incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleQueue.java
      - copied, changed from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleQueue.java
    incubator/droids/branch/bchapuis/droids-walker/src/test/java/org/apache/droids/walker/FileRenameDroid.java
      - copied, changed from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/FileRenameDroid.java
Removed:
    incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/DroidsFactory.java
    incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/FileRenameDroid.java
    incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/SimpleRuntime.java
    incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ExceptionCrawlingDroid.java
    incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ReportCrawlingDroid.java
    incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SaveCrawlingDroid.java
    incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SysoutCrawlingDroid.java
    incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleDroid.java
    incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleQueue.java
Modified:
    incubator/droids/branch/bchapuis/droids-spring/src/test/java/org/apache/droids/dynamic/TestSimpleDroid.java

Copied: incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/DroidsFactory.java
(from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/DroidsFactory.java)
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/DroidsFactory.java?p2=incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/DroidsFactory.java&p1=incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/DroidsFactory.java&r1=1068859&r2=1068864&rev=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/DroidsFactory.java
(original)
+++ incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/DroidsFactory.java
Wed Feb  9 12:34:18 2011
@@ -16,7 +16,7 @@
 * specific language governing permissions and limitations
 * under the License.
 */
-package org.apache.droids;
+package org.apache.droids.crawler;
 
 import java.util.ArrayList;
 import java.util.Collection;
@@ -36,9 +36,9 @@ import org.apache.droids.helper.factorie
 import org.apache.droids.helper.factories.URLFiltersFactory;
 import org.apache.droids.impl.DefaultTaskExceptionHandler;
 import org.apache.droids.impl.TaskMasterImpl;
-import org.apache.droids.impl.ExceptionCrawlingDroid;
-import org.apache.droids.impl.ReportCrawlingDroid;
-import org.apache.droids.impl.SaveCrawlingDroid;
+import org.apache.droids.crawler.ExceptionCrawlingDroid;
+import org.apache.droids.crawler.ReportCrawlingDroid;
+import org.apache.droids.crawler.SaveCrawlingDroid;
 import org.apache.droids.impl.SimpleTaskQueueWithHistory;
 import org.apache.droids.parse.html.HtmlParser;
 import org.apache.droids.protocol.http.HttpProtocol;

Copied: incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ExceptionCrawlingDroid.java
(from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ExceptionCrawlingDroid.java)
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ExceptionCrawlingDroid.java?p2=incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ExceptionCrawlingDroid.java&p1=incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ExceptionCrawlingDroid.java&r1=1068859&r2=1068864&rev=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ExceptionCrawlingDroid.java
(original)
+++ incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ExceptionCrawlingDroid.java
Wed Feb  9 12:34:18 2011
@@ -16,7 +16,7 @@
 * specific language governing permissions and limitations
 * under the License.
 */
-package org.apache.droids.impl;
+package org.apache.droids.crawler;
 
 import java.util.Queue;
 import org.apache.droids.DroidsFactory;

Copied: incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ReportCrawlingDroid.java
(from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ReportCrawlingDroid.java)
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ReportCrawlingDroid.java?p2=incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ReportCrawlingDroid.java&p1=incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ReportCrawlingDroid.java&r1=1068859&r2=1068864&rev=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/ReportCrawlingDroid.java
(original)
+++ incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/ReportCrawlingDroid.java
Wed Feb  9 12:34:18 2011
@@ -16,7 +16,7 @@
 * specific language governing permissions and limitations
 * under the License.
 */
-package org.apache.droids.impl;
+package org.apache.droids.crawler;
 
 import java.util.Queue;
 import org.apache.droids.DroidsFactory;

Copied: incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SaveCrawlingDroid.java
(from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SaveCrawlingDroid.java)
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SaveCrawlingDroid.java?p2=incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SaveCrawlingDroid.java&p1=incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SaveCrawlingDroid.java&r1=1068859&r2=1068864&rev=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SaveCrawlingDroid.java
(original)
+++ incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SaveCrawlingDroid.java
Wed Feb  9 12:34:18 2011
@@ -16,7 +16,7 @@
 * specific language governing permissions and limitations
 * under the License.
 */
-package org.apache.droids.impl;
+package org.apache.droids.crawler;
 
 import java.util.Queue;
 import org.apache.droids.DroidsFactory;

Copied: incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SimpleRuntime.java
(from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/SimpleRuntime.java)
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SimpleRuntime.java?p2=incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SimpleRuntime.java&p1=incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/SimpleRuntime.java&r1=1068859&r2=1068864&rev=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/SimpleRuntime.java
(original)
+++ incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SimpleRuntime.java
Wed Feb  9 12:34:18 2011
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.droids.examples;
+package org.apache.droids.crawler;
 
 import java.util.ArrayList;
 import java.util.Collection;
@@ -34,7 +34,7 @@ import org.apache.droids.helper.factorie
 import org.apache.droids.helper.factories.URLFiltersFactory;
 import org.apache.droids.impl.DefaultTaskExceptionHandler;
 import org.apache.droids.impl.TaskMasterImpl;
-import org.apache.droids.impl.SysoutCrawlingDroid;
+import org.apache.droids.crawler.SysoutCrawlingDroid;
 import org.apache.droids.net.RegexURLFilter;
 import org.apache.droids.parse.html.HtmlParser;
 import org.apache.droids.protocol.http.DroidsHttpClient;

Copied: incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SysoutCrawlingDroid.java
(from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SysoutCrawlingDroid.java)
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SysoutCrawlingDroid.java?p2=incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SysoutCrawlingDroid.java&p1=incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SysoutCrawlingDroid.java&r1=1068859&r2=1068864&rev=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/SysoutCrawlingDroid.java
(original)
+++ incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/SysoutCrawlingDroid.java
Wed Feb  9 12:34:18 2011
@@ -16,7 +16,7 @@
 * specific language governing permissions and limitations
 * under the License.
 */
-package org.apache.droids.impl;
+package org.apache.droids.crawler;
 
 import java.util.Queue;
 import org.apache.droids.DroidsFactory;

Copied: incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleDroid.java
(from r1068296, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleDroid.java)
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleDroid.java?p2=incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleDroid.java&p1=incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleDroid.java&r1=1068296&r2=1068864&rev=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleDroid.java
(original)
+++ incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleDroid.java
Wed Feb  9 12:34:18 2011
@@ -14,19 +14,20 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.droids.impl;
+package org.apache.droids.crawler;
 
 import java.io.IOException;
 import java.util.concurrent.TimeUnit;
 
 import junit.framework.Assert;
 
-import org.apache.droids.DroidsFactory;
+import org.apache.droids.crawler.DroidsFactory;
 import org.apache.droids.api.Droid;
 import org.apache.droids.api.Link;
 import org.apache.droids.api.TaskExceptionHandler;
 import org.apache.droids.api.TaskExceptionResult;
 import org.apache.droids.examples.handler.ReportHandler;
+import org.apache.droids.impl.TaskMasterImpl;
 import org.apache.droids.localserver.LocalHttpServer;
 import org.apache.droids.localserver.ResourceHandler;
 import org.junit.After;

Copied: incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleQueue.java
(from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleQueue.java)
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleQueue.java?p2=incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleQueue.java&p1=incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleQueue.java&r1=1068859&r2=1068864&rev=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/impl/TestSimpleQueue.java
(original)
+++ incubator/droids/branch/bchapuis/droids-crawler/src/main/java/org/apache/droids/crawler/TestSimpleQueue.java
Wed Feb  9 12:34:18 2011
@@ -14,13 +14,14 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.droids.impl;
+package org.apache.droids.crawler;
 
 import java.io.File;
 
 import junit.framework.Assert;
 
 import org.apache.droids.exception.InvalidTaskException;
+import org.apache.droids.impl.MaxDepthTaskValidator;
 import org.apache.droids.walker.FileTask;
 import org.junit.Test;
 

Modified: incubator/droids/branch/bchapuis/droids-spring/src/test/java/org/apache/droids/dynamic/TestSimpleDroid.java
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-spring/src/test/java/org/apache/droids/dynamic/TestSimpleDroid.java?rev=1068864&r1=1068863&r2=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-spring/src/test/java/org/apache/droids/dynamic/TestSimpleDroid.java
(original)
+++ incubator/droids/branch/bchapuis/droids-spring/src/test/java/org/apache/droids/dynamic/TestSimpleDroid.java
Wed Feb  9 12:34:18 2011
@@ -25,7 +25,7 @@ import junit.framework.Assert;
 import org.apache.droids.api.Droid;
 import org.apache.droids.api.Link;
 import org.apache.droids.examples.handler.ReportHandler;
-import org.apache.droids.impl.ReportCrawlingDroid;
+import org.apache.droids.crawler.ReportCrawlingDroid;
 import org.apache.droids.localserver.LocalHttpServer;
 import org.apache.droids.localserver.ResourceHandler;
 import org.apache.droids.crawler.CrawlingDroid;

Copied: incubator/droids/branch/bchapuis/droids-walker/src/test/java/org/apache/droids/walker/FileRenameDroid.java
(from r1068859, incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/FileRenameDroid.java)
URL: http://svn.apache.org/viewvc/incubator/droids/branch/bchapuis/droids-walker/src/test/java/org/apache/droids/walker/FileRenameDroid.java?p2=incubator/droids/branch/bchapuis/droids-walker/src/test/java/org/apache/droids/walker/FileRenameDroid.java&p1=incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/FileRenameDroid.java&r1=1068859&r2=1068864&rev=1068864&view=diff
==============================================================================
--- incubator/droids/branch/bchapuis/droids-core/src/test/java/org/apache/droids/examples/FileRenameDroid.java
(original)
+++ incubator/droids/branch/bchapuis/droids-walker/src/test/java/org/apache/droids/walker/FileRenameDroid.java
Wed Feb  9 12:34:18 2011
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.droids.examples;
+package org.apache.droids.walker;
 
 import java.io.File;
 import java.util.ArrayList;



Mime
View raw message