org.apache.commons.collections.iterators
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.
Since: Commons Collections 3.0
Constructor Summary | |
---|---|
AbstractTestOrderedMapIterator(String testName)
JUnit constructor.
|
Method Summary | |
---|---|
OrderedMapIterator | makeEmptyOrderedMapIterator() |
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. |
Parameters: testName the test class name