From afae3dd81da5b7518514ffe828428ac0d05d8fe2 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Sun, 21 Apr 2013 17:55:14 +0000 Subject: [PATCH] Update javadoc with renamed tests, minor formatting fixes. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470324 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/collections4/BulkTest.java | 84 +++++++++---------- 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/BulkTest.java b/src/test/java/org/apache/commons/collections4/BulkTest.java index 2da8a0725..5b7d86de1 100644 --- a/src/test/java/org/apache/commons/collections4/BulkTest.java +++ b/src/test/java/org/apache/commons/collections4/BulkTest.java @@ -44,11 +44,11 @@ import junit.framework.TestSuite; * For instance, consider the following two classes: * *
- *  public class TestSet extends BulkTest {
+ *  public class SetTest extends BulkTest {
  *
  *      private Set set;
  *
- *      public TestSet(Set set) {
+ *      public SetTest(Set set) {
  *          this.set = set;
  *      }
  *
@@ -64,7 +64,7 @@ import junit.framework.TestSuite;
  *  }
  *
  *
- *  public class TestHashMap extends BulkTest {
+ *  public class HashMapTest extends BulkTest {
  *
  *      private Map makeFullMap() {
  *          HashMap result = new HashMap();
@@ -89,25 +89,25 @@ import junit.framework.TestSuite;
  *  }
  *  
* - * In the above examples, TestSet defines two - * simple test methods and no bulk test methods; TestHashMap + * In the above examples, SetTest defines two + * simple test methods and no bulk test methods; HashMapTest * defines one simple test method and two bulk test methods. When - * makeSuite(TestHashMap.class).run is executed, + * makeSuite(HashMapTest.class).run is executed, * five simple test methods will be run, in this order:

* *

    - *
  1. TestHashMap.testClear() - *
  2. TestHashMap.bulkTestKeySet().testContains(); - *
  3. TestHashMap.bulkTestKeySet().testClear(); - *
  4. TestHashMap.bulkTestEntrySet().testContains(); - *
  5. TestHashMap.bulkTestEntrySet().testClear(); + *
  6. HashMapTest.testClear() + *
  7. HashMapTest.bulkTestKeySet().testContains(); + *
  8. HashMapTest.bulkTestKeySet().testClear(); + *
  9. HashMapTest.bulkTestEntrySet().testContains(); + *
  10. HashMapTest.bulkTestEntrySet().testClear(); *
* * In the graphical junit test runners, the tests would be displayed in * the following tree:

* *