Return-Path: Delivered-To: apmail-camel-commits-archive@www.apache.org Received: (qmail 72350 invoked from network); 3 Feb 2010 11:04:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 11:04:17 -0000 Received: (qmail 17005 invoked by uid 500); 3 Feb 2010 11:04:17 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 16971 invoked by uid 500); 3 Feb 2010 11:04:17 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 16962 invoked by uid 99); 3 Feb 2010 11:04:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 11:04:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 11:04:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6B9F223888FE; Wed, 3 Feb 2010 11:03:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r905992 - in /camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http: HttpGetTest.java HttpProxyTest.java HttpQueryGoogleTest.java Date: Wed, 03 Feb 2010 11:03:52 -0000 To: commits@camel.apache.org From: davsclaus@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100203110356.6B9F223888FE@eris.apache.org> Author: davsclaus Date: Wed Feb 3 11:03:47 2010 New Revision: 905992 URL: http://svn.apache.org/viewvc?rev=905992&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-http/src/test/java/org/apache/camel/component/http/HttpGetTest.java camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProxyTest.java camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpQueryGoogleTest.java Modified: camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpGetTest.java URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpGetTest.java?rev=905992&r1=905991&r2=905992&view=diff ============================================================================== --- camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpGetTest.java (original) +++ camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpGetTest.java Wed Feb 3 11:03:47 2010 @@ -25,6 +25,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; /** @@ -34,6 +35,7 @@ protected String expectedText = "activemq"; @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-http/src/test/java/org/apache/camel/component/http/HttpProxyTest.java URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProxyTest.java?rev=905992&r1=905991&r2=905992&view=diff ============================================================================== --- camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProxyTest.java (original) +++ camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProxyTest.java Wed Feb 3 11:03:47 2010 @@ -18,6 +18,7 @@ import org.apache.camel.test.junit4.CamelTestSupport; import org.apache.commons.httpclient.HttpClient; +import org.junit.Ignore; import org.junit.Test; /** @@ -26,6 +27,7 @@ public class HttpProxyTest extends CamelTestSupport { @Test + @Ignore("ignore online tests, will be improved in Camel 2.3") public void testNoHttpProxyConfigured() throws Exception { HttpEndpoint http = context.getEndpoint("http://www.google.com", HttpEndpoint.class); @@ -35,6 +37,7 @@ } @Test + @Ignore("ignore online tests, will be improved in Camel 2.3") public void testHttpProxyConfigured() throws Exception { HttpEndpoint http = context.getEndpoint("http://www.google.com", HttpEndpoint.class); @@ -52,6 +55,7 @@ } @Test + @Ignore("ignore online tests, will be improved in Camel 2.3") public void testHttpProxyEndpointConfigured() throws Exception { HttpEndpoint http = context.getEndpoint("http://www.google.com?proxyHost=myotherproxy&proxyPort=2345", HttpEndpoint.class); Modified: camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpQueryGoogleTest.java URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpQueryGoogleTest.java?rev=905992&r1=905991&r2=905992&view=diff ============================================================================== --- camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpQueryGoogleTest.java (original) +++ camel/trunk/components/camel-http/src/test/java/org/apache/camel/component/http/HttpQueryGoogleTest.java Wed Feb 3 11:03:47 2010 @@ -17,6 +17,7 @@ package org.apache.camel.component.http; import org.apache.camel.test.junit4.CamelTestSupport; +import org.junit.Ignore; import org.junit.Test; @@ -30,6 +31,7 @@ } @Test + @Ignore("ignore online tests, will be improved in Camel 2.3") public void testQueryGoogle() throws Exception { Object out = template.requestBody("http://www.google.com/search?q=Camel", ""); assertNotNull(out);