java.lang.Cloneable
, junit.framework.Test
public static class AbstractTestSortedMap.TestTailMap extends AbstractTestSortedMap.TestViewMap
AbstractTestMap.TestMapEntrySet, AbstractTestMap.TestMapKeySet, AbstractTestMap.TestMapValues
AbstractTestSortedMap.TestHeadMap, AbstractTestSortedMap.TestSubMap, AbstractTestSortedMap.TestTailMap, AbstractTestSortedMap.TestViewMap
confirmed, entrySet, keySet, map, values
COLLECTIONS_MAJOR_VERSION
main, subSortedKeys, subSortedNewValues, subSortedValues
Constructor | Description |
---|---|
TestTailMap(AbstractTestMap main) |
Modifier and Type | Method | 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 |
testTailMapOutOfRange() |
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
makeConfirmedMap, testComparator, testFirstKey, testLastKey
bulkTestHeadMap, bulkTestSubMap, bulkTestTailMap, getNewSampleValues, getSampleKeys, getSampleValues, isAllowNullKey, isAllowNullValue, isPutAddSupported, isPutChangeSupported, isRemoveSupported, isTestSerialization, resetEmpty, resetFull, verify
clone, ignoredTests, makeSuite, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 TestTailMap(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 testTailMapOutOfRange()
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-2018 Apache Software Foundation. All Rights Reserved.