Class ListAddAtIndexTester<E>

All Implemented Interfaces:
junit.framework.Test

public class ListAddAtIndexTester<E> extends AbstractListTester<E>
A generic JUnit test which tests add(int, Object) operations on a list. Can't be invoked directly; please see ListTestSuiteBuilder.
  • Constructor Details

    • ListAddAtIndexTester

      public ListAddAtIndexTester()
  • Method Details

    • testAddAtIndex_supportedPresent

      public void testAddAtIndex_supportedPresent()
    • testAddAtIndex_unsupportedPresent

      public void testAddAtIndex_unsupportedPresent()
    • testAddAtIndex_supportedNotPresent

      public void testAddAtIndex_supportedNotPresent()
    • testAddAtIndexConcurrentWithIteration

      public void testAddAtIndexConcurrentWithIteration()
    • testAddAtIndex_unsupportedNotPresent

      public void testAddAtIndex_unsupportedNotPresent()
    • testAddAtIndex_middle

      public void testAddAtIndex_middle()
    • testAddAtIndex_end

      public void testAddAtIndex_end()
    • testAddAtIndex_nullSupported

      public void testAddAtIndex_nullSupported()
    • testAddAtIndex_nullUnsupported

      public void testAddAtIndex_nullUnsupported()
    • testAddAtIndex_negative

      public void testAddAtIndex_negative()
    • testAddAtIndex_tooLarge

      public void testAddAtIndex_tooLarge()
    • getAddNullSupportedMethod

      public static Method getAddNullSupportedMethod()
      Returns the Method instance for testAddAtIndex_nullSupported() so that tests can suppress it. See CollectionAddTester.getAddNullSupportedMethod() for details.