public abstract class AbstractTestSortedMap extends AbstractTestMap
SortedMap
methods and contracts.Modifier and Type | Class and Description |
---|---|
static class |
AbstractTestSortedMap.TestHeadMap |
static class |
AbstractTestSortedMap.TestSubMap |
static class |
AbstractTestSortedMap.TestTailMap |
static class |
AbstractTestSortedMap.TestViewMap |
AbstractTestMap.TestMapEntrySet, AbstractTestMap.TestMapKeySet, AbstractTestMap.TestMapValues
confirmed, entrySet, keySet, map, values
COLLECTIONS_MAJOR_VERSION
Constructor and Description |
---|
AbstractTestSortedMap(java.lang.String testName)
JUnit constructor.
|
Modifier and Type | Method and Description |
---|---|
BulkTest |
bulkTestHeadMap() |
BulkTest |
bulkTestSubMap() |
BulkTest |
bulkTestTailMap() |
boolean |
isAllowNullKey()
Can't sort null keys.
|
java.util.Map |
makeConfirmedMap()
SortedMap uses TreeMap as its known comparison.
|
void |
testComparator() |
void |
testFirstKey() |
void |
testLastKey() |
addSampleMappings, bulkTestMapEntrySet, bulkTestMapKeySet, bulkTestMapValues, cloneMapEntry, getCompatibilityVersion, getNewSampleValues, getOtherKeys, getOtherNonNullStringElements, getOtherValues, getSampleKeys, getSampleValues, isAllowDuplicateValues, 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
public AbstractTestSortedMap(java.lang.String testName)
testName
- the test namepublic boolean isAllowNullKey()
isAllowNullKey
in class AbstractTestMap
public java.util.Map makeConfirmedMap()
makeConfirmedMap
in class AbstractTestMap
public void testComparator()
public void testFirstKey()
public void testLastKey()
public BulkTest bulkTestHeadMap()
public BulkTest bulkTestTailMap()
public BulkTest bulkTestSubMap()
Copyright © 2001-2015 Apache Software Foundation. All Rights Reserved.