org.apache.commons.collections.map
Class AbstractTestSortedMap.TestHeadMap

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.collections.BulkTest
              extended byorg.apache.commons.collections.AbstractTestObject
                  extended byorg.apache.commons.collections.map.AbstractTestMap
                      extended byorg.apache.commons.collections.map.AbstractTestSortedMap
                          extended byorg.apache.commons.collections.map.AbstractTestSortedMap.TestViewMap
                              extended byorg.apache.commons.collections.map.AbstractTestSortedMap.TestHeadMap
All Implemented Interfaces:
java.lang.Cloneable, junit.framework.Test
Enclosing class:
AbstractTestSortedMap

public static class AbstractTestSortedMap.TestHeadMap
extends AbstractTestSortedMap.TestViewMap


Nested Class Summary
 
Nested classes inherited from class org.apache.commons.collections.map.AbstractTestSortedMap
AbstractTestSortedMap.TestHeadMap, AbstractTestSortedMap.TestSubMap, AbstractTestSortedMap.TestTailMap, AbstractTestSortedMap.TestViewMap
 
Nested classes inherited from class org.apache.commons.collections.map.AbstractTestMap
AbstractTestMap.TestMapEntrySet, AbstractTestMap.TestMapKeySet, AbstractTestMap.TestMapValues
 
Field Summary
 
Fields inherited from class org.apache.commons.collections.map.AbstractTestSortedMap.TestViewMap
main, subSortedKeys, subSortedNewValues, subSortedValues
 
Fields inherited from class org.apache.commons.collections.map.AbstractTestMap
confirmed, entrySet, keySet, map, values
 
Fields inherited from class org.apache.commons.collections.AbstractTestObject
COLLECTIONS_MAJOR_VERSION
 
Constructor Summary
AbstractTestSortedMap.TestHeadMap(AbstractTestMap main)
           
 
Method Summary
 java.lang.String getCompatibilityVersion()
          Gets the compatability version, needed for package access.
 java.util.Map makeEmptyMap()
          Return a new, empty Map to be used for testing.
 java.util.Map makeFullMap()
          Return a new, populated map.
 void testHeadMapOutOfRange()
           
 
Methods inherited from class org.apache.commons.collections.map.AbstractTestSortedMap.TestViewMap
bulkTestHeadMap, bulkTestSubMap, bulkTestTailMap, getNewSampleValues, getSampleKeys, getSampleValues, isAllowNullKey, isAllowNullValue, isPutAddSupported, isPutChangeSupported, isRemoveSupported, isTestSerialization, resetEmpty, resetFull, verify
 
Methods inherited from class org.apache.commons.collections.map.AbstractTestSortedMap
makeConfirmedMap, testComparator, testFirstKey, testLastKey
 
Methods inherited from class org.apache.commons.collections.map.AbstractTestMap
addSampleMappings, bulkTestMapEntrySet, bulkTestMapKeySet, bulkTestMapValues, cloneMapEntry, getOtherKeys, getOtherNonNullStringElements, getOtherValues, isAllowDuplicateValues, isGetStructuralModify, isSetValueSupported, isSubMapViewsSerializable, makeObject, tearDown, testEmptyMapCompatibility, testEntrySetClearChangesMap, testEntrySetContains1, testEntrySetContains2, testEntrySetContains3, testEntrySetRemove1, testEntrySetRemove2, testEntrySetRemove3, testFullMapCompatibility, testKeySetClearChangesMap, testKeySetRemoveChangesMap, testMakeMap, testMapClear, testMapContainsKey, testMapContainsValue, testMapEquals, testMapGet, testMapHashCode, testMapIsEmpty, testMapPut, testMapPutAll, testMapPutNullKey, testMapPutNullValue, testMapRemove, testMapSize, testMapToString, testSampleMappings, testValuesClearChangesMap, testValuesRemoveChangesMap, verifyEntrySet, verifyKeySet, verifyMap, verifyValues
 
Methods inherited from class org.apache.commons.collections.AbstractTestObject
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, isEqualsCheckable, 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
 
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

AbstractTestSortedMap.TestHeadMap

public AbstractTestSortedMap.TestHeadMap(AbstractTestMap main)
Method Detail

makeEmptyMap

public java.util.Map makeEmptyMap()
Description copied from class: AbstractTestMap
Return a new, empty Map to be used for testing.

Specified by:
makeEmptyMap in class AbstractTestMap
Returns:
the map to be tested

makeFullMap

public java.util.Map makeFullMap()
Description copied from class: AbstractTestMap
Return a new, populated map. The mappings in the map should match the keys and values returned from AbstractTestMap.getSampleKeys() and AbstractTestMap.getSampleValues(). The default implementation uses makeEmptyMap() and calls AbstractTestMap.addSampleMappings(java.util.Map) to add all the mappings to the map.

Overrides:
makeFullMap in class AbstractTestMap
Returns:
the map to be tested

testHeadMapOutOfRange

public void testHeadMapOutOfRange()

getCompatibilityVersion

public java.lang.String getCompatibilityVersion()
Description copied from class: AbstractTestMap
Gets the compatability version, needed for package access.

Overrides:
getCompatibilityVersion in class AbstractTestMap


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