camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/3] git commit: CAMEL-7843: Upgrade to Karaf 2.4.0
Date Sat, 20 Sep 2014 18:24:10 GMT
CAMEL-7843: Upgrade to Karaf 2.4.0


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a4962721
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a4962721
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a4962721

Branch: refs/heads/master
Commit: a49627216b0b5e711748e2a9d0d4cc542e75f96d
Parents: 44d366d
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sat Sep 20 19:38:58 2014 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat Sep 20 19:38:58 2014 +0200

----------------------------------------------------------------------
 .../itest/osgi/http/HttpTypeConverterTest.java  | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a4962721/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/http/HttpTypeConverterTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/http/HttpTypeConverterTest.java
b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/http/HttpTypeConverterTest.java
index 5eb54cd..6df151d 100644
--- a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/http/HttpTypeConverterTest.java
+++ b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/http/HttpTypeConverterTest.java
@@ -15,8 +15,10 @@
  * limitations under the License.
  */
 package org.apache.camel.itest.osgi.http;
+
 import java.io.IOException;
 import java.io.PrintWriter;
+import java.util.Collection;
 import java.util.Locale;
 
 import javax.servlet.ServletOutputStream;
@@ -111,6 +113,22 @@ public class HttpTypeConverterTest extends OSGiIntegrationTestSupport
{
             return null;
         }
 
+        public String getHeader(String s) {
+            return null;
+        }
+
+        public Collection<String> getHeaderNames() {
+            return null;
+        }
+
+        public Collection<String> getHeaders(String s) {
+            return null;
+        }
+
+        public int getStatus() {
+            return 0;
+        }
+
         public Locale getLocale() {
             return null;
         }
@@ -159,7 +177,7 @@ public class HttpTypeConverterTest extends OSGiIntegrationTestSupport
{
         Message message = new DefaultMessage();
         message.setHeader(Exchange.HTTP_SERVLET_RESPONSE, servletResponse);
         HttpServletResponse result = context.getTypeConverter().convertTo(HttpServletResponse.class,
message);
-        Assert.assertNotNull("The http conveter doesn't work", result);
+        Assert.assertNotNull("The http converter doesn't work", result);
         
     }
     


Mime
View raw message