public class TreeSubMapTest extends JSR166TestCase
JSR166TestCase.AdjustablePolicy, JSR166TestCase.CallableOne, JSR166TestCase.CheckedBarrier, JSR166TestCase.CheckedCallable<T>, JSR166TestCase.CheckedInterruptedCallable<T>, JSR166TestCase.CheckedInterruptedRunnable, JSR166TestCase.CheckedRecursiveAction, JSR166TestCase.CheckedRecursiveTask<T>, JSR166TestCase.CheckedRunnable, JSR166TestCase.LongPossiblyInterruptedRunnable, JSR166TestCase.MediumInterruptedRunnable, JSR166TestCase.MediumPossiblyInterruptedRunnable, JSR166TestCase.MediumRunnable, JSR166TestCase.NoOpCallable, JSR166TestCase.NoOpREHandler, JSR166TestCase.NoOpRunnable, JSR166TestCase.NPETask, JSR166TestCase.RunnableShouldThrow, JSR166TestCase.ShortInterruptedRunnable, JSR166TestCase.ShortRunnable, JSR166TestCase.SimpleThreadFactory, JSR166TestCase.SmallCallable, JSR166TestCase.SmallPossiblyInterruptedRunnable, JSR166TestCase.SmallRunnable, JSR166TestCase.StringTask, JSR166TestCase.ThreadShouldThrow, JSR166TestCase.TrackedCallable, JSR166TestCase.TrackedLongRunnable, JSR166TestCase.TrackedMediumRunnable, JSR166TestCase.TrackedNoOpRunnable, JSR166TestCase.TrackedRunnable, JSR166TestCase.TrackedShortRunnable, JSR166TestCase.TrackedSmallRunnable
eight, expensiveTests, five, four, JAVA_CLASS_VERSION, JAVA_SPECIFICATION_VERSION, LONG_DELAY_MS, m1, m10, m2, m3, m4, m5, m6, MEDIUM_DELAY_MS, nine, one, seven, SHORT_DELAY_MS, six, SIZE, SMALL_DELAY_MS, TEST_STRING, testImplementationDetails, three, two, zero
Constructor and Description |
---|
TreeSubMapTest() |
Modifier and Type | Method and Description |
---|---|
void |
testCeilingEntry()
ceilingEntry returns next entry.
|
void |
testClear()
clear removes all pairs
|
void |
testContainsKey_NullPointerException()
containsKey(null) of nonempty map throws NPE
|
void |
testContainsKey()
containsKey returns true for contained key
|
void |
testContainsValue()
containsValue returns true for held values
|
void |
testDescendingAscendingKeySetToArray()
keySet.toArray returns contains all keys
|
void |
testDescendingCeilingEntry()
ceilingEntry returns next entry.
|
void |
testDescendingClear()
clear removes all pairs
|
void |
testDescendingContainsKey()
containsKey returns true for contained key
|
void |
testDescendingContainsValue()
containsValue returns true for held values
|
void |
testDescendingDescendingKeySetToArray()
descendingkeySet.toArray returns contains all keys
|
void |
testDescendingEntrySet()
entrySet contains all pairs
|
void |
testDescendingEquals()
Maps with same contents are equal
|
void |
testDescendingFirstKey()
firstKey returns first key
|
void |
testDescendingFloorEntry()
floorEntry returns preceding entry.
|
void |
testDescendingGet_NullPointerException()
get(null) of nonempty map throws NPE
|
void |
testDescendingGet()
get returns the correct element at the given key,
or null if not present
|
void |
testDescendingHeadMapContents()
headMap returns map with keys in requested range
|
void |
testDescendingHigherEntry()
higherEntry returns next entry.
|
void |
testDescendingIsEmpty()
isEmpty is true of empty map and false for non-empty
|
void |
testDescendingKeySet()
keySet returns a Set containing all the keys
|
void |
testDescendingKeySetOrder()
keySet is ordered
|
void |
testDescendingLastKey()
lastKey returns last key
|
void |
testDescendingLowerEntry()
lowerEntry returns preceding entry.
|
void |
testDescendingPollFirstEntry()
pollFirstEntry returns entries in order
|
void |
testDescendingPollLastEntry()
pollLastEntry returns entries in order
|
void |
testDescendingPut1_NullPointerException()
put(null,x) throws NPE
|
void |
testDescendingPutAll()
putAll adds all key-value pairs from the given map
|
void |
testDescendingRemove()
remove removes the correct key-value pair from the map
|
void |
testDescendingSerialization()
A deserialized map equals original
|
void |
testDescendingSize()
size returns the correct values
|
void |
testDescendingSubMapContents()
subMap returns map with keys in requested range
|
void |
testDescendingSubMapContents2() |
void |
testDescendingTailMapContents()
headMap returns map with keys in requested range
|
void |
testDescendingToString()
toString contains toString of elements
|
void |
testDescendingValues()
values collection contains all values
|
void |
testDescendingValuesToArray()
Values.toArray contains all values
|
void |
testEntrySet()
entrySet contains all pairs
|
void |
testEquals()
Maps with same contents are equal
|
void |
testFirstKey()
firstKey returns first key
|
void |
testFloorEntry()
floorEntry returns preceding entry.
|
void |
testGet_NullPointerException()
get(null) of nonempty map throws NPE
|
void |
testGet()
get returns the correct element at the given key,
or null if not present
|
void |
testHeadMapContents()
headMap returns map with keys in requested range
|
void |
testHigherEntry()
higherEntry returns next entry.
|
void |
testIsEmpty()
isEmpty is true of empty map and false for non-empty
|
void |
testKeySet()
keySet returns a Set containing all the keys
|
void |
testKeySetOrder()
keySet is ordered
|
void |
testLastKey()
lastKey returns last key
|
void |
testLowerEntry()
lowerEntry returns preceding entry.
|
void |
testPollFirstEntry()
pollFirstEntry returns entries in order
|
void |
testPollLastEntry()
pollLastEntry returns entries in order
|
void |
testPut1_NullPointerException()
put(null,x) throws NPE
|
void |
testPutAll()
putAll adds all key-value pairs from the given map
|
void |
testRemove()
remove removes the correct key-value pair from the map
|
void |
testRemove1_NullPointerException()
remove(null) throws NPE
|
void |
testSerialization()
A deserialized map equals original
|
void |
testSize()
size returns the correct values
|
void |
testSubMapContents()
subMap returns map with keys in requested range
|
void |
testSubMapContents2() |
void |
testTailMapContents()
headMap returns map with keys in requested range
|
void |
testToString()
toString contains toString of elements
|
void |
testValues()
values collection contains all values
|
addNamedTestClasses, assertIteratorExhausted, assertThrows, atLeastJava10, atLeastJava6, atLeastJava7, atLeastJava8, atLeastJava9, await, await, await, awaiter, countDowner, getShortDelay, jdk8ParameterizedTestSuite, latchAwaitingStringTask, newTestSuite, parameterizedTestSuite, permissivePolicy, possiblyInterruptedRunnable, runBare, runTest, runTestProfiled, runWithoutPermissions, runWithPermissions, runWithSecurityManagerWithPermissions, setDelays, setUp, shouldThrow, shouldThrow, tearDown, testMethodNames, threadAssertEquals, threadAssertEquals, threadAssertFalse, threadAssertNull, threadAssertSame, threadAssertTrue, threadFail, threadRecordFailure, threadShouldThrow, threadShouldThrow, threadUnexpectedException, trackedRunnable
public void testClear()
public void testEquals()
public void testContainsKey()
public void testContainsValue()
public void testGet()
public void testIsEmpty()
public void testFirstKey()
public void testLastKey()
public void testKeySet()
public void testKeySetOrder()
public void testValues()
public void testEntrySet()
public void testPutAll()
public void testRemove()
public void testLowerEntry()
public void testHigherEntry()
public void testFloorEntry()
public void testCeilingEntry()
public void testPollFirstEntry()
public void testPollLastEntry()
public void testSize()
public void testToString()
public void testGet_NullPointerException()
public void testContainsKey_NullPointerException()
public void testPut1_NullPointerException()
public void testRemove1_NullPointerException()
public void testSerialization() throws Exception
Exception
public void testSubMapContents()
public void testSubMapContents2()
public void testHeadMapContents()
public void testTailMapContents()
public void testDescendingClear()
public void testDescendingEquals()
public void testDescendingContainsKey()
public void testDescendingContainsValue()
public void testDescendingGet()
public void testDescendingIsEmpty()
public void testDescendingFirstKey()
public void testDescendingLastKey()
public void testDescendingKeySet()
public void testDescendingKeySetOrder()
public void testDescendingValues()
public void testDescendingAscendingKeySetToArray()
public void testDescendingDescendingKeySetToArray()
public void testDescendingValuesToArray()
public void testDescendingEntrySet()
public void testDescendingPutAll()
public void testDescendingRemove()
public void testDescendingLowerEntry()
public void testDescendingHigherEntry()
public void testDescendingFloorEntry()
public void testDescendingCeilingEntry()
public void testDescendingPollFirstEntry()
public void testDescendingPollLastEntry()
public void testDescendingSize()
public void testDescendingToString()
public void testDescendingGet_NullPointerException()
public void testDescendingPut1_NullPointerException()
public void testDescendingSerialization() throws Exception
Exception
public void testDescendingSubMapContents()
public void testDescendingSubMapContents2()
public void testDescendingHeadMapContents()
public void testDescendingTailMapContents()