Class CollectionRemoveAllTester<E>

All Implemented Interfaces:
junit.framework.Test

@GwtCompatible public class CollectionRemoveAllTester<E> extends AbstractCollectionTester<E>
A generic JUnit test which tests removeAll operations on a collection. Can't be invoked directly; please see CollectionTestSuiteBuilder.
Author:
George van den Driessche, Chris Povirk
  • Constructor Details

    • CollectionRemoveAllTester

      public CollectionRemoveAllTester()
  • Method Details

    • testRemoveAll_emptyCollection

      public void testRemoveAll_emptyCollection()
    • testRemoveAll_nonePresent

      public void testRemoveAll_nonePresent()
    • testRemoveAll_allPresent

      public void testRemoveAll_allPresent()
    • testRemoveAll_somePresent

      public void testRemoveAll_somePresent()
    • testRemoveAllSomePresentConcurrentWithIteration

      public void testRemoveAllSomePresentConcurrentWithIteration()
    • testRemoveAll_somePresentLargeCollectionToRemove

      public void testRemoveAll_somePresentLargeCollectionToRemove()
      Trigger the other.size() >= this.size() case in AbstractSet.removeAll(java.util.Collection<?>).
    • testRemoveAll_unsupportedEmptyCollection

      public void testRemoveAll_unsupportedEmptyCollection()
    • testRemoveAll_unsupportedNonePresent

      public void testRemoveAll_unsupportedNonePresent()
    • testRemoveAll_unsupportedPresent

      public void testRemoveAll_unsupportedPresent()
    • testRemoveAll_nullCollectionReferenceEmptySubject

      public void testRemoveAll_nullCollectionReferenceEmptySubject()
    • testRemoveAll_nullCollectionReferenceNonEmptySubject

      public void testRemoveAll_nullCollectionReferenceNonEmptySubject()
    • testRemoveAll_containsNullNo

      public void testRemoveAll_containsNullNo()
    • testRemoveAll_containsNullNoButAllowed

      public void testRemoveAll_containsNullNoButAllowed()
    • testRemoveAll_containsNullYes

      public void testRemoveAll_containsNullYes()
    • testRemoveAll_containsWrongType

      public void testRemoveAll_containsWrongType()