Class ListAddTester<E>

All Implemented Interfaces:
junit.framework.Test

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

    • ListAddTester

      public ListAddTester()
  • Method Details

    • testAdd_supportedPresent

      public void testAdd_supportedPresent()
    • testAdd_unsupportedPresent

      public void testAdd_unsupportedPresent()
    • testAdd_supportedNullPresent

      public void testAdd_supportedNullPresent()
    • getAddSupportedNullPresentMethod

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