org.apache.commons.collections.bidimap
Class AbstractTestOrderedBidiMap.TestBidiOrderedMapIterator

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.collections.BulkTest
              extended by org.apache.commons.collections.AbstractTestObject
                  extended by org.apache.commons.collections.iterators.AbstractTestIterator
                      extended by org.apache.commons.collections.iterators.AbstractTestMapIterator
                          extended by org.apache.commons.collections.bidimap.AbstractTestOrderedBidiMap.TestBidiOrderedMapIterator
All Implemented Interfaces:
java.lang.Cloneable, junit.framework.Test
Enclosing class:
AbstractTestOrderedBidiMap

public class AbstractTestOrderedBidiMap.TestBidiOrderedMapIterator
extends AbstractTestMapIterator


Field Summary
 
Fields inherited from class org.apache.commons.collections.AbstractTestObject
COLLECTIONS_MAJOR_VERSION
 
Constructor Summary
AbstractTestOrderedBidiMap.TestBidiOrderedMapIterator()
           
 
Method Summary
 java.lang.Object[] addSetValues()
          The values to be used in the add and set tests.
 java.util.Map getConfirmedMap()
          Implement this method to return the confirmed map which contains the same data as the iterator.
 java.util.Map getMap()
          Implement this method to return the map which contains the same data as the iterator.
 MapIterator makeEmptyMapIterator()
          Implement this method to return a map iterator over an empty map.
 MapIterator makeFullMapIterator()
          Implement this method to return a map iterator over a map with elements.
 boolean supportsRemove()
          Whether or not we are testing an iterator that supports remove().
 boolean supportsSetValue()
          Whether or not we are testing an iterator that supports setValue().
 void verify()
          Allows subclasses to add complex cross verification
 
Methods inherited from class org.apache.commons.collections.iterators.AbstractTestMapIterator
isGetStructuralModify, makeEmptyIterator, makeFullIterator, testEmptyMapIterator, testFullMapIterator, testMapIteratorRemoveGetKey, testMapIteratorRemoveGetValue, testMapIteratorSet, testMapIteratorSetRemoveSet, testRemove
 
Methods inherited from class org.apache.commons.collections.iterators.AbstractTestIterator
makeObject, supportsEmptyIterator, supportsFullIterator, testEmptyIterator, testFullIterator
 
Methods inherited from class org.apache.commons.collections.AbstractTestObject
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, getCompatibilityVersion, isEqualsCheckable, isTestSerialization, readExternalFormFromBytes, readExternalFormFromDisk, skipSerializedCanonicalTests, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testEqualsNull, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSerializeDeserializeThenCompare, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDisk
 
Methods inherited from class org.apache.commons.collections.BulkTest
clone, ignoredTests, makeSuite, toString
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractTestOrderedBidiMap.TestBidiOrderedMapIterator

public AbstractTestOrderedBidiMap.TestBidiOrderedMapIterator()
Method Detail

addSetValues

public java.lang.Object[] addSetValues()
Description copied from class: AbstractTestMapIterator
The values to be used in the add and set tests. Default is two strings.

Overrides:
addSetValues in class AbstractTestMapIterator

supportsRemove

public boolean supportsRemove()
Description copied from class: AbstractTestIterator
Whether or not we are testing an iterator that supports remove(). Default is true.

Overrides:
supportsRemove in class AbstractTestIterator
Returns:
true if Iterator supports remove

supportsSetValue

public boolean supportsSetValue()
Description copied from class: AbstractTestMapIterator
Whether or not we are testing an iterator that supports setValue(). Default is true.

Overrides:
supportsSetValue in class AbstractTestMapIterator
Returns:
true if Iterator supports set

makeEmptyMapIterator

public MapIterator makeEmptyMapIterator()
Description copied from class: AbstractTestMapIterator
Implement this method to return a map iterator over an empty map.

Specified by:
makeEmptyMapIterator in class AbstractTestMapIterator
Returns:
an empty iterator

makeFullMapIterator

public MapIterator makeFullMapIterator()
Description copied from class: AbstractTestMapIterator
Implement this method to return a map iterator over a map with elements.

Specified by:
makeFullMapIterator in class AbstractTestMapIterator
Returns:
a full iterator

getMap

public java.util.Map getMap()
Description copied from class: AbstractTestMapIterator
Implement this method to return the map which contains the same data as the iterator.

Specified by:
getMap in class AbstractTestMapIterator
Returns:
a full map which can be updated

getConfirmedMap

public java.util.Map getConfirmedMap()
Description copied from class: AbstractTestMapIterator
Implement this method to return the confirmed map which contains the same data as the iterator.

Specified by:
getConfirmedMap in class AbstractTestMapIterator
Returns:
a full map which can be updated

verify

public void verify()
Description copied from class: AbstractTestIterator
Allows subclasses to add complex cross verification

Overrides:
verify in class AbstractTestIterator


Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.