diff --git a/src/test/java/org/apache/commons/collections4/iterators/AbstractIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/AbstractIteratorTest.java index 6f4d6597f..70b8954aa 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/AbstractIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/AbstractIteratorTest.java @@ -35,6 +35,9 @@ import org.junit.jupiter.api.Test; * Concrete subclasses must provide the iterator to be tested. * They must also specify certain details of how the iterator operates by * overriding the supportsXxx() methods if necessary. + *

+ * + * @param the type of elements tested by this iterator. */ public abstract class AbstractIteratorTest extends AbstractObjectTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/AbstractListIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/AbstractListIteratorTest.java index b64153cc4..e8f9b3c0a 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/AbstractListIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/AbstractListIteratorTest.java @@ -35,6 +35,9 @@ import org.junit.jupiter.api.Test; * Concrete subclasses must provide the list iterator to be tested. * They must also specify certain details of how the list iterator operates by * overriding the supportsXxx() methods if necessary. + *

+ * + * @param the type of elements tested by this iterator. */ public abstract class AbstractListIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/AbstractMapIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/AbstractMapIteratorTest.java index 330f72181..b01f538a8 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/AbstractMapIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/AbstractMapIteratorTest.java @@ -38,6 +38,10 @@ import org.junit.jupiter.api.Test; * Concrete subclasses must provide the list iterator to be tested. * They must also specify certain details of how the list iterator operates by * overriding the supportsXxx() methods if necessary. + *

+ * + * @param the type of the keys in the maps tested. + * @param the type of the values in the maps tested. */ public abstract class AbstractMapIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/AbstractOrderedMapIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/AbstractOrderedMapIteratorTest.java index e2d502a60..9cee41ce5 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/AbstractOrderedMapIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/AbstractOrderedMapIteratorTest.java @@ -40,6 +40,9 @@ import org.junit.jupiter.api.Test; * Concrete subclasses must provide the list iterator to be tested. * They must also specify certain details of how the list iterator operates by * overriding the supportsXxx() methods if necessary. + * + * @param the type of the keys in the maps tested. + * @param the type of the values in the maps tested. */ public abstract class AbstractOrderedMapIteratorTest extends AbstractMapIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ArrayIterator2Test.java b/src/test/java/org/apache/commons/collections4/iterators/ArrayIterator2Test.java index 05318f9a4..3f3c4a164 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ArrayIterator2Test.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ArrayIterator2Test.java @@ -29,6 +29,8 @@ import org.junit.jupiter.api.Test; /** * Tests the ArrayIterator with primitive type arrays. + * + * @param the type of elements tested by this iterator. */ public class ArrayIterator2Test extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ArrayIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/ArrayIteratorTest.java index 0ea17653f..e2d20cca9 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ArrayIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ArrayIteratorTest.java @@ -29,6 +29,8 @@ import org.junit.jupiter.api.Test; * Tests the ArrayIterator to ensure that the next() method will actually * perform the iteration rather than the hasNext() method. * The code of this test was supplied by Mauricio S. Moura. + * + * @param the type of elements tested by this iterator. */ public class ArrayIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ArrayListIterator2Test.java b/src/test/java/org/apache/commons/collections4/iterators/ArrayListIterator2Test.java index 7dff976db..3ee3920ca 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ArrayListIterator2Test.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ArrayListIterator2Test.java @@ -18,6 +18,8 @@ package org.apache.commons.collections4.iterators; /** * Test the ArrayListIterator class with primitives. + * + * @param the type of elements tested by this iterator. */ public class ArrayListIterator2Test extends ArrayIterator2Test { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ArrayListIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/ArrayListIteratorTest.java index c6f481fb2..071b4a71a 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ArrayListIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ArrayListIteratorTest.java @@ -28,6 +28,8 @@ import org.junit.jupiter.api.Test; /** * Test the ArrayListIterator class. + * + * @param the type of elements tested by this iterator. */ public class ArrayListIteratorTest extends ArrayIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/BoundedIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/BoundedIteratorTest.java index 8e1d39deb..36f66236e 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/BoundedIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/BoundedIteratorTest.java @@ -37,6 +37,8 @@ import org.junit.jupiter.api.Test; /** * A unit test to test the basic functions of {@link BoundedIterator}. + * + * @param the type of elements tested by this iterator. */ public class BoundedIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/FilterIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/FilterIteratorTest.java index 157bc8725..ba12cb697 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/FilterIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/FilterIteratorTest.java @@ -38,6 +38,8 @@ import org.junit.jupiter.api.Test; /** * Test the filter iterator. + * + * @param the type of elements tested by this iterator. */ public class FilterIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ListIteratorWrapper2Test.java b/src/test/java/org/apache/commons/collections4/iterators/ListIteratorWrapper2Test.java index b446edaef..5fd06163f 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ListIteratorWrapper2Test.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ListIteratorWrapper2Test.java @@ -31,6 +31,8 @@ import org.junit.jupiter.api.Test; /** * Tests the ListIteratorWrapper to ensure that it behaves as expected when wrapping a ListIterator. + * + * @param the type of elements tested by this iterator. */ public class ListIteratorWrapper2Test extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ListIteratorWrapperTest.java b/src/test/java/org/apache/commons/collections4/iterators/ListIteratorWrapperTest.java index c52bef0ff..84842dd06 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ListIteratorWrapperTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ListIteratorWrapperTest.java @@ -32,6 +32,8 @@ import org.junit.jupiter.api.Test; /** * Tests the ListIteratorWrapper to ensure that it simulates * a ListIterator correctly. + * + * @param the type of elements tested by this iterator. */ public class ListIteratorWrapperTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayIteratorTest.java index 108ccdd6a..ac3497123 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayIteratorTest.java @@ -27,6 +27,8 @@ import org.junit.jupiter.api.Test; /** * Tests the ObjectArrayIterator. + * + * @param the type of elements tested by this iterator. */ public class ObjectArrayIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayListIterator2Test.java b/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayListIterator2Test.java index 1091226f6..c47fb577a 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayListIterator2Test.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayListIterator2Test.java @@ -18,6 +18,8 @@ package org.apache.commons.collections4.iterators; /** * Tests the ObjectArrayListIterator class. + * + * @param the type of elements tested by this iterator. */ public class ObjectArrayListIterator2Test extends AbstractListIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayListIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayListIteratorTest.java index 22bdd9a86..b3f140675 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayListIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ObjectArrayListIteratorTest.java @@ -28,6 +28,8 @@ import org.junit.jupiter.api.Test; /** * Tests the ObjectArrayListIterator class. + * + * @param the type of elements tested by this iterator. */ public class ObjectArrayListIteratorTest extends ObjectArrayIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/PeekingIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/PeekingIteratorTest.java index ba0c0421d..276ea36b7 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/PeekingIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/PeekingIteratorTest.java @@ -34,6 +34,8 @@ import org.junit.jupiter.api.Test; /** * Tests the PeekingIterator. + * + * @param the type of elements tested by this iterator. */ public class PeekingIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/PermutationIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/PermutationIteratorTest.java index 83537d2e3..fac2ca425 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/PermutationIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/PermutationIteratorTest.java @@ -34,6 +34,8 @@ import org.junit.jupiter.api.Test; /** * Test class for PermutationIterator. + * + * @param the type of elements tested by this iterator. */ public class PermutationIteratorTest extends AbstractIteratorTest> { diff --git a/src/test/java/org/apache/commons/collections4/iterators/PushbackIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/PushbackIteratorTest.java index c743574ab..acddc805d 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/PushbackIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/PushbackIteratorTest.java @@ -31,6 +31,8 @@ import org.junit.jupiter.api.Test; /** * Tests the PushbackIterator. + * + * @param the type of elements tested by this iterator. */ public class PushbackIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/ReverseListIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/ReverseListIteratorTest.java index b1a7e7ce7..2c5a16698 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/ReverseListIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/ReverseListIteratorTest.java @@ -33,6 +33,8 @@ import org.junit.jupiter.api.Test; /** * Tests the ReverseListIterator. + * + * @param the type of elements tested by this iterator. */ public class ReverseListIteratorTest extends AbstractListIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/SingletonIterator2Test.java b/src/test/java/org/apache/commons/collections4/iterators/SingletonIterator2Test.java index 41efd1fa0..3438538c3 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/SingletonIterator2Test.java +++ b/src/test/java/org/apache/commons/collections4/iterators/SingletonIterator2Test.java @@ -29,6 +29,8 @@ import org.junit.jupiter.api.Test; /** * Tests the SingletonIterator to ensure that the next() method will actually * perform the iteration rather than the hasNext() method. + * + * @param the type of elements tested by this iterator. */ public class SingletonIterator2Test extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/SingletonIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/SingletonIteratorTest.java index 7cdd3da60..31ff4b9f3 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/SingletonIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/SingletonIteratorTest.java @@ -29,6 +29,8 @@ import org.junit.jupiter.api.Test; /** * Tests the SingletonIterator to ensure that the next() method will actually * perform the iteration rather than the hasNext() method. + * + * @param the type of elements tested by this iterator. */ public class SingletonIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/SingletonListIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/SingletonListIteratorTest.java index ca3868a5f..b8d4a5388 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/SingletonListIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/SingletonListIteratorTest.java @@ -28,6 +28,8 @@ import org.junit.jupiter.api.Test; /** * Tests the SingletonListIterator. + * + * @param the type of elements tested by this iterator. */ public class SingletonListIteratorTest extends AbstractListIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/SkippingIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/SkippingIteratorTest.java index b10aaefaf..c021af6b3 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/SkippingIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/SkippingIteratorTest.java @@ -33,6 +33,8 @@ import org.junit.jupiter.api.Test; /** * A unit test to test the basic functions of {@link SkippingIterator}. + * + * @param the type of elements tested by this iterator. */ public class SkippingIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/UniqueFilterIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/UniqueFilterIteratorTest.java index 4bcf3a77c..079fa961e 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/UniqueFilterIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/UniqueFilterIteratorTest.java @@ -29,6 +29,8 @@ import org.junit.jupiter.api.Test; /** * Tests the UniqueFilterIterator class. + * + * @param the type of elements tested by this iterator. */ public class UniqueFilterIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableIteratorTest.java index fdcca6fcd..c9cb32faa 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableIteratorTest.java @@ -33,6 +33,8 @@ import org.junit.jupiter.api.Test; /** * Tests the UnmodifiableIterator. + * + * @param the type of elements tested by this iterator. */ public class UnmodifiableIteratorTest extends AbstractIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableListIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableListIteratorTest.java index 055e48154..868f66007 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableListIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableListIteratorTest.java @@ -33,6 +33,8 @@ import org.junit.jupiter.api.Test; /** * Tests the UnmodifiableListIterator. + * + * @param the type of elements tested by this iterator. */ public class UnmodifiableListIteratorTest extends AbstractListIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableMapIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableMapIteratorTest.java index eed151bf1..1dea7840f 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableMapIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableMapIteratorTest.java @@ -32,6 +32,9 @@ import org.junit.jupiter.api.Test; /** * Tests the UnmodifiableMapIterator. + * + * @param the type of the keys in the maps tested. + * @param the type of the values in the maps tested. */ public class UnmodifiableMapIteratorTest extends AbstractMapIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableOrderedMapIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableOrderedMapIteratorTest.java index 3ccd23c56..70f8289e5 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableOrderedMapIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/UnmodifiableOrderedMapIteratorTest.java @@ -33,6 +33,9 @@ import org.junit.jupiter.api.Test; /** * Tests the UnmodifiableOrderedMapIterator. + * + * @param the type of the keys in the maps tested. + * @param the type of the values in the maps tested. */ public class UnmodifiableOrderedMapIteratorTest extends AbstractOrderedMapIteratorTest { diff --git a/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java b/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java index 7a059c6be..3be2938cb 100644 --- a/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java +++ b/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java @@ -47,11 +47,15 @@ import org.junit.jupiter.api.Test; *

* To use, simply extend this class, and implement * the {@link #makeObject} method. + *

*

* If your {@link List} fails one of these tests by design, * you may still use this base set of cases. Simply override the * test case (method) your {@link List} fails or override one of the * protected methods from AbstractCollectionTest. + *

+ * + * @param the type of elements returned by this iterator */ public abstract class AbstractListTest extends AbstractCollectionTest { diff --git a/src/test/java/org/apache/commons/collections4/map/AbstractOrderedMapTest.java b/src/test/java/org/apache/commons/collections4/map/AbstractOrderedMapTest.java index e9302d4c0..c0583c909 100644 --- a/src/test/java/org/apache/commons/collections4/map/AbstractOrderedMapTest.java +++ b/src/test/java/org/apache/commons/collections4/map/AbstractOrderedMapTest.java @@ -38,6 +38,9 @@ import org.junit.jupiter.api.Test; /** * Abstract test class for {@link OrderedMap} methods and contracts. + * + * @param the type of the keys in the maps tested. + * @param the type of the values in the maps tested. */ public abstract class AbstractOrderedMapTest extends AbstractIterableMapTest {