Skip to content

Commit

Permalink
Remove old inline comment
Browse files Browse the repository at this point in the history
- Javadoc
- Format
  • Loading branch information
garydgregory committed Nov 11, 2024
1 parent 9e7f5ac commit e1f7b4f
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions src/test/java/org/apache/commons/collections4/BulkTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,55 +21,43 @@
*/
public class BulkTest {

// Note: BulkTest is Cloneable to make it easier to construct
// BulkTest instances for simple test methods that are defined in
// anonymous inner classes. Basically we don't have to worry about
// finding weird constructors. (And even if we found them, technically
// it'd be illegal for anyone but the outer class to invoke them).
// Given one BulkTest instance, we can just clone it and reset the
// method name for every simple test it defines.

/** Path to test data resources */
protected static final String TEST_DATA_PATH = "src/test/resources/org/apache/commons/collections4/data/test/";

/** Path to test properties resources */
public static final String TEST_PROPERTIES_PATH = "src/test/resources/org/apache/commons/collections4/properties/";

/**
* The full name of this bulk test instance. This is the full name
* that is compared to {@link #ignoredTests} to see if this
* test should be ignored. It's also displayed in the text runner
* to ease debugging.
* The full name of this bulk test instance.
*/
private String verboseName;

/**
* the name of the simple test method
* the name of the simple test method
*/
private String name;

/**
* Constructs a new {@code BulkTest} instance that will run the
* specified simple test.
* Constructs a new {@code BulkTest} instance that will run the specified simple test.
*/
public BulkTest() {
this.name = getClass().getSimpleName();
this.verboseName = getClass().getName();
}

/**
* Returns the name of the simple test method of this {@code BulkTest}.
* Gets the name of the simple test method of this {@code BulkTest}.
*
* @return the name of the simple test method of this {@code BulkTest}
* @return the name of the simple test method of this {@code BulkTest}
*/
public String getName() {
return name;
}

/**
* Returns the display name of this {@code BulkTest}.
* Gets the display name of this {@code BulkTest}.
*
* @return the display name of this {@code BulkTest}
* @return the display name of this {@code BulkTest}
*/
@Override
public String toString() {
Expand Down

0 comments on commit e1f7b4f

Please sign in to comment.