camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r818001 - /camel/trunk/camel-core/src/test/java/org/apache/camel/processor/RouteFormattedUriTest.java
Date Wed, 23 Sep 2009 08:20:57 GMT
Author: davsclaus
Date: Wed Sep 23 08:20:56 2009
New Revision: 818001

URL: http://svn.apache.org/viewvc?rev=818001&view=rev
Log:
Fixed unit test to clean folder

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/processor/RouteFormattedUriTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/RouteFormattedUriTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/RouteFormattedUriTest.java?rev=818001&r1=818000&r2=818001&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/RouteFormattedUriTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/RouteFormattedUriTest.java
Wed Sep 23 08:20:56 2009
@@ -30,6 +30,12 @@
     private String pattern = ".*txt$";
     private String result = "result";
 
+    @Override
+    protected void setUp() throws Exception {
+        deleteDirectory("target/toformat");
+        super.setUp();
+    }
+
     public void testFormattedUri() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:" + result);
         mock.expectedBodiesReceived("Hello World");



Mime
View raw message