Author: ningjiang
Date: Sun Aug  3 21:33:43 2008
New Revision: 682254

URL: http://svn.apache.org/viewvc?rev=682254&view=rev
Log:
try to fixed the unit test error of the FileConsumerExcludeNameTest

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

Modified: 
activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerExcludeNameTest.java
URL: 
http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerExcludeNameTest.java?rev=682254&r1=682253&r2=682254&view=diff
==============================================================================
--- 
activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerExcludeNameTest.java
 (original)
+++ 
activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerExcludeNameTest.java
 Sun Aug  3 21:33:43 2008
@@ -31,16 +31,16 @@
 
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedMessageCount(2);
-        mock.expectedBodiesReceived("Report 1", "Report 2");
+        mock.expectedBodiesReceived("Reports", "Reports");
         mock.assertIsSatisfied();
     }
 
     private void prepareFiles() throws Exception {
-        String url = "file://target/exclude/";
+        String url = "file://target/exclude";
         template.sendBodyAndHeader(url, "Hello World", 
FileComponent.HEADER_FILE_NAME, "hello.xml");
-        template.sendBodyAndHeader(url, "Report 1", 
FileComponent.HEADER_FILE_NAME, "report1.txt");
+        template.sendBodyAndHeader(url, "Reports", 
FileComponent.HEADER_FILE_NAME, "report1.txt");
         template.sendBodyAndHeader(url, "Bye World", 
FileComponent.HEADER_FILE_NAME, "secret.txt");
-        template.sendBodyAndHeader(url, "Report 2", 
FileComponent.HEADER_FILE_NAME, "report2.txt");
+        template.sendBodyAndHeader(url, "Reports", 
FileComponent.HEADER_FILE_NAME, "report2.txt");
     }
 
     protected RouteBuilder createRouteBuilder() throws Exception {


Reply via email to