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-collections.git


The following commit(s) were added to refs/heads/master by this push:
     new d61cf2132 For Apache Commons BeanUtils until all components migrate to 
JUnit 5.
     new 26e733fec Merge branch 'master' of 
https://gitbox.apache.org/repos/asf/commons-collections.git
d61cf2132 is described below

commit d61cf2132de3b1caa74c5279bfba65065f499ff6
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Jun 18 10:57:09 2024 -0400

    For Apache Commons BeanUtils until all components migrate to JUnit 5.
---
 .../org/apache/commons/collections4/BulkTest.java  | 25 ++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/collections4/BulkTest.java 
b/src/test/java/org/apache/commons/collections4/BulkTest.java
index 8170c9891..257347737 100644
--- a/src/test/java/org/apache/commons/collections4/BulkTest.java
+++ b/src/test/java/org/apache/commons/collections4/BulkTest.java
@@ -150,12 +150,12 @@ public class BulkTest implements Cloneable {
      *  test should be ignored.  It's also displayed in the text runner
      *  to ease debugging.
      */
-    String verboseName;
+    private String verboseName;
 
     /**
      *  the name of the simple test method
      */
-    private final String name;
+    private String name;
 
     /**
      *  Constructs a new {@code BulkTest} instance that will run the
@@ -191,6 +191,13 @@ public class BulkTest implements Cloneable {
         return name;
     }
 
+    /**
+     * For Apache Commons BeanUtils until all components migrate to JUnit 5.
+     */
+    public String getVerboseName() {
+        return verboseName;
+    }
+
     /**
      *  Returns an array of test names to ignore.<P>
      *
@@ -228,6 +235,20 @@ public class BulkTest implements Cloneable {
         return null;
     }
 
+    /**
+     * For Apache Commons BeanUtils until all components migrate to JUnit 5.
+     */
+    public void setName(final String name) {
+        this.name = name;
+    }
+
+    /**
+     * For Apache Commons BeanUtils until all components migrate to JUnit 5.
+     */
+    public void setVerboseName(final String verboseName) {
+        this.verboseName = verboseName;
+    }
+
     /**
      *  Returns the display name of this {@code BulkTest}.
      *

Reply via email to