public class NavigableSetNavigationTester<E> extends AbstractSetTester<E>
NavigableSetTestSuiteBuilder.AbstractContainerTester.ArrayWithDuplicate<E>| Modifier and Type | Field and Description |
|---|---|
private E |
a |
private E |
b |
private E |
c |
private java.util.NavigableSet<E> |
navigableSet |
private java.util.List<E> |
values |
collectioncontainer, samples| Constructor and Description |
|---|
NavigableSetNavigationTester() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.reflect.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, toStringprivate java.util.NavigableSet<E> navigableSet
private java.util.List<E> values
private E a
private E b
private E c
public void setUp()
throws java.lang.Exception
setUp in class AbstractContainerTester<java.util.Collection<E>,E>java.lang.Exceptionprotected void resetWithHole()
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()
public static java.lang.reflect.Method[] getHoleMethods()
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().