Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRemoveIf_alwaysFalse (0.26 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionRemoveIfTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testRemoveIf_alwaysFalse() {
        assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class CollectionRemoveIfTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testRemoveIf_alwaysFalse() {
        assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top