java.lang.Cloneable
, junit.framework.Test
public abstract class AbstractTestSortedBidiMap extends AbstractTestOrderedBidiMap
SortedBidiMap
methods and contracts.AbstractTestBidiMap.TestBidiMapEntrySet, AbstractTestBidiMap.TestBidiMapIterator, AbstractTestBidiMap.TestInverseBidiMap
AbstractTestMap.TestMapEntrySet, AbstractTestMap.TestMapKeySet, AbstractTestMap.TestMapValues
AbstractTestOrderedBidiMap.TestBidiOrderedMapIterator
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List |
sortedKeys |
|
protected java.util.SortedSet |
sortedNewValues |
|
protected java.util.List |
sortedValues |
entries
confirmed, entrySet, keySet, map, values
COLLECTIONS_MAJOR_VERSION
Constructor | Description |
---|---|
AbstractTestSortedBidiMap() |
|
AbstractTestSortedBidiMap(java.lang.String testName) |
Modifier and Type | Method | Description |
---|---|---|
BulkTest |
bulkTestHeadMap() |
|
BulkTest |
bulkTestSubMap() |
|
BulkTest |
bulkTestTailMap() |
|
boolean |
isAllowNullKey() |
Returns true if the maps produced by
AbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
supports null keys. |
boolean |
isAllowNullValue() |
Returns true if the maps produced by
AbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
supports null values. |
java.util.Map |
makeConfirmedMap() |
Override to return a map other than HashMap as the confirmed map.
|
void |
testBidiClearByHeadMap() |
|
void |
testBidiClearBySubMap() |
|
void |
testBidiClearByTailMap() |
|
void |
testBidiHeadMapContains() |
|
void |
testBidiRemoveByHeadMap() |
|
void |
testBidiRemoveByHeadMapEntrySet() |
|
void |
testBidiRemoveBySubMap() |
|
void |
testBidiRemoveBySubMapEntrySet() |
|
void |
testBidiRemoveByTailMap() |
|
void |
testBidiRemoveByTailMapEntrySet() |
|
void |
testBidiSubMapContains() |
|
void |
testBidiTailMapContains() |
bulkTestBidiMapIterator, bulkTestInverseMap, bulkTestMapEntrySet, getCompatibilityVersion, isAllowDuplicateValues, makeEmptyBidiMap, makeEmptyMap, makeFullBidiMap, testBidiClear, testBidiGetKey, testBidiGetKeyInverse, testBidiInverse, testBidiKeySetValuesOrder, testBidiMapIteratorSet, testBidiModifyEntrySet, testBidiPut, testBidiRemove, testBidiRemoveByEntrySet, testBidiRemoveByKeySet, verify, verifyInverse
addSampleMappings, bulkTestMapKeySet, bulkTestMapValues, cloneMapEntry, getNewSampleValues, getOtherKeys, getOtherNonNullStringElements, getOtherValues, getSampleKeys, getSampleValues, isGetStructuralModify, isPutAddSupported, isPutChangeSupported, isRemoveSupported, isSetValueSupported, isSubMapViewsSerializable, 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, verifyEntrySet, verifyKeySet, verifyMap, verifyValues
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, isEqualsCheckable, isTestSerialization, readExternalFormFromBytes, readExternalFormFromDisk, skipSerializedCanonicalTests, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testEqualsNull, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSerializeDeserializeThenCompare, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDisk
bulkTestOrderedMapIterator, testFirstKey, testLastKey, testNextKey, testPreviousKey
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
protected java.util.List sortedKeys
protected java.util.List sortedValues
protected java.util.SortedSet sortedNewValues
public AbstractTestSortedBidiMap(java.lang.String testName)
public AbstractTestSortedBidiMap()
public boolean isAllowNullKey()
AbstractTestMap
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
supports null keys.
Default implementation returns true. Override if your collection class does not support null keys.
isAllowNullKey
in class AbstractTestMap
public boolean isAllowNullValue()
AbstractTestMap
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
supports null values.
Default implementation returns true. Override if your collection class does not support null values.
isAllowNullValue
in class AbstractTestMap
public java.util.Map makeConfirmedMap()
AbstractTestMap
makeConfirmedMap
in class AbstractTestMap
public void testBidiHeadMapContains()
public void testBidiClearByHeadMap()
public void testBidiRemoveByHeadMap()
public void testBidiRemoveByHeadMapEntrySet()
public void testBidiTailMapContains()
public void testBidiClearByTailMap()
public void testBidiRemoveByTailMap()
public void testBidiRemoveByTailMapEntrySet()
public void testBidiSubMapContains()
public void testBidiClearBySubMap()
public void testBidiRemoveBySubMap()
public void testBidiRemoveBySubMapEntrySet()
public BulkTest bulkTestHeadMap()
public BulkTest bulkTestTailMap()
public BulkTest bulkTestSubMap()
Copyright © 2001-2018 Apache Software Foundation. All Rights Reserved.