camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r676877 - in /activemq/camel/trunk/camel-core/src/test/java/org/apache/camel: component/file/ToFileRouteTest.java impl/DefaultComponentValidateURITest.java
Date Tue, 15 Jul 2008 11:26:07 GMT
Author: davsclaus
Date: Tue Jul 15 04:26:06 2008
New Revision: 676877

URL: http://svn.apache.org/viewvc?rev=676877&view=rev
Log:
Fixed failing unit test on Bamboo. And added test method number 1000. Congratiulations Camel
you are a grown up project now ;)

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

Modified: activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/ToFileRouteTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/ToFileRouteTest.java?rev=676877&r1=676876&r2=676877&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/ToFileRouteTest.java
(original)
+++ activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/ToFileRouteTest.java
Tue Jul 15 04:26:06 2008
@@ -38,6 +38,7 @@
 
         // assert the file exists
         File file = new File("target/test-reports/report.txt");
+        file = file.getAbsoluteFile();
         assertTrue("The file should have been written", file.exists());
     }
 

Modified: activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/DefaultComponentValidateURITest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/DefaultComponentValidateURITest.java?rev=676877&r1=676876&r2=676877&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/DefaultComponentValidateURITest.java
(original)
+++ activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/DefaultComponentValidateURITest.java
Tue Jul 15 04:26:06 2008
@@ -48,4 +48,13 @@
         }
     }
 
+    public void testDoubleAmpersand() throws Exception {
+        try {
+            context.getEndpoint("timer://foo?delay=250&&period=500");
+            fail("Should have thrown ResolveEndpointFailedException");
+        } catch (ResolveEndpointFailedException e) {
+            // ok
+        }
+    }
+
 }



Mime
View raw message