This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new 905fa12  Clearer test infra method name.
905fa12 is described below

commit 905fa12050866dd12267c7cbc56c6b8e65c43006
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Feb 7 18:10:53 2021 -0500

    Clearer test infra method name.
---
 .../test/java/org/apache/commons/vfs2/AbstractProviderTestCase.java   | 4 ++--
 .../src/test/java/org/apache/commons/vfs2/LastModifiedTests.java      | 2 +-
 commons-vfs2/src/test/java/org/apache/commons/vfs2/PathTests.java     | 2 +-
 .../src/test/java/org/apache/commons/vfs2/PermissionsTests.java       | 2 +-
 .../test/java/org/apache/commons/vfs2/ProviderCacheStrategyTests.java | 2 +-
 .../src/test/java/org/apache/commons/vfs2/ProviderDeleteTests.java    | 2 +-
 .../test/java/org/apache/commons/vfs2/ProviderRandomReadTests.java    | 2 +-
 .../java/org/apache/commons/vfs2/ProviderRandomReadWriteTests.java    | 2 +-
 .../java/org/apache/commons/vfs2/ProviderRandomSetLengthTests.java    | 2 +-
 .../src/test/java/org/apache/commons/vfs2/ProviderReadTests.java      | 2 +-
 .../src/test/java/org/apache/commons/vfs2/ProviderRenameTests.java    | 2 +-
 .../test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java   | 2 +-
 .../src/test/java/org/apache/commons/vfs2/ProviderWriteTests.java     | 2 +-
 commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java      | 2 +-
 .../src/test/java/org/apache/commons/vfs2/UrlStructureTests.java      | 2 +-
 commons-vfs2/src/test/java/org/apache/commons/vfs2/UrlTests.java      | 2 +-
 .../test/java/org/apache/commons/vfs2/impl/VfsClassLoaderTests.java   | 2 +-
 .../apache/commons/vfs2/provider/sftp/SftpMultiThreadWriteTests.java  | 2 +-
 18 files changed, 19 insertions(+), 19 deletions(-)

diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/AbstractProviderTestCase.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/AbstractProviderTestCase.java
index 139b0f1..c58c5d9 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/AbstractProviderTestCase.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/AbstractProviderTestCase.java
@@ -157,7 +157,7 @@ public abstract class AbstractProviderTestCase extends 
AbstractVfsTestCase {
      * <p>
      * This implementation returns null.
      */
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return null;
     }
 
@@ -174,7 +174,7 @@ public abstract class AbstractProviderTestCase extends 
AbstractVfsTestCase {
     @Override
     protected void runTest() throws Throwable {
         // Check the capabilities
-        final Capability[] caps = getRequiredCaps();
+        final Capability[] caps = getRequiredCapabilities();
         if (caps != null) {
             for (final Capability cap2 : caps) {
                 final Capability cap = cap2;
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/LastModifiedTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/LastModifiedTests.java
index 40e94e2..f78a5c7 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/LastModifiedTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/LastModifiedTests.java
@@ -44,7 +44,7 @@ public class LastModifiedTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.GET_LAST_MODIFIED };
     }
 
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/PathTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/PathTests.java
index 0417b21..3b56e94 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/PathTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/PathTests.java
@@ -31,7 +31,7 @@ public class PathTests extends AbstractProviderTestCase {
      * tested does not support all the required capabilities. Return null or 
an empty array to always run the tests.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] {Capability.URI};
     }
 
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/PermissionsTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/PermissionsTests.java
index 56de749..936e15f 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/PermissionsTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/PermissionsTests.java
@@ -38,7 +38,7 @@ public class PermissionsTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.CREATE, Capability.DELETE, 
Capability.READ_CONTENT,
                 Capability.WRITE_CONTENT, };
     }
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderCacheStrategyTests.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderCacheStrategyTests.java
index 6b0f9fb..d7ca2e6 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderCacheStrategyTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderCacheStrategyTests.java
@@ -30,7 +30,7 @@ public class ProviderCacheStrategyTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.CREATE, Capability.GET_TYPE, 
Capability.LIST_CHILDREN, };
     }
 
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderDeleteTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderDeleteTests.java
index 3c27e8e..01de8f3 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderDeleteTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderDeleteTests.java
@@ -45,7 +45,7 @@ public class ProviderDeleteTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.CREATE, Capability.DELETE, 
Capability.GET_TYPE,
                 Capability.LIST_CHILDREN, };
     }
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomReadTests.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomReadTests.java
index b0b93bc..4387481 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomReadTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomReadTests.java
@@ -31,7 +31,7 @@ public class ProviderRandomReadTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.GET_TYPE, 
Capability.RANDOM_ACCESS_READ };
     }
 
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomReadWriteTests.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomReadWriteTests.java
index 3084978..65df227 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomReadWriteTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomReadWriteTests.java
@@ -30,7 +30,7 @@ public class ProviderRandomReadWriteTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.GET_TYPE, Capability.CREATE, 
Capability.RANDOM_ACCESS_READ,
                 Capability.RANDOM_ACCESS_WRITE };
     }
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomSetLengthTests.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomSetLengthTests.java
index 1838e5b..84c1e86 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomSetLengthTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRandomSetLengthTests.java
@@ -46,7 +46,7 @@ public class ProviderRandomSetLengthTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.GET_TYPE, 
Capability.RANDOM_ACCESS_READ, Capability.RANDOM_ACCESS_WRITE,
                 Capability.RANDOM_ACCESS_SET_LENGTH };
     }
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderReadTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderReadTests.java
index 53f2728..1ec8399 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderReadTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderReadTests.java
@@ -46,7 +46,7 @@ public class ProviderReadTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.GET_TYPE, 
Capability.LIST_CHILDREN, Capability.READ_CONTENT };
     }
 
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRenameTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRenameTests.java
index 34a8825..056faeb 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRenameTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderRenameTests.java
@@ -31,7 +31,7 @@ public class ProviderRenameTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.CREATE, Capability.DELETE, 
Capability.GET_TYPE, Capability.LIST_CHILDREN,
                 Capability.READ_CONTENT, Capability.WRITE_CONTENT, 
Capability.RENAME };
     }
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java
index a4c73a4..ba2d9f5 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java
@@ -29,7 +29,7 @@ public class ProviderWriteAppendTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.CREATE, Capability.DELETE, 
Capability.GET_TYPE, Capability.LIST_CHILDREN,
                 Capability.READ_CONTENT, Capability.WRITE_CONTENT, 
Capability.APPEND_CONTENT };
     }
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteTests.java
index 8ff75c1..85a772f 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteTests.java
@@ -39,7 +39,7 @@ public class ProviderWriteTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.CREATE, Capability.DELETE, 
Capability.GET_TYPE, Capability.LIST_CHILDREN,
                 Capability.READ_CONTENT, Capability.WRITE_CONTENT };
     }
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java
index 9c71236..ee503dc 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/UriTests.java
@@ -30,7 +30,7 @@ public class UriTests extends AbstractProviderTestCase {
      * tested does not support all the required capabilities. Return null or 
an empty array to always run the tests.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] {Capability.URI};
     }
 
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/UrlStructureTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/UrlStructureTests.java
index 750ec76..b920ad9 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/UrlStructureTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/UrlStructureTests.java
@@ -29,7 +29,7 @@ public class UrlStructureTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] {Capability.GET_TYPE, Capability.URI};
     }
 
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/UrlTests.java 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/UrlTests.java
index 7d812f7..935bce8 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/UrlTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/UrlTests.java
@@ -32,7 +32,7 @@ public class UrlTests extends AbstractProviderTestCase {
      * tested does not support all the required capabilities. Return null or 
an empty array to always run the tests.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] {Capability.URI};
     }
 
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/VfsClassLoaderTests.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/VfsClassLoaderTests.java
index 21c7c72..8b6edc7 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/VfsClassLoaderTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/VfsClassLoaderTests.java
@@ -41,7 +41,7 @@ public class VfsClassLoaderTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] { Capability.READ_CONTENT, Capability.URI };
     }
 
diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/SftpMultiThreadWriteTests.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/SftpMultiThreadWriteTests.java
index dec01a5..57d6c31 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/SftpMultiThreadWriteTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/SftpMultiThreadWriteTests.java
@@ -54,7 +54,7 @@ public class SftpMultiThreadWriteTests extends 
AbstractProviderTestCase {
      * Returns the capabilities required by the tests of this test case.
      */
     @Override
-    protected Capability[] getRequiredCaps() {
+    protected Capability[] getRequiredCapabilities() {
         return new Capability[] {Capability.CREATE, Capability.DELETE, 
Capability.GET_TYPE, Capability.LIST_CHILDREN,
             Capability.READ_CONTENT, Capability.WRITE_CONTENT};
     }

Reply via email to