public static class AbstractTestSortedMap.TestSubMap extends AbstractTestSortedMap.TestViewMap
AbstractTestSortedMap.TestHeadMap, AbstractTestSortedMap.TestSubMap, AbstractTestSortedMap.TestTailMap, AbstractTestSortedMap.TestViewMap
AbstractTestMap.TestMapEntrySet, AbstractTestMap.TestMapKeySet, AbstractTestMap.TestMapValues
main, subSortedKeys, subSortedNewValues, subSortedValues
confirmed, entrySet, keySet, map, values
COLLECTIONS_MAJOR_VERSION
Constructor and Description |
---|
TestSubMap(AbstractTestMap main) |
Modifier and Type | Method and Description |
---|---|
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 |
testSubMapOutOfRange() |
bulkTestHeadMap, bulkTestSubMap, bulkTestTailMap, getNewSampleValues, getSampleKeys, getSampleValues, isAllowNullKey, isAllowNullValue, isPutAddSupported, isPutChangeSupported, isRemoveSupported, isTestSerialization, resetEmpty, resetFull, verify
makeConfirmedMap, testComparator, testFirstKey, testLastKey
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
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, isEqualsCheckable, 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 TestSubMap(AbstractTestMap main)
public java.util.Map makeEmptyMap()
AbstractTestMap
Map
to be used for testing.makeEmptyMap
in class AbstractTestMap
public java.util.Map makeFullMap()
AbstractTestMap
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.makeFullMap
in class AbstractTestMap
public void testSubMapOutOfRange()
public java.lang.String getCompatibilityVersion()
AbstractTestMap
getCompatibilityVersion
in class AbstractTestMap
null
if this object shouldn't be
tested for compatibility with previous versions.Copyright © 2001-2016 Apache Software Foundation. All Rights Reserved.