commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1428413 - /commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpProviderTestCase.java
Date Thu, 03 Jan 2013 15:49:46 GMT
Author: ggregory
Date: Thu Jan  3 15:49:46 2013
New Revision: 1428413

URL: http://svn.apache.org/viewvc?rev=1428413&view=rev
Log:
JUnit 4.11 now picks up this inner class because it ends in Test but it should not.

Modified:
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpProviderTestCase.java

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpProviderTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpProviderTestCase.java?rev=1428413&r1=1428412&r2=1428413&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpProviderTestCase.java
(original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpProviderTestCase.java
Thu Jan  3 15:49:46 2013
@@ -303,9 +303,9 @@ public class SftpProviderTestCase extend
     }
 
 
-    static private class BaseTest extends ProviderTestSuite {
+    static private class BaseProviderTestSuite extends ProviderTestSuite {
 
-        public BaseTest(final ProviderTestConfig providerConfig) throws Exception
+        public BaseProviderTestSuite(final ProviderTestConfig providerConfig) throws Exception
         {
             super(providerConfig);
         }
@@ -334,7 +334,7 @@ public class SftpProviderTestCase extend
 
         // --- Standard VFS test suite
         final SftpProviderTestCase standardTestCase = new SftpProviderTestCase(false);
-        final ProviderTestSuite sftpSuite = new BaseTest(standardTestCase);
+        final ProviderTestSuite sftpSuite = new BaseProviderTestSuite(standardTestCase);
 
         // VFS-405: set/get permissions
         sftpSuite.addTests(PermissionsTests.class);
@@ -347,7 +347,7 @@ public class SftpProviderTestCase extend
         // one test is run (we just test that the input/output are correctly forwarded, and
         // hence if the reading test succeeds/fails the other will also succeed/fail)
         final SftpProviderTestCase streamProxyTestCase = new SftpProviderTestCase(true);
-        final ProviderTestSuite sftpStreamSuite = new BaseTest(streamProxyTestCase)
+        final ProviderTestSuite sftpStreamSuite = new BaseProviderTestSuite(streamProxyTestCase)
         {
             @Override
             protected void addBaseTests() throws Exception



Mime
View raw message