Declutter: Tests don't need Javadoc @since tags

This commit is contained in:
Gary Gregory 2024-01-20 10:29:28 -05:00
parent 01bd494f07
commit 190815d4e1
105 changed files with 4 additions and 110 deletions

View File

@ -38,7 +38,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests the ClosureUtils class. * Tests the ClosureUtils class.
* *
* @since 3.0
*/ */
public class ClosureUtilsTest { public class ClosureUtilsTest {

View File

@ -36,7 +36,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests the org.apache.commons.collections.FactoryUtils class. * Tests the org.apache.commons.collections.FactoryUtils class.
* *
* @since 3.0
*/ */
public class FactoryUtilsTest { public class FactoryUtilsTest {

View File

@ -40,7 +40,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests for FluentIterable. * Tests for FluentIterable.
* *
* @since 4.1
*/ */
public class FluentIterableTest { public class FluentIterableTest {

View File

@ -22,6 +22,10 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.function.Supplier; import java.util.function.Supplier;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.apache.commons.collections4.list.TreeList; import org.apache.commons.collections4.list.TreeList;
import org.apache.commons.collections4.map.HashedMap; import org.apache.commons.collections4.map.HashedMap;
import org.apache.commons.collections4.map.LRUMap; import org.apache.commons.collections4.map.LRUMap;
@ -38,16 +42,11 @@ import com.google.common.collect.testing.features.Feature;
import com.google.common.collect.testing.features.ListFeature; import com.google.common.collect.testing.features.ListFeature;
import com.google.common.collect.testing.features.MapFeature; import com.google.common.collect.testing.features.MapFeature;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/** /**
* This test uses Google's Guava Testlib testing libraries to validate the * This test uses Google's Guava Testlib testing libraries to validate the
* contract of collection classes in Commons Collections. This was introduced * contract of collection classes in Commons Collections. This was introduced
* after COLLECTIONS-802, where the issue reported was found with Testlib. * after COLLECTIONS-802, where the issue reported was found with Testlib.
* *
* @since 4.5.0
* @see <a href="https://github.com/google/guava/tree/master/guava-testlib">https://github.com/google/guava/tree/master/guava-testlib</a> * @see <a href="https://github.com/google/guava/tree/master/guava-testlib">https://github.com/google/guava/tree/master/guava-testlib</a>
* @see <a href="https://issues.apache.org/jira/browse/COLLECTIONS-802">https://issues.apache.org/jira/browse/COLLECTIONS-802</a> * @see <a href="https://issues.apache.org/jira/browse/COLLECTIONS-802">https://issues.apache.org/jira/browse/COLLECTIONS-802</a>
*/ */

View File

@ -43,7 +43,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests for IterableUtils. * Tests for IterableUtils.
* *
* @since 4.1
*/ */
public class IterableUtilsTest { public class IterableUtilsTest {

View File

@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests for MultiMapUtils * Tests for MultiMapUtils
* *
* @since 4.1
*/ */
public class MultiMapUtilsTest { public class MultiMapUtilsTest {

View File

@ -27,7 +27,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests for MultiSetUtils. * Tests for MultiSetUtils.
* @since 4.2
*/ */
public class MultiSetUtilsTest { public class MultiSetUtilsTest {

View File

@ -45,7 +45,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests the PredicateUtils class. * Tests the PredicateUtils class.
* *
* @since 3.0
*/ */
@SuppressWarnings("boxing") @SuppressWarnings("boxing")
public class PredicateUtilsTest extends AbstractPredicateTest { public class PredicateUtilsTest extends AbstractPredicateTest {

View File

@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests for {@link TransformedSplitMap} * Tests for {@link TransformedSplitMap}
* *
* @since 4.0
*/ */
@SuppressWarnings("boxing") @SuppressWarnings("boxing")
public class SplitMapUtilsTest { public class SplitMapUtilsTest {

View File

@ -43,7 +43,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests the TransformerUtils class. * Tests the TransformerUtils class.
* *
* @since 3.0
*/ */
public class TransformerUtilsTest { public class TransformerUtilsTest {

View File

@ -27,7 +27,6 @@ import org.apache.commons.collections4.SortedBag;
* {@link org.apache.commons.collections4.SortedBag SortedBag} * {@link org.apache.commons.collections4.SortedBag SortedBag}
* methods and contracts. * methods and contracts.
* *
* @since 3.0
*/ */
public abstract class AbstractSortedBagTest<T> extends AbstractBagTest<T> { public abstract class AbstractSortedBagTest<T> extends AbstractBagTest<T> {

View File

@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
* Note: This test is mainly for serialization support, the CollectionBag decorator * Note: This test is mainly for serialization support, the CollectionBag decorator
* is extensively used and tested in AbstractBagTest. * is extensively used and tested in AbstractBagTest.
* *
* @since 4.0
*/ */
public class CollectionBagTest<T> extends AbstractCollectionTest<T> { public class CollectionBagTest<T> extends AbstractCollectionTest<T> {

View File

@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
* Note: This test is mainly for serialization support, the CollectionSortedBag decorator * Note: This test is mainly for serialization support, the CollectionSortedBag decorator
* is extensively used and tested in AbstractSortedBagTest. * is extensively used and tested in AbstractSortedBagTest.
* *
* @since 4.0
*/ */
public class CollectionSortedBagTest<T> extends AbstractCollectionTest<T> { public class CollectionSortedBagTest<T> extends AbstractCollectionTest<T> {

View File

@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractBagTest} for exercising the {@link PredicatedBag} * Extension of {@link AbstractBagTest} for exercising the {@link PredicatedBag}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class PredicatedBagTest<T> extends AbstractBagTest<T> { public class PredicatedBagTest<T> extends AbstractBagTest<T> {

View File

@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSortedBagTest} for exercising the {@link PredicatedSortedBag} * Extension of {@link AbstractSortedBagTest} for exercising the {@link PredicatedSortedBag}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class PredicatedSortedBagTest<T> extends AbstractSortedBagTest<T> { public class PredicatedSortedBagTest<T> extends AbstractSortedBagTest<T> {

View File

@ -22,7 +22,6 @@ import org.apache.commons.collections4.Bag;
* Extension of {@link AbstractBagTest} for exercising the {@link SynchronizedBag} * Extension of {@link AbstractBagTest} for exercising the {@link SynchronizedBag}
* implementation. * implementation.
* *
* @since 4.0
*/ */
public class SynchronizedBagTest<T> extends AbstractBagTest<T> { public class SynchronizedBagTest<T> extends AbstractBagTest<T> {

View File

@ -29,7 +29,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractBagTest} for exercising the {@link TransformedBag} * Extension of {@link AbstractBagTest} for exercising the {@link TransformedBag}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class TransformedBagTest<T> extends AbstractBagTest<T> { public class TransformedBagTest<T> extends AbstractBagTest<T> {

View File

@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSortedBagTest} for exercising the {@link TransformedSortedBag} * Extension of {@link AbstractSortedBagTest} for exercising the {@link TransformedSortedBag}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class TransformedSortedBagTest<T> extends AbstractSortedBagTest<T> { public class TransformedSortedBagTest<T> extends AbstractSortedBagTest<T> {

View File

@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractCollectionTest} for exercising the * Extension of {@link AbstractCollectionTest} for exercising the
* {@link UnmodifiableBag} implementation. * {@link UnmodifiableBag} implementation.
* *
* @since 4.0
*/ */
public class UnmodifiableBagTest<E> extends AbstractBagTest<E> { public class UnmodifiableBagTest<E> extends AbstractBagTest<E> {

View File

@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractCollectionTest} for exercising the * Extension of {@link AbstractCollectionTest} for exercising the
* {@link UnmodifiableSortedBag} implementation. * {@link UnmodifiableSortedBag} implementation.
* *
* @since 4.0
*/ */
public class UnmodifiableSortedBagTest<E> extends AbstractSortedBagTest<E> { public class UnmodifiableSortedBagTest<E> extends AbstractSortedBagTest<E> {

View File

@ -1015,7 +1015,6 @@ public abstract class AbstractCollectionTest<E> extends AbstractObjectTest {
/** /**
* Tests {@link Collection#removeIf(Predicate)}. * Tests {@link Collection#removeIf(Predicate)}.
* @since 4.4
*/ */
@Test @Test
public void testCollectionRemoveIf() { public void testCollectionRemoveIf() {

View File

@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractCollectionTest} for exercising the * Extension of {@link AbstractCollectionTest} for exercising the
* {@link CompositeCollection} implementation. * {@link CompositeCollection} implementation.
* *
* @since 3.0
*/ */
public class CompositeCollectionTest<E> extends AbstractCollectionTest<E> { public class CompositeCollectionTest<E> extends AbstractCollectionTest<E> {
@ -373,7 +372,6 @@ public class CompositeCollectionTest<E> extends AbstractCollectionTest<E> {
} }
/** /**
* @since 4.4
*/ */
@Test @Test
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractCollectionTest} for exercising the * Extension of {@link AbstractCollectionTest} for exercising the
* {@link IndexedCollection} implementation. * {@link IndexedCollection} implementation.
* *
* @since 4.0
*/ */
@SuppressWarnings("boxing") @SuppressWarnings("boxing")
public class IndexedCollectionTest extends AbstractCollectionTest<String> { public class IndexedCollectionTest extends AbstractCollectionTest<String> {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests the PredicatedCollection.Builder class. * Tests the PredicatedCollection.Builder class.
* *
* @since 4.1
*/ */
public class PredicatedCollectionBuilderTest { public class PredicatedCollectionBuilderTest {

View File

@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractCollectionTest} for exercising the * Extension of {@link AbstractCollectionTest} for exercising the
* {@link PredicatedCollection} implementation. * {@link PredicatedCollection} implementation.
* *
* @since 3.0
*/ */
public class PredicatedCollectionTest<E> extends AbstractCollectionTest<E> { public class PredicatedCollectionTest<E> extends AbstractCollectionTest<E> {

View File

@ -24,7 +24,6 @@ import java.util.Collection;
* Extension of {@link AbstractCollectionTest} for exercising the * Extension of {@link AbstractCollectionTest} for exercising the
* {@link SynchronizedCollection} implementation. * {@link SynchronizedCollection} implementation.
* *
* @since 3.1
*/ */
public class SynchronizedCollectionTest<E> extends AbstractCollectionTest<E> { public class SynchronizedCollectionTest<E> extends AbstractCollectionTest<E> {

View File

@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractCollectionTest} for exercising the {@link TransformedCollection} * Extension of {@link AbstractCollectionTest} for exercising the {@link TransformedCollection}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class TransformedCollectionTest extends AbstractCollectionTest<Object> { public class TransformedCollectionTest extends AbstractCollectionTest<Object> {

View File

@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractCollectionTest} for exercising the * Extension of {@link AbstractCollectionTest} for exercising the
* {@link UnmodifiableCollection} implementation. * {@link UnmodifiableCollection} implementation.
* *
* @since 3.0
*/ */
public class UnmodifiableCollectionTest<E> extends AbstractCollectionTest<E> { public class UnmodifiableCollectionTest<E> extends AbstractCollectionTest<E> {

View File

@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Base class for tests of AnyPredicate, AllPredicate, and OnePredicate. * Base class for tests of AnyPredicate, AllPredicate, and OnePredicate.
* *
* @since 3.0
*/ */
public abstract class AbstractAnyAllOnePredicateTest<T> extends AbstractCompositePredicateTest<T> { public abstract class AbstractAnyAllOnePredicateTest<T> extends AbstractCompositePredicateTest<T> {

View File

@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Base class for tests of composite predicates. * Base class for tests of composite predicates.
* *
* @since 3.0
*/ */
public abstract class AbstractCompositePredicateTest<T> extends AbstractMockPredicateTest<T> { public abstract class AbstractCompositePredicateTest<T> extends AbstractMockPredicateTest<T> {

View File

@ -31,7 +31,6 @@ import org.junit.jupiter.api.BeforeEach;
* Base class for tests of predicates which delegate to other predicates when evaluating an object. This class * Base class for tests of predicates which delegate to other predicates when evaluating an object. This class
* provides methods to create and verify mock predicates to which to delegate. * provides methods to create and verify mock predicates to which to delegate.
* *
* @since 3.0
*/ */
public abstract class AbstractMockPredicateTest<T> { public abstract class AbstractMockPredicateTest<T> {
/** /**

View File

@ -29,7 +29,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests the org.apache.commons.collections.functors.AllPredicate class. * Tests the org.apache.commons.collections.functors.AllPredicate class.
* *
* @since 3.0
*/ */
@SuppressWarnings("boxing") @SuppressWarnings("boxing")
public class AllPredicateTest extends AbstractAnyAllOnePredicateTest<Integer> { public class AllPredicateTest extends AbstractAnyAllOnePredicateTest<Integer> {

View File

@ -36,7 +36,6 @@ import org.junit.jupiter.api.Test;
* They must also specify certain details of how the iterator operates by * They must also specify certain details of how the iterator operates by
* overriding the supportsXxx() methods if necessary. * overriding the supportsXxx() methods if necessary.
* *
* @since 3.0
*/ */
public abstract class AbstractIteratorTest<E> extends AbstractObjectTest { public abstract class AbstractIteratorTest<E> extends AbstractObjectTest {

View File

@ -36,7 +36,6 @@ import org.junit.jupiter.api.Test;
* They must also specify certain details of how the list iterator operates by * They must also specify certain details of how the list iterator operates by
* overriding the supportsXxx() methods if necessary. * overriding the supportsXxx() methods if necessary.
* *
* @since 3.0
*/ */
public abstract class AbstractListIteratorTest<E> extends AbstractIteratorTest<E> { public abstract class AbstractListIteratorTest<E> extends AbstractIteratorTest<E> {

View File

@ -39,7 +39,6 @@ import org.junit.jupiter.api.Test;
* They must also specify certain details of how the list iterator operates by * They must also specify certain details of how the list iterator operates by
* overriding the supportsXxx() methods if necessary. * overriding the supportsXxx() methods if necessary.
* *
* @since 3.0
*/ */
public abstract class AbstractMapIteratorTest<K, V> extends AbstractIteratorTest<K> { public abstract class AbstractMapIteratorTest<K, V> extends AbstractIteratorTest<K> {

View File

@ -41,7 +41,6 @@ import org.junit.jupiter.api.Test;
* They must also specify certain details of how the list iterator operates by * They must also specify certain details of how the list iterator operates by
* overriding the supportsXxx() methods if necessary. * overriding the supportsXxx() methods if necessary.
* *
* @since 3.0
*/ */
public abstract class AbstractOrderedMapIteratorTest<K, V> extends AbstractMapIteratorTest<K, V> { public abstract class AbstractOrderedMapIteratorTest<K, V> extends AbstractMapIteratorTest<K, V> {

View File

@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Test class for PermutationIterator. * Test class for PermutationIterator.
* *
* @since 4.0
*/ */
public class PermutationIteratorTest extends AbstractIteratorTest<List<Character>> { public class PermutationIteratorTest extends AbstractIteratorTest<List<Character>> {

View File

@ -25,7 +25,6 @@ public final class ObjectToStringComparator implements Comparator<Object>, Seria
/** /**
* Singleton instance. * Singleton instance.
* *
* @since 4.5
*/ */
public static final ObjectToStringComparator INSTANCE = new ObjectToStringComparator(); public static final ObjectToStringComparator INSTANCE = new ObjectToStringComparator();

View File

@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
* {@link #testConstructors()} to test the constructors of the Map.Entry * {@link #testConstructors()} to test the constructors of the Map.Entry
* type being tested. * type being tested.
* *
* @since 3.0
*/ */
public abstract class AbstractMapEntryTest<K, V> { public abstract class AbstractMapEntryTest<K, V> {

View File

@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Test the DefaultKeyValue class. * Test the DefaultKeyValue class.
* *
* @since 3.0
*/ */
public class DefaultKeyValueTest<K, V> { public class DefaultKeyValueTest<K, V> {

View File

@ -26,7 +26,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Test the DefaultMapEntry class. * Test the DefaultMapEntry class.
* *
* @since 3.0
*/ */
public class DefaultMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> { public class DefaultMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {

View File

@ -26,7 +26,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Test the TiedMapEntry class. * Test the TiedMapEntry class.
* *
* @since 3.0
*/ */
public class TiedMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> { public class TiedMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {

View File

@ -29,7 +29,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Test the UnmodifiableMapEntry class. * Test the UnmodifiableMapEntry class.
* *
* @since 3.0
*/ */
public class UnmodifiableMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> { public class UnmodifiableMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {

View File

@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractListTest} for exercising the {@link FixedSizeList} * Extension of {@link AbstractListTest} for exercising the {@link FixedSizeList}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class FixedSizeListTest<E> extends AbstractListTest<E> { public class FixedSizeListTest<E> extends AbstractListTest<E> {

View File

@ -34,7 +34,6 @@ import org.junit.jupiter.api.function.Executable;
/** /**
* Extension of {@link AbstractListTest} for exercising the {@link GrowthList}. * Extension of {@link AbstractListTest} for exercising the {@link GrowthList}.
* *
* @since 3.2
*/ */
public class GrowthListTest<E> extends AbstractListTest<E> { public class GrowthListTest<E> extends AbstractListTest<E> {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractListTest} for exercising the * Extension of {@link AbstractListTest} for exercising the
* {@link PredicatedList} implementation. * {@link PredicatedList} implementation.
* *
* @since 3.0
*/ */
public class PredicatedListTest<E> extends AbstractListTest<E> { public class PredicatedListTest<E> extends AbstractListTest<E> {

View File

@ -38,7 +38,6 @@ import org.junit.jupiter.api.Test;
/** /**
* JUnit tests. * JUnit tests.
* *
* @since 3.0
*/ */
public class SetUniqueListTest<E> extends AbstractListTest<E> { public class SetUniqueListTest<E> extends AbstractListTest<E> {

View File

@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractListTest} for exercising the {@link TransformedList} * Extension of {@link AbstractListTest} for exercising the {@link TransformedList}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class TransformedListTest<E> extends AbstractListTest<E> { public class TransformedListTest<E> extends AbstractListTest<E> {

View File

@ -29,7 +29,6 @@ import org.junit.jupiter.api.Test;
/** /**
* JUnit tests * JUnit tests
* *
* @since 3.1
*/ */
public class TreeListTest<E> extends AbstractListTest<E> { public class TreeListTest<E> extends AbstractListTest<E> {

View File

@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractListTest} for exercising the * Extension of {@link AbstractListTest} for exercising the
* {@link UnmodifiableList} implementation. * {@link UnmodifiableList} implementation.
* *
* @since 3.0
*/ */
public class UnmodifiableListTest<E> extends AbstractListTest<E> { public class UnmodifiableListTest<E> extends AbstractListTest<E> {

View File

@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractMapTest} for exercising the * Extension of {@link AbstractMapTest} for exercising the
* {@link CompositeMap} implementation. * {@link CompositeMap} implementation.
* *
* @since 3.0
*/ */
public class CompositeMapTest<K, V> extends AbstractIterableMapTest<K, V> { public class CompositeMapTest<K, V> extends AbstractIterableMapTest<K, V> {

View File

@ -37,7 +37,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractMapTest} for exercising the * Extension of {@link AbstractMapTest} for exercising the
* {@link DefaultedMap} implementation. * {@link DefaultedMap} implementation.
* *
* @since 3.2
*/ */
public class DefaultedMapTest<K, V> extends AbstractIterableMapTest<K, V> { public class DefaultedMapTest<K, V> extends AbstractIterableMapTest<K, V> {

View File

@ -25,7 +25,6 @@ import org.apache.commons.collections4.IterableMap;
* Extension of {@link AbstractMapTest} for exercising the {@link FixedSizeMap} * Extension of {@link AbstractMapTest} for exercising the {@link FixedSizeMap}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class FixedSizeMapTest<K, V> extends AbstractIterableMapTest<K, V> { public class FixedSizeMapTest<K, V> extends AbstractIterableMapTest<K, V> {

View File

@ -23,7 +23,6 @@ import java.util.TreeMap;
* Extension of {@link AbstractSortedMapTest} for exercising the {@link FixedSizeSortedMap} * Extension of {@link AbstractSortedMapTest} for exercising the {@link FixedSizeSortedMap}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class FixedSizeSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> { public class FixedSizeSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {

View File

@ -42,7 +42,6 @@ import java.util.Map;
* *
* @param <K> the type of the keys in this map * @param <K> the type of the keys in this map
* @param <V> the type of the values in this map * @param <V> the type of the values in this map
* @since 3.0
*/ */
public class IdentityMap<K, V> public class IdentityMap<K, V>
extends AbstractHashedMap<K, V> implements Serializable, Cloneable { extends AbstractHashedMap<K, V> implements Serializable, Cloneable {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractMapTest} for exercising the * Extension of {@link AbstractMapTest} for exercising the
* {@link LazyMap} implementation. * {@link LazyMap} implementation.
* *
* @since 3.0
*/ */
@SuppressWarnings("boxing") @SuppressWarnings("boxing")
public class LazyMapTest<K, V> extends AbstractIterableMapTest<K, V> { public class LazyMapTest<K, V> extends AbstractIterableMapTest<K, V> {

View File

@ -40,7 +40,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link LazyMapTest} for exercising the * Extension of {@link LazyMapTest} for exercising the
* {@link LazySortedMap} implementation. * {@link LazySortedMap} implementation.
* *
* @since 3.0
*/ */
@SuppressWarnings("boxing") @SuppressWarnings("boxing")
public class LazySortedMapTest<K, V> extends AbstractSortedMapTest<K, V> { public class LazySortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {

View File

@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractOrderedMapTest} for exercising the {@link ListOrderedMap} * Extension of {@link AbstractOrderedMapTest} for exercising the {@link ListOrderedMap}
* implementation. * implementation.
* *
* @since 3.1
*/ */
public class ListOrderedMap2Test<K, V> extends AbstractOrderedMapTest<K, V> { public class ListOrderedMap2Test<K, V> extends AbstractOrderedMapTest<K, V> {

View File

@ -37,7 +37,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractOrderedMapTest} for exercising the {@link ListOrderedMap} * Extension of {@link AbstractOrderedMapTest} for exercising the {@link ListOrderedMap}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class ListOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> { public class ListOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {

View File

@ -45,7 +45,6 @@ import org.junit.jupiter.api.Test;
/** /**
* TestMultiValueMap. * TestMultiValueMap.
* *
* @since 3.2
*/ */
@Deprecated @Deprecated
public class MultiValueMapTest<K, V> extends AbstractObjectTest { public class MultiValueMapTest<K, V> extends AbstractObjectTest {

View File

@ -36,7 +36,6 @@ import org.junit.jupiter.api.Test;
/** /**
* JUnit tests. * JUnit tests.
* *
* @since 4.0
*/ */
public class PassiveExpiringMapTest<K, V> extends AbstractMapTest<K, V> { public class PassiveExpiringMapTest<K, V> extends AbstractMapTest<K, V> {

View File

@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractMapTest} for exercising the * Extension of {@link AbstractMapTest} for exercising the
* {@link PredicatedMap} implementation. * {@link PredicatedMap} implementation.
* *
* @since 3.0
*/ */
public class PredicatedMapTest<K, V> extends AbstractIterableMapTest<K, V> { public class PredicatedMapTest<K, V> extends AbstractIterableMapTest<K, V> {

View File

@ -39,7 +39,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link PredicatedMapTest} for exercising the * Extension of {@link PredicatedMapTest} for exercising the
* {@link PredicatedSortedMap} implementation. * {@link PredicatedSortedMap} implementation.
* *
* @since 3.0
*/ */
public class PredicatedSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> { public class PredicatedSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {

View File

@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractMapTest} for exercising the {@link TransformedMap} * Extension of {@link AbstractMapTest} for exercising the {@link TransformedMap}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class TransformedMapTest<K, V> extends AbstractIterableMapTest<K, V> { public class TransformedMapTest<K, V> extends AbstractIterableMapTest<K, V> {

View File

@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSortedMapTest} for exercising the {@link TransformedSortedMap} * Extension of {@link AbstractSortedMapTest} for exercising the {@link TransformedSortedMap}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class TransformedSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> { public class TransformedSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {

View File

@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractMapTest} for exercising the * Extension of {@link AbstractMapTest} for exercising the
* {@link UnmodifiableMap} implementation. * {@link UnmodifiableMap} implementation.
* *
* @since 3.0
*/ */
public class UnmodifiableMapTest<K, V> extends AbstractIterableMapTest<K, V> { public class UnmodifiableMapTest<K, V> extends AbstractIterableMapTest<K, V> {

View File

@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractOrderedMapTest} for exercising the * Extension of {@link AbstractOrderedMapTest} for exercising the
* {@link UnmodifiableOrderedMap} implementation. * {@link UnmodifiableOrderedMap} implementation.
* *
* @since 3.0
*/ */
public class UnmodifiableOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> { public class UnmodifiableOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {

View File

@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSortedMapTest} for exercising the * Extension of {@link AbstractSortedMapTest} for exercising the
* {@link UnmodifiableSortedMap} implementation. * {@link UnmodifiableSortedMap} implementation.
* *
* @since 3.0
*/ */
public class UnmodifiableSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> { public class UnmodifiableSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {

View File

@ -55,7 +55,6 @@ import org.junit.jupiter.api.Test;
* To use, extend this class and implement the {@link #makeObject} method and if * To use, extend this class and implement the {@link #makeObject} method and if
* necessary override the {@link #makeFullMap()} method. * necessary override the {@link #makeFullMap()} method.
* *
* @since 4.1
*/ */
public abstract class AbstractMultiValuedMapTest<K, V> extends AbstractObjectTest { public abstract class AbstractMultiValuedMapTest<K, V> extends AbstractObjectTest {

View File

@ -36,7 +36,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Test ArrayListValuedHashMap * Test ArrayListValuedHashMap
* *
* @since 4.1
*/ */
public class ArrayListValuedHashMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> { public class ArrayListValuedHashMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {

View File

@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Test HashSetValuedHashMap * Test HashSetValuedHashMap
* *
* @since 4.1
*/ */
public class HashSetValuedHashMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> { public class HashSetValuedHashMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests for TransformedMultiValuedMap * Tests for TransformedMultiValuedMap
* *
* @since 4.1
*/ */
public class TransformedMultiValuedMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> { public class TransformedMultiValuedMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {

View File

@ -39,7 +39,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Tests for UnmodifiableMultiValuedMap * Tests for UnmodifiableMultiValuedMap
* *
* @since 4.1
*/ */
public class UnmodifiableMultiValuedMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> { public class UnmodifiableMultiValuedMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {

View File

@ -60,7 +60,6 @@ import org.junit.jupiter.api.Test;
* interface (prefix testMultiSet). For MultiSet specific tests use the {@link #makeObject()} and * interface (prefix testMultiSet). For MultiSet specific tests use the {@link #makeObject()} and
* {@link #makeFullCollection()} methods instead of {@link #resetEmpty()} and resetFull(). * {@link #makeFullCollection()} methods instead of {@link #resetEmpty()} and resetFull().
* *
* @since 4.1
*/ */
public abstract class AbstractMultiSetTest<T> extends AbstractCollectionTest<T> { public abstract class AbstractMultiSetTest<T> extends AbstractCollectionTest<T> {

View File

@ -22,7 +22,6 @@ import org.apache.commons.collections4.MultiSet;
* Extension of {@link AbstractMultiSetTest} for exercising the * Extension of {@link AbstractMultiSetTest} for exercising the
* {@link HashMultiSet} implementation. * {@link HashMultiSet} implementation.
* *
* @since 4.1
*/ */
public class HashMultiSetTest<T> extends AbstractMultiSetTest<T> { public class HashMultiSetTest<T> extends AbstractMultiSetTest<T> {

View File

@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractMultiSetTest} for exercising the * Extension of {@link AbstractMultiSetTest} for exercising the
* {@link PredicatedMultiSet} implementation. * {@link PredicatedMultiSet} implementation.
* *
* @since 4.1
*/ */
public class PredicatedMultiSetTest<T> extends AbstractMultiSetTest<T> { public class PredicatedMultiSetTest<T> extends AbstractMultiSetTest<T> {

View File

@ -22,7 +22,6 @@ import org.apache.commons.collections4.MultiSet;
* Extension of {@link AbstractMultiSetTest} for exercising the * Extension of {@link AbstractMultiSetTest} for exercising the
* {@link SynchronizedMultiSet} implementation. * {@link SynchronizedMultiSet} implementation.
* *
* @since 4.1
*/ */
public class SynchronizedMultiSetTest<T> extends AbstractMultiSetTest<T> { public class SynchronizedMultiSetTest<T> extends AbstractMultiSetTest<T> {

View File

@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractMultiSetTest} for exercising the * Extension of {@link AbstractMultiSetTest} for exercising the
* {@link UnmodifiableMultiSet} implementation. * {@link UnmodifiableMultiSet} implementation.
* *
* @since 4.1
*/ */
public class UnmodifiableMultiSetTest<E> extends AbstractMultiSetTest<E> { public class UnmodifiableMultiSetTest<E> extends AbstractMultiSetTest<E> {

View File

@ -45,7 +45,6 @@ import org.junit.jupiter.api.Test;
* test case (method) your {@link Queue} fails or override one of the * test case (method) your {@link Queue} fails or override one of the
* protected methods from AbstractCollectionTest. * protected methods from AbstractCollectionTest.
* *
* @since 4.0
*/ */
public abstract class AbstractQueueTest<E> extends AbstractCollectionTest<E> { public abstract class AbstractQueueTest<E> extends AbstractCollectionTest<E> {

View File

@ -37,7 +37,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Test cases for CircularFifoQueue. * Test cases for CircularFifoQueue.
* *
* @since 4.0
*/ */
public class CircularFifoQueueTest<E> extends AbstractQueueTest<E> { public class CircularFifoQueueTest<E> extends AbstractQueueTest<E> {

View File

@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link PredicatedCollectionTest} for exercising the * Extension of {@link PredicatedCollectionTest} for exercising the
* {@link PredicatedQueue} implementation. * {@link PredicatedQueue} implementation.
* *
* @since 4.0
*/ */
public class PredicatedQueueTest<E> extends AbstractQueueTest<E> { public class PredicatedQueueTest<E> extends AbstractQueueTest<E> {

View File

@ -26,7 +26,6 @@ import org.junit.jupiter.api.Test;
/** /**
* Extension of {@link AbstractQueueTest} for exercising the {@link SynchronizedQueue} implementation. * Extension of {@link AbstractQueueTest} for exercising the {@link SynchronizedQueue} implementation.
* *
* @since 4.2
*/ */
public class SynchronizedQueueTest<T> extends AbstractQueueTest<T> { public class SynchronizedQueueTest<T> extends AbstractQueueTest<T> {

View File

@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractCollectionTest} for exercising the * Extension of {@link AbstractCollectionTest} for exercising the
* {@link TransformedQueue} implementation. * {@link TransformedQueue} implementation.
* *
* @since 4.0
*/ */
public class TransformedQueueTest<E> extends AbstractQueueTest<E> { public class TransformedQueueTest<E> extends AbstractQueueTest<E> {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractCollectionTest} for exercising the * Extension of {@link AbstractCollectionTest} for exercising the
* {@link UnmodifiableQueue} implementation. * {@link UnmodifiableQueue} implementation.
* *
* @since 4.0
*/ */
public class UnmodifiableQueueTest<E> extends AbstractQueueTest<E> { public class UnmodifiableQueueTest<E> extends AbstractQueueTest<E> {

View File

@ -32,7 +32,6 @@ import org.apache.commons.collections4.BulkTest;
* set is not modifiable, or if your set restricts what kinds of * set is not modifiable, or if your set restricts what kinds of
* elements may be added; see {@link AbstractSetTest} for more details. * elements may be added; see {@link AbstractSetTest} for more details.
* *
* @since 4.1
*/ */
public abstract class AbstractNavigableSetTest<E> extends AbstractSortedSetTest<E> { public abstract class AbstractNavigableSetTest<E> extends AbstractSortedSetTest<E> {

View File

@ -42,7 +42,6 @@ import org.junit.jupiter.api.Test;
* set is not modifiable, or if your set restricts what kinds of * set is not modifiable, or if your set restricts what kinds of
* elements may be added; see {@link AbstractCollectionTest} for more details. * elements may be added; see {@link AbstractCollectionTest} for more details.
* *
* @since 3.0
*/ */
public abstract class AbstractSetTest<E> extends AbstractCollectionTest<E> { public abstract class AbstractSetTest<E> extends AbstractCollectionTest<E> {

View File

@ -32,7 +32,6 @@ import org.apache.commons.collections4.BulkTest;
* set is not modifiable, or if your set restricts what kinds of * set is not modifiable, or if your set restricts what kinds of
* elements may be added; see {@link AbstractSetTest} for more details. * elements may be added; see {@link AbstractSetTest} for more details.
* *
* @since 3.0
*/ */
public abstract class AbstractSortedSetTest<E> extends AbstractSetTest<E> { public abstract class AbstractSortedSetTest<E> extends AbstractSetTest<E> {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSetTest} for exercising the * Extension of {@link AbstractSetTest} for exercising the
* {@link CompositeSet} implementation. * {@link CompositeSet} implementation.
* *
* @since 3.0
*/ */
public class CompositeSetTest<E> extends AbstractSetTest<E> { public class CompositeSetTest<E> extends AbstractSetTest<E> {

View File

@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSetTest} for exercising the {@link ListOrderedSet} * Extension of {@link AbstractSetTest} for exercising the {@link ListOrderedSet}
* implementation. * implementation.
* *
* @since 3.1
*/ */
public class ListOrderedSet2Test<E> extends AbstractSetTest<E> { public class ListOrderedSet2Test<E> extends AbstractSetTest<E> {

View File

@ -36,7 +36,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSetTest} for exercising the * Extension of {@link AbstractSetTest} for exercising the
* {@link ListOrderedSet} implementation. * {@link ListOrderedSet} implementation.
* *
* @since 3.0
*/ */
public class ListOrderedSetTest<E> public class ListOrderedSetTest<E>
extends AbstractSetTest<E> { extends AbstractSetTest<E> {

View File

@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test;
/** /**
* JUnit test. * JUnit test.
* *
* @since 3.1
*/ */
public class MapBackedSet2Test<E> extends AbstractSetTest<E> { public class MapBackedSet2Test<E> extends AbstractSetTest<E> {

View File

@ -23,7 +23,6 @@ import org.apache.commons.collections4.map.HashedMap;
/** /**
* JUnit test. * JUnit test.
* *
* @since 3.1
*/ */
public class MapBackedSetTest<E> extends AbstractSetTest<E> { public class MapBackedSetTest<E> extends AbstractSetTest<E> {

View File

@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractNavigableSetTest} for exercising the * Extension of {@link AbstractNavigableSetTest} for exercising the
* {@link PredicatedNavigableSet} implementation. * {@link PredicatedNavigableSet} implementation.
* *
* @since 4.1
*/ */
public class PredicatedNavigableSetTest<E> extends AbstractNavigableSetTest<E> { public class PredicatedNavigableSetTest<E> extends AbstractNavigableSetTest<E> {

View File

@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSetTest} for exercising the * Extension of {@link AbstractSetTest} for exercising the
* {@link PredicatedSet} implementation. * {@link PredicatedSet} implementation.
* *
* @since 3.0
*/ */
public class PredicatedSetTest<E> extends AbstractSetTest<E> { public class PredicatedSetTest<E> extends AbstractSetTest<E> {

View File

@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSortedSetTest} for exercising the * Extension of {@link AbstractSortedSetTest} for exercising the
* {@link PredicatedSortedSet} implementation. * {@link PredicatedSortedSet} implementation.
* *
* @since 3.0
*/ */
public class PredicatedSortedSetTest<E> extends AbstractSortedSetTest<E> { public class PredicatedSortedSetTest<E> extends AbstractSortedSetTest<E> {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractNavigableSetTest} for exercising the * Extension of {@link AbstractNavigableSetTest} for exercising the
* {@link TransformedNavigableSet} implementation. * {@link TransformedNavigableSet} implementation.
* *
* @since 4.1
*/ */
public class TransformedNavigableSetTest<E> extends AbstractNavigableSetTest<E> { public class TransformedNavigableSetTest<E> extends AbstractNavigableSetTest<E> {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSetTest} for exercising the {@link TransformedSet} * Extension of {@link AbstractSetTest} for exercising the {@link TransformedSet}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class TransformedSetTest<E> extends AbstractSetTest<E> { public class TransformedSetTest<E> extends AbstractSetTest<E> {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSortedSetTest} for exercising the {@link TransformedSortedSet} * Extension of {@link AbstractSortedSetTest} for exercising the {@link TransformedSortedSet}
* implementation. * implementation.
* *
* @since 3.0
*/ */
public class TransformedSortedSetTest<E> extends AbstractSortedSetTest<E> { public class TransformedSortedSetTest<E> extends AbstractSortedSetTest<E> {

View File

@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractNavigableSetTest} for exercising the * Extension of {@link AbstractNavigableSetTest} for exercising the
* {@link UnmodifiableNavigableSet} implementation. * {@link UnmodifiableNavigableSet} implementation.
* *
* @since 4.1
*/ */
public class UnmodifiableNavigableSetTest<E> extends AbstractNavigableSetTest<E> { public class UnmodifiableNavigableSetTest<E> extends AbstractNavigableSetTest<E> {
protected UnmodifiableNavigableSet<E> set; protected UnmodifiableNavigableSet<E> set;

View File

@ -31,7 +31,6 @@ import org.junit.jupiter.api.Test;
* Extension of {@link AbstractSetTest} for exercising the * Extension of {@link AbstractSetTest} for exercising the
* {@link UnmodifiableSet} implementation. * {@link UnmodifiableSet} implementation.
* *
* @since 3.0
*/ */
public class UnmodifiableSetTest<E> extends AbstractSetTest<E> { public class UnmodifiableSetTest<E> extends AbstractSetTest<E> {

Some files were not shown because too many files have changed in this diff Show More