camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [3/3] camel git commit: CAMEL-8401 Added the header check on the RemoteFileProduceOverruleOnlyOnceTest
Date Wed, 25 Feb 2015 12:33:58 GMT
CAMEL-8401 Added the header check on the RemoteFileProduceOverruleOnlyOnceTest


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

Branch: refs/heads/master
Commit: db94b78362dbf49d99924964e7e4b6f4a103d1cb
Parents: a1bbf2b
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed Feb 25 20:33:39 2015 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed Feb 25 20:33:39 2015 +0800

----------------------------------------------------------------------
 .../file/remote/RemoteFileProduceOverruleOnlyOnceTest.java          | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/db94b783/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RemoteFileProduceOverruleOnlyOnceTest.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RemoteFileProduceOverruleOnlyOnceTest.java
b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RemoteFileProduceOverruleOnlyOnceTest.java
index 176306d..7d7933c 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RemoteFileProduceOverruleOnlyOnceTest.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RemoteFileProduceOverruleOnlyOnceTest.java
@@ -37,6 +37,7 @@ public class RemoteFileProduceOverruleOnlyOnceTest extends FtpServerTestSupport
         template.sendBodyAndHeaders("direct:input", "Hello World", headers);
 
         MockEndpoint mock = getMockEndpoint("mock:result");
+        mock.expectedHeaderReceived(Exchange.FILE_NAME, "/sub/hello.txt");
         mock.expectedFileExists(FTP_ROOT_DIR + "/out/sub/ruled.txt", "Hello World");
         mock.expectedFileExists("target/out/sub/hello.txt", "Hello World");
 


Mime
View raw message