camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] git commit: Fixed test
Date Tue, 25 Jun 2013 05:39:59 GMT
Updated Branches:
  refs/heads/master c83e23c0c -> 1b4b63981


Fixed test


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

Branch: refs/heads/master
Commit: 1b4b63981e87e9a468d969c4cdbbfcf2334992a9
Parents: b5cddbb
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Jun 24 20:00:55 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Jun 25 07:39:14 2013 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/log/LogInputStreamTest.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/1b4b6398/camel-core/src/test/java/org/apache/camel/component/log/LogInputStreamTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/log/LogInputStreamTest.java
b/camel-core/src/test/java/org/apache/camel/component/log/LogInputStreamTest.java
index 37d9340..898d03c 100644
--- a/camel-core/src/test/java/org/apache/camel/component/log/LogInputStreamTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/log/LogInputStreamTest.java
@@ -41,8 +41,7 @@ public class LogInputStreamTest extends ContextTestSupport {
     public void testB() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:b");
         mock.expectedMessageCount(1);
-        // showStreams is enabled so we cannot re-read the input stream
-        mock.message(0).body(String.class).isEqualTo("");
+        mock.message(0).body(String.class).isEqualTo("Hello World");
 
         InputStream is = new ByteArrayInputStream("Hello World".getBytes());
         template.sendBody("direct:b", is);


Mime
View raw message