camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r801958 - /camel/sandbox/tuning-experiment/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfRawMessageRouterTest.java
Date Fri, 07 Aug 2009 11:54:18 GMT
Author: davsclaus
Date: Fri Aug  7 11:54:18 2009
New Revision: 801958

URL: http://svn.apache.org/viewvc?rev=801958&view=rev
Log:
More tuning updates to let more components test.

Modified:
    camel/sandbox/tuning-experiment/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfRawMessageRouterTest.java

Modified: camel/sandbox/tuning-experiment/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfRawMessageRouterTest.java
URL: http://svn.apache.org/viewvc/camel/sandbox/tuning-experiment/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfRawMessageRouterTest.java?rev=801958&r1=801957&r2=801958&view=diff
==============================================================================
--- camel/sandbox/tuning-experiment/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfRawMessageRouterTest.java
(original)
+++ camel/sandbox/tuning-experiment/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfRawMessageRouterTest.java
Fri Aug  7 11:54:18 2009
@@ -66,7 +66,7 @@
         });
         assertNotNull("We should get the Content-Type here", MessageHelper.getContentType(exchange.getOut()));
         assertTrue("Get wrong content type", MessageHelper.getContentType(exchange.getOut()).startsWith("text/xml"));
-        assertNull("We should not get the content-type here", exchange.getOut().getHeader("content-type"));
       
+        assertNotNull("We should get the content-type here", exchange.getOut().getHeader("content-type"));
         String response = exchange.getOut().getBody(String.class);
         assertNotNull("Response should not be null", response);
         assertTrue("We should get right return result", response.indexOf("echo hello world")
> 0);



Mime
View raw message