Class AbstractTestOrderedMapIterator

  • All Implemented Interfaces:
    java.lang.Cloneable, junit.framework.Test
    Direct Known Subclasses:
    AbstractTestOrderedMap.InnerTestOrderedMapIterator

    public abstract class AbstractTestOrderedMapIterator
    extends AbstractTestMapIterator
    Abstract class for testing the OrderedMapIterator interface.

    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 Detail

      • AbstractTestOrderedMapIterator

        public AbstractTestOrderedMapIterator​(java.lang.String testName)
        JUnit constructor.
        Parameters:
        testName - the test class name
    • Method Detail

      • makeEmptyOrderedMapIterator

        public final org.apache.commons.collections.OrderedMapIterator makeEmptyOrderedMapIterator()
      • makeFullOrderedMapIterator

        public final org.apache.commons.collections.OrderedMapIterator makeFullOrderedMapIterator()
      • testMapIteratorOrder

        public void testMapIteratorOrder()
        Test that the iterator order matches the keySet order.