camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r729258 - /activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java
Date Wed, 24 Dec 2008 07:06:25 GMT
Author: ningjiang
Date: Tue Dec 23 23:06:24 2008
New Revision: 729258

URL: http://svn.apache.org/viewvc?rev=729258&view=rev
Log:
Fixed the test error of FileConsumerIdempotentTest in camel-spring

Modified:
    activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java

Modified: activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java?rev=729258&r1=729257&r2=729258&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java
(original)
+++ activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentTest.java
Tue Dec 23 23:06:24 2008
@@ -69,8 +69,11 @@
 
         // should NOT consume the file again, let 2 secs pass to let the consumer try to
consume it but it should not
         assertMockEndpointsSatisfied();
-
-        assertTrue(repo.contains("report.txt"));
+        if (System.getProperty("os.name").startsWith("Windows")) {
+            assertTrue(repo.contains("target\\fileidempotent\\report.txt"));
+        } else {
+            assertTrue(repo.contains("target/fileidempotent/report.txt"));
+        }
     }
 
 }



Mime
View raw message