Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRemoveIf_alwaysTrueUnsupported (0.14 sec)

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

        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_alwaysTrueUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> collection.removeIf(x -> true));
        expectUnchanged();
        assertTrue(collection.contains(samples.e0()));
      }
    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

        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_alwaysTrueUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> collection.removeIf(x -> true));
        expectUnchanged();
        assertTrue(collection.contains(samples.e0()));
      }
    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