camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r821484 - /camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistOverrideTest.java
Date Sun, 04 Oct 2009 09:15:02 GMT
Author: davsclaus
Date: Sun Oct  4 09:15:02 2009
New Revision: 821484

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

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistOverrideTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistOverrideTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistOverrideTest.java?rev=821484&r1=821483&r2=821484&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistOverrideTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistOverrideTest.java
Sun Oct  4 09:15:02 2009
@@ -31,6 +31,7 @@
         super.setUp();
         deleteDirectory("target/file");
         template.sendBodyAndHeader("file://target/file", "Hello World", Exchange.FILE_NAME,
"hello.txt");
+        template.sendBodyAndHeader("file://target/file?fileExist=Override", "Bye World",
Exchange.FILE_NAME, "hello.txt");
     }
 
     public void testOverride() throws Exception {
@@ -38,8 +39,6 @@
         mock.expectedBodiesReceived("Bye World");
         mock.expectedFileExists("target/file/hello.txt", "Bye World");
 
-        template.sendBodyAndHeader("file://target/file?fileExist=Override", "Bye World",
Exchange.FILE_NAME, "hello.txt");
-
         assertMockEndpointsSatisfied();
     }
 



Mime
View raw message