camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1152992 - /camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpGetWithParamAsExchangeHeaderTest.java
Date Tue, 02 Aug 2011 01:18:12 GMT
Author: dkulp
Date: Tue Aug  2 01:18:11 2011
New Revision: 1152992

URL: http://svn.apache.org/viewvc?rev=1152992&view=rev
Log:
Fix compile error by removing the non-utf8 chars.  Someone may need to
figure out what those chars should have been.

Modified:
    camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpGetWithParamAsExchangeHeaderTest.java

Modified: camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpGetWithParamAsExchangeHeaderTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpGetWithParamAsExchangeHeaderTest.java?rev=1152992&r1=1152991&r2=1152992&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpGetWithParamAsExchangeHeaderTest.java
(original)
+++ camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpGetWithParamAsExchangeHeaderTest.java
Tue Aug  2 01:18:11 2011
@@ -44,10 +44,10 @@ public class JettyHttpGetWithParamAsExch
     @Test
     public void testHttpGetWithUTF8EncodedParamsViaURI() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:result");
-        mock.expectedHeaderReceived("message", "Keine gŸltige GPS-Daten!");
+        mock.expectedHeaderReceived("message", "Keine gltige GPS-Daten!");
         mock.expectedHeaderReceived(Exchange.HTTP_METHOD, "GET");
 
-        template.requestBody(serverUri + "?message=Keine%20g%C3%BCltige%20GPS-Daten!", null,
Object.class);
+        template.requestBody(serverUri + "?message=Keine%20gltige%20GPS-Daten!", null, Object.class);
 
         assertMockEndpointsSatisfied();
     }
@@ -56,10 +56,10 @@ public class JettyHttpGetWithParamAsExch
     @Ignore
     public void testHttpGetWithISO8859EncodedParamsViaURI() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:result");
-        mock.expectedHeaderReceived("message", "Keine gŸltige GPS-Daten!");
+        mock.expectedHeaderReceived("message", "Keine gltige GPS-Daten!");
         mock.expectedHeaderReceived(Exchange.HTTP_METHOD, "GET");
 
-        template.requestBody(serverUri + "?message=Keine+g%FCltige+GPS-Daten%21", null, Object.class);
+        template.requestBody(serverUri + "?message=Keine+gltige+GPS-Daten%21", null, Object.class);
 
         assertMockEndpointsSatisfied();
     }



Mime
View raw message