Class CollectionAddAllTester<E extends @Nullable Object>

All Implemented Interfaces:
junit.framework.Test

@GwtCompatible(emulated=true) public class CollectionAddAllTester<E extends @Nullable Object> extends AbstractCollectionTester<E>
A generic JUnit test which tests addAll operations on a collection. Can't be invoked directly; please see CollectionTestSuiteBuilder.
Author:
Chris Povirk, Kevin Bourrillion
  • Constructor Details

    • CollectionAddAllTester

      public CollectionAddAllTester()
  • Method Details

    • testAddAll_supportedNothing

      public void testAddAll_supportedNothing()
    • testAddAll_unsupportedNothing

      public void testAddAll_unsupportedNothing()
    • testAddAll_supportedNonePresent

      public void testAddAll_supportedNonePresent()
    • testAddAll_unsupportedNonePresent

      public void testAddAll_unsupportedNonePresent()
    • testAddAll_supportedSomePresent

      public void testAddAll_supportedSomePresent()
    • testAddAll_unsupportedSomePresent

      public void testAddAll_unsupportedSomePresent()
    • testAddAllConcurrentWithIteration

      public void testAddAllConcurrentWithIteration()
    • testAddAll_unsupportedAllPresent

      public void testAddAll_unsupportedAllPresent()
    • testAddAll_nullSupported

      public void testAddAll_nullSupported()
    • testAddAll_nullUnsupported

      public void testAddAll_nullUnsupported()
    • testAddAll_nullCollectionReference

      public void testAddAll_nullCollectionReference()
    • getAddAllNullUnsupportedMethod

      @GwtIncompatible public static Method getAddAllNullUnsupportedMethod()
      Returns the Method instance for testAddAll_nullUnsupported() so that tests can suppress it with FeatureSpecificTestSuiteBuilder.suppressing() until JDK-5045147 is fixed.
    • getAddAllUnsupportedNonePresentMethod

      @GwtIncompatible public static Method getAddAllUnsupportedNonePresentMethod()
      Returns the Method instance for testAddAll_unsupportedNonePresent() so that tests can suppress it with FeatureSpecificTestSuiteBuilder.suppressing() while we figure out what to do with ConcurrentHashMap support for entrySet().add().
    • getAddAllUnsupportedSomePresentMethod

      @GwtIncompatible public static Method getAddAllUnsupportedSomePresentMethod()
      Returns the Method instance for testAddAll_unsupportedSomePresent() so that tests can suppress it with FeatureSpecificTestSuiteBuilder.suppressing() while we figure out what to do with ConcurrentHashMap support for entrySet().add().