Class CollectionRemoveIfTester<E>

All Implemented Interfaces:
junit.framework.Test

@GwtCompatible public class CollectionRemoveIfTester<E> extends AbstractCollectionTester<E>
A generic JUnit test which tests Collection.removeIf(java.util.function.Predicate<? super E>). Can't be invoked directly; please see CollectionTestSuiteBuilder.
Author:
Louis Wasserman
  • Constructor Details

    • CollectionRemoveIfTester

      public CollectionRemoveIfTester()
  • Method Details

    • testRemoveIf_alwaysFalse

      public void testRemoveIf_alwaysFalse()
    • testRemoveIf_sometimesTrue

      public void testRemoveIf_sometimesTrue()
    • testRemoveIf_allPresent

      public void testRemoveIf_allPresent()
    • testRemoveIfSomeMatchesConcurrentWithIteration

      public void testRemoveIfSomeMatchesConcurrentWithIteration()
    • testRemoveIf_unsupportedEmptyCollection

      public void testRemoveIf_unsupportedEmptyCollection()
    • testRemoveIf_alwaysTrueUnsupported

      public void testRemoveIf_alwaysTrueUnsupported()