commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1031729 - /commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractProviderTestCase.java
Date Fri, 05 Nov 2010 19:18:18 GMT
Author: sebb
Date: Fri Nov  5 19:18:18 2010
New Revision: 1031729

URL: http://svn.apache.org/viewvc?rev=1031729&view=rev
Log:
Quieten test runs

Modified:
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractProviderTestCase.java

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractProviderTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractProviderTestCase.java?rev=1031729&r1=1031728&r2=1031729&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractProviderTestCase.java
(original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs/test/AbstractProviderTestCase.java
Fri Nov  5 19:18:18 2010
@@ -195,13 +195,13 @@ public abstract class AbstractProviderTe
             {
                 final Capability cap = caps[i];
                 FileSystem fs = readFolder.getFileSystem();
-                String name = fs.getClass().getName();
-                int index = name.lastIndexOf('.');
-                String fsName = (index > 0) ? name.substring(index + 1) : name;
                 if (!fs.hasCapability(cap))
                 {
-                    System.out.println("skipping " + getName() + " because " +
-                        fsName + " does not have capability " + cap);
+//                    String name = fs.getClass().getName();
+//                    int index = name.lastIndexOf('.');
+//                    String fsName = (index > 0) ? name.substring(index + 1) : name;
+//                    System.out.println("skipping " + getName() + " because " +
+//                        fsName + " does not have capability " + cap);
                     return;
                 }
             }
@@ -321,6 +321,7 @@ public abstract class AbstractProviderTe
 
     /**
      * Builds the expected structure of the read tests folder.
+     * @throws FileSystemException (possibly)
      */
     protected FileInfo buildExpectedStructure() throws FileSystemException
     {



Mime
View raw message