- main - Variable in class org.apache.commons.collections.map.AbstractTestSortedMap.TestViewMap
-
- makeBag() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
Return a new, empty bag to used for testing.
- makeCollection() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Return a new, empty Collection
to be used for testing.
- makeCollection() - Method in class org.apache.commons.collections.list.AbstractTestList
-
- makeCollection() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapValues
-
- makeCollection() - Method in class org.apache.commons.collections.set.AbstractTestSet
-
- makeComparator() - Method in class org.apache.commons.collections.comparators.AbstractTestComparator
-
Implement this method to return the comparator to test.
- makeConfirmedCollection() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Returns a confirmed empty collection.
- makeConfirmedCollection() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Returns an empty ArrayList
.
- makeConfirmedCollection() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapValues
-
- makeConfirmedCollection() - Method in class org.apache.commons.collections.set.AbstractTestSet
-
Returns an empty Set for use in modification testing.
- makeConfirmedCollection() - Method in class org.apache.commons.collections.set.AbstractTestSortedSet
-
Returns an empty TreeSet
for use in modification testing.
- makeConfirmedFullCollection() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Returns a confirmed full collection.
- makeConfirmedFullCollection() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Returns a full ArrayList
.
- makeConfirmedFullCollection() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapValues
-
- makeConfirmedFullCollection() - Method in class org.apache.commons.collections.set.AbstractTestSet
-
Returns a full Set for use in modification testing.
- makeConfirmedMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- makeConfirmedMap() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Override to return a map other than HashMap as the confirmed map.
- makeConfirmedMap() - Method in class org.apache.commons.collections.map.AbstractTestOrderedMap
-
OrderedMap uses TreeMap as its known comparison.
- makeConfirmedMap() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap
-
SortedMap uses TreeMap as its known comparison.
- makeEmptyBidiMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
Implement to create an empty BidiMap
.
- makeEmptyBidiMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap.TestInverseBidiMap
-
- makeEmptyIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestIterator
-
Implement this method to return an iterator over an empty collection.
- makeEmptyIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
Implements the abstract superclass method to return the list iterator.
- makeEmptyIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
Implements the abstract superclass method to return the list iterator.
- makeEmptyList() - Method in class org.apache.commons.collections.list.AbstractTestList.BulkTestSubList
-
- makeEmptyList() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Return a new, empty List
to be used for testing.
- makeEmptyListIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
Implement this method to return a list iterator over an empty collection.
- makeEmptyListIterator() - Method in class org.apache.commons.collections.list.AbstractTestList.TestListIterator
-
- makeEmptyMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
Override to return the empty BidiMap.
- makeEmptyMap() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Return a new, empty Map
to be used for testing.
- makeEmptyMap() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestHeadMap
-
- makeEmptyMap() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestSubMap
-
- makeEmptyMap() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestTailMap
-
- makeEmptyMapIterator() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap.TestBidiMapIterator
-
- makeEmptyMapIterator() - Method in class org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap.TestBidiOrderedMapIterator
-
- makeEmptyMapIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
Implement this method to return a map iterator over an empty map.
- makeEmptyMapIterator() - Method in class org.apache.commons.collections.map.AbstractTestIterableMap.InnerTestMapIterator
-
- makeEmptyMapIterator() - Method in class org.apache.commons.collections.map.AbstractTestOrderedMap.InnerTestOrderedMapIterator
-
- makeEmptyOrderedMapIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestOrderedMapIterator
-
- makeEmptySet() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapEntrySet
-
- makeEmptySet() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapKeySet
-
- makeEmptySet() - Method in class org.apache.commons.collections.set.AbstractTestSet
-
Makes an empty set.
- makeEmptySet() - Method in class org.apache.commons.collections.set.AbstractTestSortedSet.TestSortedSetSubSet
-
- makeFullBidiMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
Override to create a full BidiMap
other than the default.
- makeFullBidiMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap.TestInverseBidiMap
-
- makeFullCollection() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Returns a full collection to be used for testing.
- makeFullCollection() - Method in class org.apache.commons.collections.list.AbstractTestList
-
- makeFullCollection() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapValues
-
- makeFullCollection() - Method in class org.apache.commons.collections.set.AbstractTestSet
-
- makeFullIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestIterator
-
Implement this method to return an iterator over a collection with elements.
- makeFullIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
Implements the abstract superclass method to return the list iterator.
- makeFullIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
Implements the abstract superclass method to return the list iterator.
- makeFullList() - Method in class org.apache.commons.collections.list.AbstractTestList.BulkTestSubList
-
- makeFullList() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Return a new, full List
to be used for testing.
- makeFullListIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
Implement this method to return a list iterator over a collection with elements.
- makeFullListIterator() - Method in class org.apache.commons.collections.list.AbstractTestList.TestListIterator
-
- makeFullMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap.TestInverseBidiMap
-
- makeFullMap() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Return a new, populated map.
- makeFullMap() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestHeadMap
-
- makeFullMap() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestSubMap
-
- makeFullMap() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestTailMap
-
- makeFullMapIterator() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap.TestBidiMapIterator
-
- makeFullMapIterator() - Method in class org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap.TestBidiOrderedMapIterator
-
- makeFullMapIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
Implement this method to return a map iterator over a map with elements.
- makeFullMapIterator() - Method in class org.apache.commons.collections.map.AbstractTestIterableMap.InnerTestMapIterator
-
- makeFullMapIterator() - Method in class org.apache.commons.collections.map.AbstractTestOrderedMap.InnerTestOrderedMapIterator
-
- makeFullOrderedMapIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestOrderedMapIterator
-
- makeFullSet() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapEntrySet
-
- makeFullSet() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapKeySet
-
- makeFullSet() - Method in class org.apache.commons.collections.set.AbstractTestSet
-
- makeFullSet() - Method in class org.apache.commons.collections.set.AbstractTestSortedSet.TestSortedSetSubSet
-
- makeKnownMapEntry() - Method in class org.apache.commons.collections.keyvalue.AbstractTestMapEntry
-
Makes a Map.Entry of a type that's known to work correctly.
- makeKnownMapEntry(Object, Object) - Method in class org.apache.commons.collections.keyvalue.AbstractTestMapEntry
-
Makes a Map.Entry of a type that's known to work correctly.
- makeMapEntry() - Method in class org.apache.commons.collections.keyvalue.AbstractTestMapEntry
-
Make an instance of Map.Entry with the default (null) key and value.
- makeMapEntry(Object, Object) - Method in class org.apache.commons.collections.keyvalue.AbstractTestMapEntry
-
Make an instance of Map.Entry with the specified key and value.
- makeObject() - Method in class org.apache.commons.collections.AbstractTestObject
-
Implement this method to return the object to test.
- makeObject() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
Implements the superclass method to return the Bag.
- makeObject() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Returns an empty collection for Object tests.
- makeObject() - Method in class org.apache.commons.collections.comparators.AbstractTestComparator
-
Implements the abstract superclass method to return the comparator.
- makeObject() - Method in class org.apache.commons.collections.iterators.AbstractTestIterator
-
Implements the abstract superclass method to return the full iterator.
- makeObject() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Implements the superclass method to return the map to be tested.
- makeSuite(Class) - Static method in class org.apache.commons.collections.BulkTest
-
Returns a TestSuite
for testing all of the simple tests
and all the bulk tests defined by the given class.
- map - Variable in class org.apache.commons.collections.map.AbstractTestMap
-
Map created by reset().
- tearDown() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Erases any leftover instance variables by setting them to null.
- testAccessorsAndMutators() - Method in class org.apache.commons.collections.keyvalue.AbstractTestMapEntry
-
- testAdd() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
Test add behaviour.
- testAddThenRemove() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
Test remove after add behaviour.
- testAddThenSet() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
- testBagAdd() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testBagEqualsSelf() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testBidiClear() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiClearByHeadMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiClearBySubMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiClearByTailMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiGetKey() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiGetKeyInverse() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiHeadMapContains() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiInverse() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiKeySetValuesOrder() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiMapIteratorSet() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiModifyEntrySet() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiPut() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiRemove() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiRemoveByEntrySet() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiRemoveByHeadMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiRemoveByHeadMapEntrySet() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiRemoveByKeySet() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap
-
- testBidiRemoveBySubMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiRemoveBySubMapEntrySet() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiRemoveByTailMap() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiRemoveByTailMapEntrySet() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiSubMapContains() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testBidiTailMapContains() - Method in class org.apache.commons.collections.bidimap.AbstractTestSortedBidiMap
-
- testCanonicalEmptyCollectionExists() - Method in class org.apache.commons.collections.AbstractTestObject
-
Tests serialization by comparing against a previously stored version in CVS.
- testCanonicalFullCollectionExists() - Method in class org.apache.commons.collections.AbstractTestObject
-
Tests serialization by comparing against a previously stored version in CVS.
- testCollectionAdd() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.add(Object)
.
- testCollectionAddAll() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.addAll(Collection)
.
- testCollectionClear() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Test Collection.clear()
.
- testCollectionContains() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.contains(Object)
.
- testCollectionContainsAll() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.containsAll(Collection)
.
- testCollectionIsEmpty() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.isEmpty()
.
- testCollectionIterator() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests the read-only functionality of Collection.iterator()
.
- testCollectionIteratorFailFast() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests that the collection's iterator is fail-fast.
- testCollectionIteratorRemove() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests removals from Collection.iterator()
.
- testCollectionRemove() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.remove(Object)
.
- testCollectionRemoveAll() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.removeAll(Collection)
.
- testCollectionRetainAll() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.retainAll(Collection)
.
- testCollectionSize() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.size()
.
- testCollectionToArray() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.toArray()
.
- testCollectionToArray2() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests Collection.toArray(Object[])
.
- testCollectionToString() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
Tests toString
on a collection.
- testComparator() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap
-
- testComparatorCompatibility() - Method in class org.apache.commons.collections.comparators.AbstractTestComparator
-
Compare the current serialized form of the Comparator
against the canonical version in CVS.
- testComparatorIsSerializable() - Method in class org.apache.commons.collections.comparators.AbstractTestComparator
-
Nearly all Comparators should be Serializable.
- testConstructors() - Method in class org.apache.commons.collections.keyvalue.AbstractTestMapEntry
-
Subclasses should provide tests for their constructors.
- testContains() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testContainsAll() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testEmptyBagCompatibility() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
Compare the current serialized form of the Bag
against the canonical version in CVS.
- testEmptyBagSerialization() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testEmptyIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestIterator
-
Test the empty iterator.
- testEmptyListCompatibility() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Compare the current serialized form of the List
against the canonical version in CVS.
- testEmptyListIteratorIsIndeedEmpty() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
Test that the empty list iterator contract is correct.
- testEmptyListSerialization() - Method in class org.apache.commons.collections.list.AbstractTestList
-
- testEmptyListSort() - Method in class org.apache.commons.collections.comparators.AbstractTestComparator
-
Test sorting an empty list
- testEmptyMapCompatibility() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Compare the current serialized form of the Map
against the canonical version in CVS.
- testEmptyMapIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
Test that the empty list iterator contract is correct.
- testEmptyMapIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestOrderedMapIterator
-
Test that the empty list iterator contract is correct.
- testEntrySetClearChangesMap() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests that the Map.entrySet()
collection is backed by
the underlying map for clear().
- testEntrySetContains1() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
- testEntrySetContains2() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
- testEntrySetContains3() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
- testEntrySetRemove1() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
- testEntrySetRemove2() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
- testEntrySetRemove3() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
- testEquals() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testEqualsAndHashCode() - Method in class org.apache.commons.collections.keyvalue.AbstractTestMapEntry
-
- testEqualsHashBag() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testEqualsNull() - Method in class org.apache.commons.collections.AbstractTestObject
-
- testFailFastEntrySet() - Method in class org.apache.commons.collections.map.AbstractTestIterableMap
-
- testFailFastKeySet() - Method in class org.apache.commons.collections.map.AbstractTestIterableMap
-
- testFailFastValues() - Method in class org.apache.commons.collections.map.AbstractTestIterableMap
-
- testFirstKey() - Method in class org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap
-
- testFirstKey() - Method in class org.apache.commons.collections.map.AbstractTestOrderedMap
-
- testFirstKey() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap
-
- testFullBagCompatibility() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
Compare the current serialized form of the Bag
against the canonical version in CVS.
- testFullBagSerialization() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testFullIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestIterator
-
Test normal iteration behaviour.
- testFullListCompatibility() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Compare the current serialized form of the List
against the canonical version in CVS.
- testFullListSerialization() - Method in class org.apache.commons.collections.list.AbstractTestList
-
- testFullMapCompatibility() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Compare the current serialized form of the Map
against the canonical version in CVS.
- testFullMapIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
Test that the full list iterator contract is correct.
- testFullMapIterator() - Method in class org.apache.commons.collections.iterators.AbstractTestOrderedMapIterator
-
Test that the full list iterator contract is correct.
- testHashCode() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testHeadMapOutOfRange() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestHeadMap
-
- testIterator() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testIteratorFail() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testIteratorFailDoubleRemove() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testIteratorFailNoMore() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testIteratorRemoveProtectsInvariants() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testKeySetClearChangesMap() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests that the Map.keySet()
collection is backed by
the underlying map for clear().
- testKeySetRemoveChangesMap() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests that the Map.keySet()
set is backed by
the underlying map by removing from the keySet set
and testing if the key was removed from the map.
- testLastKey() - Method in class org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap
-
- testLastKey() - Method in class org.apache.commons.collections.map.AbstractTestOrderedMap
-
- testLastKey() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap
-
- testListAddByIndex() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests List.add(int,Object)
.
- testListAddByIndexBoundsChecking() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests bounds checking for List.add(int, Object)
on an
empty list.
- testListAddByIndexBoundsChecking2() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests bounds checking for List.add(int, Object)
on a
full list.
- testListEquals() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests List.equals(Object)
.
- testListGetByIndex() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests List.get(int)
.
- testListGetByIndexBoundsChecking() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests bounds checking for List.get(int)
on an
empty list.
- testListGetByIndexBoundsChecking2() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests bounds checking for List.get(int)
on a
full list.
- testListHashCode() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests List.hashCode()
.
- testListIndexOf() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests List.indexOf(java.lang.Object)
.
- testListIteratorAdd() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests the ListIterator.add(Object)
method of the list
iterator.
- testListIteratorSet() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests the ListIterator.set(Object)
method of the list
iterator.
- testListLastIndexOf() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests List.lastIndexOf(java.lang.Object)
.
- testListListIterator() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests the read-only bits of List.listIterator()
.
- testListListIteratorByIndex() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests the read-only bits of List.listIterator(int)
.
- testListListIteratorNextRemoveNext() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests remove on list iterator is correct.
- testListListIteratorNextRemovePrevious() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests remove on list iterator is correct.
- testListListIteratorPreviousRemoveNext() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests remove on list iterator is correct.
- testListListIteratorPreviousRemovePrevious() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests remove on list iterator is correct.
- testListRemoveByIndex() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests List.remove(int)
.
- testListRemoveByIndexBoundsChecking() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests bounds checking for List.remove(int)
on an
empty list.
- testListRemoveByIndexBoundsChecking2() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests bounds checking for List.remove(int)
on a
full list.
- testListSetByIndex() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Test List.set(int,Object)
.
- testListSetByIndexBoundsChecking() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests bounds checking for List.set(int,Object)
on an
empty list.
- testListSetByIndexBoundsChecking2() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests bounds checking for List.set(int,Object)
on a
full list.
- testListSubListFailFastOnAdd() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests that a sublist raises a ConcurrentModificationException
if elements are added to the original list.
- testListSubListFailFastOnRemove() - Method in class org.apache.commons.collections.list.AbstractTestList
-
Tests that a sublist raises a ConcurrentModificationException
if elements are removed from the original list.
- testMakeMap() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Test to ensure that makeEmptyMap and makeFull returns a new non-null
map with each invocation.
- testMapClear() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.clear()
.
- testMapContainsKey() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.containsKey(Object) by verifying it returns false for all
sample keys on a map created using an empty map and returns true for
all sample keys returned on a full map.
- testMapContainsValue() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.containsValue(Object) by verifying it returns false for all
sample values on an empty map and returns true for all sample values on
a full map.
- testMapEntrySetIteratorEntry() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapEntrySet
-
- testMapEntrySetIteratorEntrySetValue() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapEntrySet
-
- testMapEntrySetIteratorEntrySetValueCrossCheck() - Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap.TestBidiMapEntrySet
-
- testMapEntrySetRemoveNonMapEntry() - Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapEntrySet
-
- testMapEquals() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.equals(Object)
- testMapGet() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.get(Object)
- testMapHashCode() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.hashCode()
- testMapIsEmpty() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.isEmpty()
- testMapIteratorOrder() - Method in class org.apache.commons.collections.iterators.AbstractTestOrderedMapIterator
-
Test that the iterator order matches the keySet order.
- testMapIteratorRemoveGetKey() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
- testMapIteratorRemoveGetValue() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
- testMapIteratorSet() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
- testMapIteratorSetRemoveSet() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
- testMapPut() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.put(Object, Object)
- testMapPutAll() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.putAll(map)
- testMapPutNullKey() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.put(null, value)
- testMapPutNullValue() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.put(null, value)
- testMapRemove() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.remove(Object)
- testMapSize() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.size()
- testMapToString() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests Map.toString().
- testNextKey() - Method in class org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap
-
- testNextKey() - Method in class org.apache.commons.collections.map.AbstractTestOrderedMap
-
- testObjectEqualsSelf() - Method in class org.apache.commons.collections.AbstractTestObject
-
- testObjectHashCodeEqualsContract() - Method in class org.apache.commons.collections.AbstractTestObject
-
- testObjectHashCodeEqualsSelfHashCode() - Method in class org.apache.commons.collections.AbstractTestObject
-
- testPreviousKey() - Method in class org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap
-
- testPreviousKey() - Method in class org.apache.commons.collections.map.AbstractTestOrderedMap
-
- testRandomListSort() - Method in class org.apache.commons.collections.comparators.AbstractTestComparator
-
Test sorting a random list.
- testRemove() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testRemove() - Method in class org.apache.commons.collections.iterators.AbstractTestIterator
-
Test remove behaviour.
- testRemove() - Method in class org.apache.commons.collections.iterators.AbstractTestMapIterator
-
- testRemoveAll() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testRemoveThenSet() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
- testRetainAll() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testReverseListSort() - Method in class org.apache.commons.collections.comparators.AbstractTestComparator
-
Test sorting a reversed list.
- testSampleMappings() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Test to ensure the test setup is working properly.
- testSelfReferenceHandling() - Method in class org.apache.commons.collections.keyvalue.AbstractTestMapEntry
-
Subclasses should override this method to test the
desired behaviour of the class with respect to
handling of self-references.
- testSerializeDeserializeThenCompare() - Method in class org.apache.commons.collections.AbstractTestObject
-
- testSerializeDeserializeThenCompare() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
- testSet() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
Test set behaviour.
- testSetEquals() - Method in class org.apache.commons.collections.set.AbstractTestSet
-
Tests Set.equals(Object)
.
- testSetHashCode() - Method in class org.apache.commons.collections.set.AbstractTestSet
-
Tests Set.hashCode()
.
- testSimpleSerialization() - Method in class org.apache.commons.collections.AbstractTestObject
-
Sanity check method, makes sure that any Serializable
class can be serialized and de-serialized in memory,
using the handy makeObject() method
- testSize() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testSubMapOutOfRange() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestSubMap
-
- testTailMapOutOfRange() - Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestTailMap
-
- testToArray() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testToArrayPopulate() - Method in class org.apache.commons.collections.bag.AbstractTestBag
-
- testToString() - Method in class org.apache.commons.collections.keyvalue.AbstractTestMapEntry
-
- testUnsupportedAdd() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
- testUnsupportedRemove() - Method in class org.apache.commons.collections.collection.AbstractTestCollection
-
If isRemoveSupported() returns false, tests to see that remove
operations raise an UnsupportedOperationException.
- testUnsupportedSet() - Method in class org.apache.commons.collections.list.AbstractTestList
-
- testValuesClearChangesMap() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests that the Map.values()
collection is backed by
the underlying map for clear().
- testValuesRemoveChangesMap() - Method in class org.apache.commons.collections.map.AbstractTestMap
-
Tests that the Map.values()
collection is backed by
the underlying map by removing from the values collection
and testing if the value was removed from the map.
- testWalkForwardAndBack() - Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
-
Test navigation through the iterator.
- toString() - Method in class org.apache.commons.collections.BulkTest
-
Returns the display name of this BulkTest
.