commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r216004 - in /jakarta/commons/proper/vfs/trunk: project.properties src/test/org/apache/commons/vfs/RunTest.java xdocs/testserver.xml
Date Tue, 12 Jul 2005 19:22:14 GMT
Author: imario
Date: Tue Jul 12 12:22:13 2005
New Revision: 216004

URL: http://svn.apache.org/viewcvs?rev=216004&view=rev
Log:
changed testcase and documentation to use a more sophisticated password 'vfs/%\te:st' just
to ensure every provider can deal with it.

Modified:
    jakarta/commons/proper/vfs/trunk/project.properties
    jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/RunTest.java
    jakarta/commons/proper/vfs/trunk/xdocs/testserver.xml

Modified: jakarta/commons/proper/vfs/trunk/project.properties
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/project.properties?rev=216004&r1=216003&r2=216004&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/project.properties (original)
+++ jakarta/commons/proper/vfs/trunk/project.properties Tue Jul 12 12:22:13 2005
@@ -32,9 +32,9 @@
 maven.test.failure.ignore=true
 maven.ant.excludeTests=**/*.java
 
-
+test.hostname=10.0.1.54
 test.user=vfsusr
-test.password=vfsusr
+test.password=vfs%2f%25\\te:st
 test.path=/vfstest
 
 test.data.src=${maven.src.dir}/test-data

Modified: jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/RunTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/RunTest.java?rev=216004&r1=216003&r2=216004&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/RunTest.java (original)
+++ jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/RunTest.java Tue Jul
12 12:22:13 2005
@@ -22,7 +22,9 @@
 import org.apache.commons.vfs.provider.res.test.ResourceProviderTestCase;
 import org.apache.commons.vfs.provider.temp.test.TemporaryProviderTestCase;
 import org.apache.commons.vfs.provider.url.test.UrlProviderTestCase;
+import org.apache.commons.vfs.provider.url.test.UrlProviderHttpTestCase;
 import org.apache.commons.vfs.provider.test.VirtualProviderTestCase;
+import org.apache.commons.vfs.provider.test.GenericFileNameTestCase;
 
 import java.util.Properties;
 
@@ -35,14 +37,18 @@
         props.setProperty("test.basedir", "target/test-data");
         props.setProperty("test.policy", "src/test-data/test.policy");
         props.setProperty("test.secure", "false");
-        props.setProperty("test.smb.uri", "smb://vfsusr:vfsusr@10.0.1.54/vfsusr/vfstest");
-        props.setProperty("test.ftp.uri", "ftp://vfsusr:vfsusr@10.0.1.54/vfstest");
+        props.setProperty("test.smb.uri", "smb://HOME\\vfsusr:vfs%2f%25\\te:st@10.0.1.54/vfsusr/vfstest");
+        props.setProperty("test.ftp.uri", "ftp://vfsusr:vfs%2f%25\\te:st@10.0.1.54/vfstest");
         props.setProperty("test.http.uri", "http://10.0.1.54/vfstest");
-        props.setProperty("test.webdav.uri", "webdav://vfsusr:vfsusr@10.0.1.54/vfstest");
-        props.setProperty("test.sftp.uri", "sftp://vfsusr:vfsusr@10.0.1.54/vfstest");
+        props.setProperty("test.webdav.uri", "webdav://vfsusr:vfs%2f%25\\te:st@10.0.1.54/vfstest");
+        props.setProperty("test.sftp.uri", "sftp://vfsusr:vfs%2f%25\\te:st@10.0.1.54/vfstest");
 
         Test tests[] = new Test[]
         {
+            new GenericFileNameTestCase(),
+
+            UrlProviderHttpTestCase.suite(),
+
             LocalProviderTestCase.suite(),
             VirtualProviderTestCase.suite(),
             TemporaryProviderTestCase.suite(),
@@ -51,6 +57,7 @@
 
             FtpProviderTestCase.suite(),
             HttpProviderTestCase.suite(),
+
             WebdavProviderTestCase.suite(),
             SmbProviderTestCase.suite(),
             SftpProviderTestCase.suite(),

Modified: jakarta/commons/proper/vfs/trunk/xdocs/testserver.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/xdocs/testserver.xml?rev=216004&r1=216003&r2=216004&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/xdocs/testserver.xml (original)
+++ jakarta/commons/proper/vfs/trunk/xdocs/testserver.xml Tue Jul 12 12:22:13 2005
@@ -33,7 +33,7 @@
             <subsection name="System setup">
                 <ol>
                     <li>You need maven to build the local test-data structure. This
is done automatically during build of VFS.</li>
-                    <li>Create a user 'vfsusr' with password 'vfsusr' and home directory
'/home/vfsusr'
+                    <li>Create a user 'vfsusr' with password 'vfs/%\te:st' and home
directory '/home/vfsusr'
                         <br/>
                         <source><![CDATA[
 useradd -p vfsusr -m vfsusr
@@ -158,7 +158,7 @@
                     </li>
                     <li>Create the VFS user to access the Webdav resource<br />
                         <source><![CDATA[
-htpasswd2 -cmb /etc/apache2/passwd  vfsusr vfsusr
+htpasswd2 -cmb /etc/apache2/passwd  vfsusr 'vfs/%\te:st'
                         ]]></source>
                     </li>
                 </ol>
@@ -175,7 +175,7 @@
    writable = yes
                         ]]></source>
                     </li>
-                    <li>Setup a 'vfsusr' with password 'vfsusr'<br />
+                    <li>Setup a 'vfsusr' with password 'vfs/%\te:st'<br />
                         <source><![CDATA[
 smbpasswd -a vfsusr
                         ]]></source>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message