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, testRemovemakeObject, supportsEmptyIterator, supportsFullIterator, supportsRemove, testEmptyIterator, testFullIterator, verifygetCanonicalEmptyCollectionName, getCanonicalFullCollectionName, getCompatibilityVersion, isEqualsCheckable, isTestSerialization, readExternalFormFromBytes, readExternalFormFromDisk, skipSerializedCanonicalTests, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testEqualsNull, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSerializeDeserializeThenCompare, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDiskclone, ignoredTests, makeSuite, toStringpublic 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 AbstractTestMapIteratorpublic void testFullMapIterator()
testFullMapIterator in class AbstractTestMapIteratorpublic void testMapIteratorOrder()
Copyright © 2001-2015 Apache Software Foundation. All Rights Reserved.