You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/08/07 13:54:18 UTC
svn commit: r801958 -
/camel/sandbox/tuning-experiment/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfRawMessageRouterTest.java
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);