public abstract class AbstractTestOrderedMapIterator extends AbstractTestMapIterator
This class provides a framework for testing an implementation of MapIterator. Concrete subclasses must provide the list iterator to be tested. They must also specify certain details of how the list iterator operates by overriding the supportsXxx() methods if necessary.
COLLECTIONS_MAJOR_VERSION
Constructor and Description |
---|
AbstractTestOrderedMapIterator(java.lang.String testName)
JUnit constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.collections.OrderedMapIterator |
makeEmptyOrderedMapIterator() |
org.apache.commons.collections.OrderedMapIterator |
makeFullOrderedMapIterator() |
void |
testEmptyMapIterator()
Test that the empty list iterator contract is correct.
|
void |
testFullMapIterator()
Test that the full list iterator contract is correct.
|
void |
testMapIteratorOrder()
Test that the iterator order matches the keySet order.
|
addSetValues, getConfirmedMap, getMap, isGetStructuralModify, makeEmptyIterator, makeEmptyMapIterator, makeFullIterator, makeFullMapIterator, supportsSetValue, testMapIteratorRemoveGetKey, testMapIteratorRemoveGetValue, testMapIteratorSet, testMapIteratorSetRemoveSet, testRemove
makeObject, supportsEmptyIterator, supportsFullIterator, supportsRemove, testEmptyIterator, testFullIterator, verify
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, getCompatibilityVersion, isEqualsCheckable, isTestSerialization, readExternalFormFromBytes, readExternalFormFromDisk, skipSerializedCanonicalTests, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testEqualsNull, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSerializeDeserializeThenCompare, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDisk
clone, ignoredTests, makeSuite, toString
public AbstractTestOrderedMapIterator(java.lang.String testName)
testName
- the test class namepublic final org.apache.commons.collections.OrderedMapIterator makeEmptyOrderedMapIterator()
public final org.apache.commons.collections.OrderedMapIterator makeFullOrderedMapIterator()
public void testEmptyMapIterator()
testEmptyMapIterator
in class AbstractTestMapIterator
public void testFullMapIterator()
testFullMapIterator
in class AbstractTestMapIterator
public void testMapIteratorOrder()
Copyright © 2001-2014 Apache Software Foundation. All Rights Reserved.