Normalize end of comments
This commit is contained in:
parent
190815d4e1
commit
47c5862fb0
|
@ -97,7 +97,6 @@ public final class ArrayCountingBloomFilter implements CountingBloomFilter {
|
||||||
* Constructs an empty counting Bloom filter with the specified shape.
|
* Constructs an empty counting Bloom filter with the specified shape.
|
||||||
*
|
*
|
||||||
* @param shape the shape of the filter
|
* @param shape the shape of the filter
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public ArrayCountingBloomFilter(final Shape shape) {
|
public ArrayCountingBloomFilter(final Shape shape) {
|
||||||
Objects.requireNonNull(shape, "shape");
|
Objects.requireNonNull(shape, "shape");
|
||||||
|
|
|
@ -184,7 +184,6 @@ public class NodeCachingLinkedList<E> extends AbstractLinkedList<E> implements S
|
||||||
/**
|
/**
|
||||||
* Removes all the nodes from the list, storing as many as required in the
|
* Removes all the nodes from the list, storing as many as required in the
|
||||||
* cache for reuse.
|
* cache for reuse.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void removeAllNodes() {
|
protected void removeAllNodes() {
|
||||||
|
|
|
@ -37,7 +37,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the ClosureUtils class.
|
* Tests the ClosureUtils class.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class ClosureUtilsTest {
|
public class ClosureUtilsTest {
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the org.apache.commons.collections.FactoryUtils class.
|
* Tests the org.apache.commons.collections.FactoryUtils class.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class FactoryUtilsTest {
|
public class FactoryUtilsTest {
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests for FluentIterable.
|
* Tests for FluentIterable.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class FluentIterableTest {
|
public class FluentIterableTest {
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests for IterableUtils.
|
* Tests for IterableUtils.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class IterableUtilsTest {
|
public class IterableUtilsTest {
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests for MultiMapUtils
|
* Tests for MultiMapUtils
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class MultiMapUtilsTest {
|
public class MultiMapUtilsTest {
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the PredicateUtils class.
|
* Tests the PredicateUtils class.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("boxing")
|
@SuppressWarnings("boxing")
|
||||||
public class PredicateUtilsTest extends AbstractPredicateTest {
|
public class PredicateUtilsTest extends AbstractPredicateTest {
|
||||||
|
|
|
@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests for {@link TransformedSplitMap}
|
* Tests for {@link TransformedSplitMap}
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("boxing")
|
@SuppressWarnings("boxing")
|
||||||
public class SplitMapUtilsTest {
|
public class SplitMapUtilsTest {
|
||||||
|
|
|
@ -42,7 +42,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the TransformerUtils class.
|
* Tests the TransformerUtils class.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformerUtilsTest {
|
public class TransformerUtilsTest {
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@ import org.apache.commons.collections4.SortedBag;
|
||||||
* Abstract test class for
|
* Abstract test class for
|
||||||
* {@link org.apache.commons.collections4.SortedBag SortedBag}
|
* {@link org.apache.commons.collections4.SortedBag SortedBag}
|
||||||
* methods and contracts.
|
* methods and contracts.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractSortedBagTest<T> extends AbstractBagTest<T> {
|
public abstract class AbstractSortedBagTest<T> extends AbstractBagTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* <p>
|
* <p>
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class CollectionBagTest<T> extends AbstractCollectionTest<T> {
|
public class CollectionBagTest<T> extends AbstractCollectionTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* <p>
|
* <p>
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class CollectionSortedBagTest<T> extends AbstractCollectionTest<T> {
|
public class CollectionSortedBagTest<T> extends AbstractCollectionTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedBagTest<T> extends AbstractBagTest<T> {
|
public class PredicatedBagTest<T> extends AbstractBagTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedSortedBagTest<T> extends AbstractSortedBagTest<T> {
|
public class PredicatedSortedBagTest<T> extends AbstractSortedBagTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class SynchronizedBagTest<T> extends AbstractBagTest<T> {
|
public class SynchronizedBagTest<T> extends AbstractBagTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedBagTest<T> extends AbstractBagTest<T> {
|
public class TransformedBagTest<T> extends AbstractBagTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedSortedBagTest<T> extends AbstractSortedBagTest<T> {
|
public class TransformedSortedBagTest<T> extends AbstractSortedBagTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableBagTest<E> extends AbstractBagTest<E> {
|
public class UnmodifiableBagTest<E> extends AbstractBagTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableSortedBagTest<E> extends AbstractSortedBagTest<E> {
|
public class UnmodifiableSortedBagTest<E> extends AbstractSortedBagTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,6 @@ public class LayeredBloomFilterTest extends AbstractBloomFilterTest<LayeredBloom
|
||||||
/**
|
/**
|
||||||
* A Consumer that cleans the list based on how long each filters has been in
|
* A Consumer that cleans the list based on how long each filters has been in
|
||||||
* the list.
|
* the list.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
static class CleanByTime implements Consumer<LinkedList<BloomFilter>> {
|
static class CleanByTime implements Consumer<LinkedList<BloomFilter>> {
|
||||||
long elapsedTime;
|
long elapsedTime;
|
||||||
|
|
|
@ -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 CompositeCollection} implementation.
|
* {@link CompositeCollection} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class CompositeCollectionTest<E> extends AbstractCollectionTest<E> {
|
public class CompositeCollectionTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -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 IndexedCollection} implementation.
|
* {@link IndexedCollection} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("boxing")
|
@SuppressWarnings("boxing")
|
||||||
public class IndexedCollectionTest extends AbstractCollectionTest<String> {
|
public class IndexedCollectionTest extends AbstractCollectionTest<String> {
|
||||||
|
|
|
@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the PredicatedCollection.Builder class.
|
* Tests the PredicatedCollection.Builder class.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedCollectionBuilderTest {
|
public class PredicatedCollectionBuilderTest {
|
||||||
|
|
||||||
|
|
|
@ -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 PredicatedCollection} implementation.
|
* {@link PredicatedCollection} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedCollectionTest<E> extends AbstractCollectionTest<E> {
|
public class PredicatedCollectionTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class SynchronizedCollectionTest<E> extends AbstractCollectionTest<E> {
|
public class SynchronizedCollectionTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedCollectionTest extends AbstractCollectionTest<Object> {
|
public class TransformedCollectionTest extends AbstractCollectionTest<Object> {
|
||||||
|
|
||||||
|
|
|
@ -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 UnmodifiableCollection} implementation.
|
* {@link UnmodifiableCollection} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableCollectionTest<E> extends AbstractCollectionTest<E> {
|
public class UnmodifiableCollectionTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractAnyAllOnePredicateTest<T> extends AbstractCompositePredicateTest<T> {
|
public abstract class AbstractAnyAllOnePredicateTest<T> extends AbstractCompositePredicateTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for tests of composite predicates.
|
* Base class for tests of composite predicates.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractCompositePredicateTest<T> extends AbstractMockPredicateTest<T> {
|
public abstract class AbstractCompositePredicateTest<T> extends AbstractMockPredicateTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractMockPredicateTest<T> {
|
public abstract class AbstractMockPredicateTest<T> {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -28,7 +28,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("boxing")
|
@SuppressWarnings("boxing")
|
||||||
public class AllPredicateTest extends AbstractAnyAllOnePredicateTest<Integer> {
|
public class AllPredicateTest extends AbstractAnyAllOnePredicateTest<Integer> {
|
||||||
|
|
|
@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* Concrete subclasses must provide the iterator to be tested.
|
* Concrete subclasses must provide the iterator to be tested.
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractIteratorTest<E> extends AbstractObjectTest {
|
public abstract class AbstractIteratorTest<E> extends AbstractObjectTest {
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* Concrete subclasses must provide the list iterator to be tested.
|
* Concrete subclasses must provide the list iterator to be tested.
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractListIteratorTest<E> extends AbstractIteratorTest<E> {
|
public abstract class AbstractListIteratorTest<E> extends AbstractIteratorTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* Concrete subclasses must provide the list iterator to be tested.
|
* Concrete subclasses must provide the list iterator to be tested.
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractMapIteratorTest<K, V> extends AbstractIteratorTest<K> {
|
public abstract class AbstractMapIteratorTest<K, V> extends AbstractIteratorTest<K> {
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* Concrete subclasses must provide the list iterator to be tested.
|
* Concrete subclasses must provide the list iterator to be tested.
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractOrderedMapIteratorTest<K, V> extends AbstractMapIteratorTest<K, V> {
|
public abstract class AbstractOrderedMapIteratorTest<K, V> extends AbstractMapIteratorTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test class for PermutationIterator.
|
* Test class for PermutationIterator.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PermutationIteratorTest extends AbstractIteratorTest<List<Character>> {
|
public class PermutationIteratorTest extends AbstractIteratorTest<List<Character>> {
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ public final class ObjectToStringComparator implements Comparator<Object>, Seria
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Singleton instance.
|
* Singleton instance.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public static final ObjectToStringComparator INSTANCE = new ObjectToStringComparator();
|
public static final ObjectToStringComparator INSTANCE = new ObjectToStringComparator();
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* a new Map.Entry of the type being tested. Subclasses must also implement
|
* a new Map.Entry of the type being tested. Subclasses must also implement
|
||||||
* {@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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractMapEntryTest<K, V> {
|
public abstract class AbstractMapEntryTest<K, V> {
|
||||||
|
|
||||||
|
@ -93,7 +92,6 @@ public abstract class AbstractMapEntryTest<K, V> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subclasses should provide tests for their constructors.
|
* Subclasses should provide tests for their constructors.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract void testConstructors();
|
public abstract void testConstructors();
|
||||||
|
|
||||||
|
@ -123,7 +121,6 @@ public abstract class AbstractMapEntryTest<K, V> {
|
||||||
* Subclasses should override this method to test the
|
* Subclasses should override this method to test the
|
||||||
* desired behavior of the class with respect to
|
* desired behavior of the class with respect to
|
||||||
* handling of self-references.
|
* handling of self-references.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
@ -29,7 +29,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test the DefaultKeyValue class.
|
* Test the DefaultKeyValue class.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class DefaultKeyValueTest<K, V> {
|
public class DefaultKeyValueTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test the DefaultMapEntry class.
|
* Test the DefaultMapEntry class.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class DefaultMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
public class DefaultMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
||||||
|
|
||||||
|
@ -51,7 +50,6 @@ public class DefaultMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subclasses should override this method.
|
* Subclasses should override this method.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -25,7 +25,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test the TiedMapEntry class.
|
* Test the TiedMapEntry class.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TiedMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
public class TiedMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test the UnmodifiableMapEntry class.
|
* Test the UnmodifiableMapEntry class.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
public class UnmodifiableMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
||||||
|
|
||||||
|
@ -69,7 +68,6 @@ public class UnmodifiableMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subclasses should override this method.
|
* Subclasses should override this method.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -30,7 +30,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class FixedSizeListTest<E> extends AbstractListTest<E> {
|
public class FixedSizeListTest<E> extends AbstractListTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,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}.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class GrowthListTest<E> extends AbstractListTest<E> {
|
public class GrowthListTest<E> extends AbstractListTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedListTest<E> extends AbstractListTest<E> {
|
public class PredicatedListTest<E> extends AbstractListTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JUnit tests.
|
* JUnit tests.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class SetUniqueListTest<E> extends AbstractListTest<E> {
|
public class SetUniqueListTest<E> extends AbstractListTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedListTest<E> extends AbstractListTest<E> {
|
public class TransformedListTest<E> extends AbstractListTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JUnit tests
|
* JUnit tests
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TreeListTest<E> extends AbstractListTest<E> {
|
public class TreeListTest<E> extends AbstractListTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableListTest<E> extends AbstractListTest<E> {
|
public class UnmodifiableListTest<E> extends AbstractListTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -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 CompositeMap} implementation.
|
* {@link CompositeMap} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class CompositeMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
public class CompositeMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class DefaultedMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
public class DefaultedMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class FixedSizeMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
public class FixedSizeMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class FixedSizeSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
public class FixedSizeSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -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 LazyMap} implementation.
|
* {@link LazyMap} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("boxing")
|
@SuppressWarnings("boxing")
|
||||||
public class LazyMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
public class LazyMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
||||||
|
|
|
@ -39,7 +39,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("boxing")
|
@SuppressWarnings("boxing")
|
||||||
public class LazySortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
public class LazySortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
||||||
|
|
|
@ -31,7 +31,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class ListOrderedMap2Test<K, V> extends AbstractOrderedMapTest<K, V> {
|
public class ListOrderedMap2Test<K, V> extends AbstractOrderedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class ListOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
|
public class ListOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TestMultiValueMap.
|
* TestMultiValueMap.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class MultiValueMapTest<K, V> extends AbstractObjectTest {
|
public class MultiValueMapTest<K, V> extends AbstractObjectTest {
|
||||||
|
|
|
@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JUnit tests.
|
* JUnit tests.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PassiveExpiringMapTest<K, V> extends AbstractMapTest<K, V> {
|
public class PassiveExpiringMapTest<K, V> extends AbstractMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -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 PredicatedMap} implementation.
|
* {@link PredicatedMap} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
public class PredicatedMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
public class PredicatedSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
public class TransformedMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
public class TransformedSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
public class UnmodifiableMapTest<K, V> extends AbstractIterableMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
|
public class UnmodifiableOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
public class UnmodifiableSortedMapTest<K, V> extends AbstractSortedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* <p>
|
* <p>
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractMultiValuedMapTest<K, V> extends AbstractObjectTest {
|
public abstract class AbstractMultiValuedMapTest<K, V> extends AbstractObjectTest {
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test ArrayListValuedHashMap
|
* Test ArrayListValuedHashMap
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class ArrayListValuedHashMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {
|
public class ArrayListValuedHashMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test HashSetValuedHashMap
|
* Test HashSetValuedHashMap
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class HashSetValuedHashMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {
|
public class HashSetValuedHashMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests for TransformedMultiValuedMap
|
* Tests for TransformedMultiValuedMap
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedMultiValuedMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {
|
public class TransformedMultiValuedMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests for UnmodifiableMultiValuedMap
|
* Tests for UnmodifiableMultiValuedMap
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableMultiValuedMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {
|
public class UnmodifiableMultiValuedMapTest<K, V> extends AbstractMultiValuedMapTest<K, V> {
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* from AbstractCollectionTest, there are test methods that test the "normal" MultiSet
|
* from AbstractCollectionTest, there are test methods that test the "normal" MultiSet
|
||||||
* 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().
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractMultiSetTest<T> extends AbstractCollectionTest<T> {
|
public abstract class AbstractMultiSetTest<T> extends AbstractCollectionTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class HashMultiSetTest<T> extends AbstractMultiSetTest<T> {
|
public class HashMultiSetTest<T> extends AbstractMultiSetTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedMultiSetTest<T> extends AbstractMultiSetTest<T> {
|
public class PredicatedMultiSetTest<T> extends AbstractMultiSetTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class SynchronizedMultiSetTest<T> extends AbstractMultiSetTest<T> {
|
public class SynchronizedMultiSetTest<T> extends AbstractMultiSetTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableMultiSetTest<E> extends AbstractMultiSetTest<E> {
|
public class UnmodifiableMultiSetTest<E> extends AbstractMultiSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* you may still use this base set of cases. Simply override the
|
* you may still use this base set of cases. Simply override the
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractQueueTest<E> extends AbstractCollectionTest<E> {
|
public abstract class AbstractQueueTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test cases for CircularFifoQueue.
|
* Test cases for CircularFifoQueue.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class CircularFifoQueueTest<E> extends AbstractQueueTest<E> {
|
public class CircularFifoQueueTest<E> extends AbstractQueueTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedQueueTest<E> extends AbstractQueueTest<E> {
|
public class PredicatedQueueTest<E> extends AbstractQueueTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class SynchronizedQueueTest<T> extends AbstractQueueTest<T> {
|
public class SynchronizedQueueTest<T> extends AbstractQueueTest<T> {
|
||||||
|
|
||||||
|
|
|
@ -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 TransformedQueue} implementation.
|
* {@link TransformedQueue} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedQueueTest<E> extends AbstractQueueTest<E> {
|
public class TransformedQueueTest<E> extends AbstractQueueTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -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 UnmodifiableQueue} implementation.
|
* {@link UnmodifiableQueue} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableQueueTest<E> extends AbstractQueueTest<E> {
|
public class UnmodifiableQueueTest<E> extends AbstractQueueTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ import org.apache.commons.collections4.BulkTest;
|
||||||
* method. You may have to override other protected methods if your
|
* method. You may have to override other protected methods if your
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractNavigableSetTest<E> extends AbstractSortedSetTest<E> {
|
public abstract class AbstractNavigableSetTest<E> extends AbstractSortedSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,6 @@ import org.junit.jupiter.api.Test;
|
||||||
* method. You may have to override other protected methods if your
|
* method. You may have to override other protected methods if your
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractSetTest<E> extends AbstractCollectionTest<E> {
|
public abstract class AbstractSetTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ import org.apache.commons.collections4.BulkTest;
|
||||||
* method. You may have to override other protected methods if your
|
* method. You may have to override other protected methods if your
|
||||||
* 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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractSortedSetTest<E> extends AbstractSetTest<E> {
|
public abstract class AbstractSortedSetTest<E> extends AbstractSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class CompositeSetTest<E> extends AbstractSetTest<E> {
|
public class CompositeSetTest<E> extends AbstractSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class ListOrderedSet2Test<E> extends AbstractSetTest<E> {
|
public class ListOrderedSet2Test<E> extends AbstractSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class ListOrderedSetTest<E>
|
public class ListOrderedSetTest<E>
|
||||||
extends AbstractSetTest<E> {
|
extends AbstractSetTest<E> {
|
||||||
|
|
|
@ -27,7 +27,6 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JUnit test.
|
* JUnit test.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class MapBackedSet2Test<E> extends AbstractSetTest<E> {
|
public class MapBackedSet2Test<E> extends AbstractSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@ import org.apache.commons.collections4.map.HashedMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JUnit test.
|
* JUnit test.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class MapBackedSetTest<E> extends AbstractSetTest<E> {
|
public class MapBackedSetTest<E> extends AbstractSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedNavigableSetTest<E> extends AbstractNavigableSetTest<E> {
|
public class PredicatedNavigableSetTest<E> extends AbstractNavigableSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedSetTest<E> extends AbstractSetTest<E> {
|
public class PredicatedSetTest<E> extends AbstractSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class PredicatedSortedSetTest<E> extends AbstractSortedSetTest<E> {
|
public class PredicatedSortedSetTest<E> extends AbstractSortedSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedNavigableSetTest<E> extends AbstractNavigableSetTest<E> {
|
public class TransformedNavigableSetTest<E> extends AbstractNavigableSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedSetTest<E> extends AbstractSetTest<E> {
|
public class TransformedSetTest<E> extends AbstractSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TransformedSortedSetTest<E> extends AbstractSortedSetTest<E> {
|
public class TransformedSortedSetTest<E> extends AbstractSortedSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableNavigableSetTest<E> extends AbstractNavigableSetTest<E> {
|
public class UnmodifiableNavigableSetTest<E> extends AbstractNavigableSetTest<E> {
|
||||||
protected UnmodifiableNavigableSet<E> set;
|
protected UnmodifiableNavigableSet<E> set;
|
||||||
|
|
|
@ -30,7 +30,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.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableSetTest<E> extends AbstractSetTest<E> {
|
public class UnmodifiableSetTest<E> extends AbstractSetTest<E> {
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ import org.junit.jupiter.api.Test;
|
||||||
/**
|
/**
|
||||||
* Extension of {@link AbstractSortedSetTest} for exercising the
|
* Extension of {@link AbstractSortedSetTest} for exercising the
|
||||||
* {@link UnmodifiableSortedSet} implementation.
|
* {@link UnmodifiableSortedSet} implementation.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class UnmodifiableSortedSetTest<E> extends AbstractSortedSetTest<E> {
|
public class UnmodifiableSortedSetTest<E> extends AbstractSortedSetTest<E> {
|
||||||
protected UnmodifiableSortedSet<E> set;
|
protected UnmodifiableSortedSet<E> set;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue