public class NavigableSetNavigationTester<E> extends AbstractSetTester<E>
A generic JUnit test which tests operations on a NavigableSet. Can’t be invoked directly; please see NavigableSetTestSuiteBuilder.
AbstractContainerTester.ArrayWithDuplicate<E>collectioncontainer, samples| Constructor and Description |
|---|
NavigableSetNavigationTester() |
| Modifier and Type | Method and Description |
|---|---|
static Method[] |
getHoleMethods()
Returns the
Method instances for the test methods in this class that create a set with a “hole” in it so that set tests of ContiguousSet can suppress them with FeatureSpecificTestSuiteBuilder.suppressing(). |
protected void |
resetWithHole()
Resets the contents of navigableSet to have elements a, c, for the navigation tests.
|
void |
setUp() |
void |
testCeiling() |
void |
testCeilingHole() |
void |
testDescendingNavigation() |
void |
testEmptySetNearby() |
void |
testEmptySetPollFirst() |
void |
testEmptySetPollLast() |
void |
testEmptySubSet() |
void |
testFloor() |
void |
testFloorHole() |
void |
testHigher() |
void |
testHigherHole() |
void |
testLower() |
void |
testLowerHole() |
void |
testPollFirst() |
void |
testPollFirstUnsupported() |
void |
testPollLast() |
void |
testPollLastUnsupported() |
void |
testSingletonSetNearby() |
void |
testSingletonSetPollFirst() |
void |
testSingletonSetPollLast() |
getSetactualContents, createArrayWithNullElement, expectNullMissingWhenNullUnsupported, initCollectionWithNullElement, resetCollection, resetContainercreateArrayWithDuplicateElement, createDisjointCollection, createOrderedArray, createSamplesArray, e0, e1, e2, e3, e4, emptyCollection, expectAdded, expectAdded, expectAdded, expectContents, expectContents, expectMissing, expectUnchanged, getNullLocation, getNumElements, getOrderedElements, getSampleElements, getSampleElements, resetContainergetName, getSubjectGenerator, getTestMethodName, init, init, tearDownassertEquals, 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, run, run, runBare, runTest, setName, toStringpublic void setUp()
throws Exception
setUp in class AbstractContainerTester<Collection<E>,E>Exceptionprotected void resetWithHole()
Resets the contents of navigableSet to have elements a, c, for the navigation tests.
public void testEmptySetPollFirst()
public void testEmptySetNearby()
public void testEmptySetPollLast()
public void testSingletonSetPollFirst()
public void testSingletonSetNearby()
public void testSingletonSetPollLast()
public void testPollFirst()
public void testPollFirstUnsupported()
public void testLowerHole()
public void testFloorHole()
public void testCeilingHole()
public void testHigherHole()
public void testLower()
public void testFloor()
public void testCeiling()
public void testHigher()
public void testPollLast()
public void testPollLastUnsupported()
public void testDescendingNavigation()
public void testEmptySubSet()