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 2012/11/10 12:37:32 UTC

svn commit: r1407769 - in /camel/branches/camel-2.10.x: ./ camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDeleteAndFailureTest.java

Author: davsclaus
Date: Sat Nov 10 11:37:31 2012
New Revision: 1407769

URL: http://svn.apache.org/viewvc?rev=1407769&view=rev
Log:
Fixed test

Modified:
    camel/branches/camel-2.10.x/   (props changed)
    camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDeleteAndFailureTest.java

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
  Merged /camel/trunk:r1407768

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDeleteAndFailureTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDeleteAndFailureTest.java?rev=1407769&r1=1407768&r2=1407769&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDeleteAndFailureTest.java (original)
+++ camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDeleteAndFailureTest.java Sat Nov 10 11:37:31 2012
@@ -37,7 +37,7 @@ public class FileConsumerDeleteAndFailur
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedBodiesReceived("Hello World IS processed!");
         
-        mock.expectedFileExists("target/failed/error/bye.txt", "Kabom");
+        mock.expectedFileExists("target/failed/error/bye.txt");
 
         template.sendBodyAndHeader("file://target/failed", "Hello World", Exchange.FILE_NAME, "hello.txt");
         template.sendBodyAndHeader("file://target/failed", "Kabom", Exchange.FILE_NAME, "bye.txt");