Skip to content

Commit

Permalink
For Apache Commons BeanUtils until all components migrate to JUnit 5.
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jun 18, 2024
1 parent f028b11 commit d61cf21
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions src/test/java/org/apache/commons/collections4/BulkTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -191,6 +191,13 @@ public String getName() {
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>
*
Expand Down Expand Up @@ -228,6 +235,20 @@ public String[] ignoredTests() {
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}.
*
Expand Down

0 comments on commit d61cf21

Please sign in to comment.