camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r905994 - in /camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty: HttpGetTest.java jettyproducer/JettyHttpProducerGoogleAsynchronousTest.java jettyproducer/JettyHttpProducerGoogleTest.java
Date Wed, 03 Feb 2010 11:06:53 GMT
Author: davsclaus
Date: Wed Feb  3 11:06:48 2010
New Revision: 905994

URL: http://svn.apache.org/viewvc?rev=905994&view=rev
Log:
CAMEL-2441: Skipping test which requires online internet connection. Will be addressed in
Camel 2.3 with a mocked server.

Modified:
    camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpGetTest.java
    camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleAsynchronousTest.java
    camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleTest.java

Modified: camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpGetTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpGetTest.java?rev=905994&r1=905993&r2=905994&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpGetTest.java
(original)
+++ camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpGetTest.java
Wed Feb  3 11:06:48 2010
@@ -24,6 +24,7 @@
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.junit4.CamelTestSupport;
+import org.junit.Ignore;
 import org.junit.Test;
 
 /**
@@ -33,6 +34,7 @@
     protected String expectedText = "<html";
 
     @Test
+    @Ignore("ignore online tests, will be improved in Camel 2.3")
     public void testHttpGet() throws Exception {
         MockEndpoint mockEndpoint = resolveMandatoryEndpoint("mock:results", MockEndpoint.class);
         mockEndpoint.expectedMessageCount(1);

Modified: camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleAsynchronousTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleAsynchronousTest.java?rev=905994&r1=905993&r2=905994&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleAsynchronousTest.java
(original)
+++ camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleAsynchronousTest.java
Wed Feb  3 11:06:48 2010
@@ -19,6 +19,7 @@
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.junit4.CamelTestSupport;
+import org.junit.Ignore;
 import org.junit.Test;
 
 /**
@@ -27,6 +28,7 @@
 public class JettyHttpProducerGoogleAsynchronousTest extends CamelTestSupport {
 
     @Test
+    @Ignore("ignore online tests, will be improved in Camel 2.3")
     public void testGoogleFrontPageAsync() throws Exception {
         // these tests does not run well on Windows
         if (isPlatform("windows")) {

Modified: camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleTest.java?rev=905994&r1=905993&r2=905994&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleTest.java
(original)
+++ camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/jettyproducer/JettyHttpProducerGoogleTest.java
Wed Feb  3 11:06:48 2010
@@ -18,6 +18,7 @@
 
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.test.junit4.CamelTestSupport;
+import org.junit.Ignore;
 import org.junit.Test;
 
 /**
@@ -26,6 +27,7 @@
 public class JettyHttpProducerGoogleTest extends CamelTestSupport {
 
     @Test
+    @Ignore("ignore online tests, will be improved in Camel 2.3")
     public void testGoogleFrontPage() throws Exception {
         // these tests does not run well on Windows
         if (isPlatform("windows")) {



Mime
View raw message