You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2008/05/11 18:33:59 UTC

svn commit: r655334 - /activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java

Author: davsclaus
Date: Sun May 11 09:33:59 2008
New Revision: 655334

URL: http://svn.apache.org/viewvc?rev=655334&view=rev
Log:
CAMEL-433: better validation when creating an endpoint from uri

Modified:
    activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java

Modified: activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java?rev=655334&r1=655333&r2=655334&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java (original)
+++ activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/UriConfigurationTest.java Sun May 11 09:33:59 2008
@@ -96,7 +96,7 @@
         assertRemoteFileEndpointFile("ftp://hostname", "");
         assertRemoteFileEndpointFile("ftp://hostname//", "/");
         assertRemoteFileEndpointFile("ftp://hostname//foo/bar", "/foo/bar");
-        assertRemoteFileEndpointFile("sftp://user@hostname:123//foo/bar?password=secret&completegibberish", "/foo/bar");
+        assertRemoteFileEndpointFile("sftp://user@hostname:123//foo/bar?password=secret", "/foo/bar");
     }
     
     private void assertRemoteFileEndpointFile(String endpointUri, String expectedFile) {