Class NavigableSetNavigationTester<E>

  • All Implemented Interfaces:
    junit.framework.Test

    @GwtIncompatible
    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.
    • Constructor Detail

      • NavigableSetNavigationTester

        public NavigableSetNavigationTester()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Overrides:
        setUp in class AbstractContainerTester<java.util.Collection<E>,​E>
        Throws:
        java.lang.Exception
      • resetWithHole

        protected void resetWithHole()
        Resets the contents of navigableSet to have elements a, c, for the navigation tests.
      • testEmptySetPollFirst

        public void testEmptySetPollFirst()
      • testEmptySetNearby

        public void testEmptySetNearby()
      • testEmptySetPollLast

        public void testEmptySetPollLast()
      • testSingletonSetPollFirst

        public void testSingletonSetPollFirst()
      • testSingletonSetNearby

        public void testSingletonSetNearby()
      • testSingletonSetPollLast

        public void testSingletonSetPollLast()
      • testPollFirst

        public void testPollFirst()
      • testPollFirstUnsupported

        public void testPollFirstUnsupported()
      • testLowerHole

        public void testLowerHole()
      • testFloorHole

        public void testFloorHole()
      • testCeilingHole

        public void testCeilingHole()
      • testHigherHole

        public void testHigherHole()
      • testLower

        public void testLower()
      • testFloor

        public void testFloor()
      • testCeiling

        public void testCeiling()
      • testHigher

        public void testHigher()
      • testPollLast

        public void testPollLast()
      • testPollLastUnsupported

        public void testPollLastUnsupported()
      • testDescendingNavigation

        public void testDescendingNavigation()
      • testEmptySubSet

        public void testEmptySubSet()
      • getHoleMethods

        public 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().