|
21 | 21 | */ |
22 | 22 | public class BulkTest { |
23 | 23 |
|
24 | | - // Note: BulkTest is Cloneable to make it easier to construct |
25 | | - // BulkTest instances for simple test methods that are defined in |
26 | | - // anonymous inner classes. Basically we don't have to worry about |
27 | | - // finding weird constructors. (And even if we found them, technically |
28 | | - // it'd be illegal for anyone but the outer class to invoke them). |
29 | | - // Given one BulkTest instance, we can just clone it and reset the |
30 | | - // method name for every simple test it defines. |
31 | | - |
32 | 24 | /** Path to test data resources */ |
33 | 25 | protected static final String TEST_DATA_PATH = "src/test/resources/org/apache/commons/collections4/data/test/"; |
34 | 26 |
|
35 | 27 | /** Path to test properties resources */ |
36 | 28 | public static final String TEST_PROPERTIES_PATH = "src/test/resources/org/apache/commons/collections4/properties/"; |
37 | 29 |
|
38 | 30 | /** |
39 | | - * The full name of this bulk test instance. This is the full name |
40 | | - * that is compared to {@link #ignoredTests} to see if this |
41 | | - * test should be ignored. It's also displayed in the text runner |
42 | | - * to ease debugging. |
| 31 | + * The full name of this bulk test instance. |
43 | 32 | */ |
44 | 33 | private String verboseName; |
45 | 34 |
|
46 | 35 | /** |
47 | | - * the name of the simple test method |
| 36 | + * the name of the simple test method |
48 | 37 | */ |
49 | 38 | private String name; |
50 | 39 |
|
51 | 40 | /** |
52 | | - * Constructs a new {@code BulkTest} instance that will run the |
53 | | - * specified simple test. |
| 41 | + * Constructs a new {@code BulkTest} instance that will run the specified simple test. |
54 | 42 | */ |
55 | 43 | public BulkTest() { |
56 | 44 | this.name = getClass().getSimpleName(); |
57 | 45 | this.verboseName = getClass().getName(); |
58 | 46 | } |
59 | 47 |
|
60 | 48 | /** |
61 | | - * Returns the name of the simple test method of this {@code BulkTest}. |
| 49 | + * Gets the name of the simple test method of this {@code BulkTest}. |
62 | 50 | * |
63 | | - * @return the name of the simple test method of this {@code BulkTest} |
| 51 | + * @return the name of the simple test method of this {@code BulkTest} |
64 | 52 | */ |
65 | 53 | public String getName() { |
66 | 54 | return name; |
67 | 55 | } |
68 | 56 |
|
69 | 57 | /** |
70 | | - * Returns the display name of this {@code BulkTest}. |
| 58 | + * Gets the display name of this {@code BulkTest}. |
71 | 59 | * |
72 | | - * @return the display name of this {@code BulkTest} |
| 60 | + * @return the display name of this {@code BulkTest} |
73 | 61 | */ |
74 | 62 | @Override |
75 | 63 | public String toString() { |
|
0 commit comments