public abstract class AbstractTestOrderedMap extends AbstractTestIterableMap
OrderedMap
methods and contracts.Modifier and Type | Class and Description |
---|---|
class |
AbstractTestOrderedMap.InnerTestOrderedMapIterator |
AbstractTestIterableMap.InnerTestMapIterator
AbstractTestMap.TestMapEntrySet, AbstractTestMap.TestMapKeySet, AbstractTestMap.TestMapValues
confirmed, entrySet, keySet, map, values
COLLECTIONS_MAJOR_VERSION
Constructor and Description |
---|
AbstractTestOrderedMap(java.lang.String testName)
JUnit constructor.
|
Modifier and Type | Method and Description |
---|---|
BulkTest |
bulkTestOrderedMapIterator() |
java.lang.Object[] |
getSampleKeys()
The only confirmed collection we have that is ordered is the sorted one.
|
java.util.Map |
makeConfirmedMap()
OrderedMap uses TreeMap as its known comparison.
|
void |
testFirstKey() |
void |
testLastKey() |
void |
testNextKey() |
void |
testPreviousKey() |
bulkTestMapIterator, testFailFastEntrySet, testFailFastKeySet, testFailFastValues
addSampleMappings, bulkTestMapEntrySet, bulkTestMapKeySet, bulkTestMapValues, cloneMapEntry, getCompatibilityVersion, getNewSampleValues, getOtherKeys, getOtherNonNullStringElements, getOtherValues, getSampleValues, isAllowDuplicateValues, isAllowNullKey, isAllowNullValue, isGetStructuralModify, isPutAddSupported, isPutChangeSupported, isRemoveSupported, isSetValueSupported, isSubMapViewsSerializable, makeEmptyMap, makeFullMap, makeObject, resetEmpty, resetFull, 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, verify, verifyEntrySet, verifyKeySet, verifyMap, verifyValues
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, isEqualsCheckable, isTestSerialization, readExternalFormFromBytes, readExternalFormFromDisk, skipSerializedCanonicalTests, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testEqualsNull, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSerializeDeserializeThenCompare, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDisk
clone, ignoredTests, makeSuite, toString
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp
public AbstractTestOrderedMap(java.lang.String testName)
testName
- the test namepublic java.util.Map makeConfirmedMap()
makeConfirmedMap
in class AbstractTestMap
public java.lang.Object[] getSampleKeys()
getSampleKeys
in class AbstractTestMap
public void testFirstKey()
public void testLastKey()
public void testNextKey()
public void testPreviousKey()
public BulkTest bulkTestOrderedMapIterator()
Copyright © 2001-1969 Apache Software Foundation. All Rights Reserved.