Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testRemove_unsupportedAbsent (0.1 sec)

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

        assertThrows(UnsupportedOperationException.class, () -> getMap().remove(k0(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_unsupportedAbsent() {
        try {
          assertFalse(getMap().remove(k0(), v3()));
        } catch (UnsupportedOperationException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

        assertThrows(UnsupportedOperationException.class, () -> getMap().remove(k0(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_unsupportedAbsent() {
        try {
          assertFalse(getMap().remove(k0(), v3()));
        } catch (UnsupportedOperationException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

        assertThrows(UnsupportedOperationException.class, () -> getMap().remove(k0(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_unsupportedAbsent() {
        try {
          assertFalse(getMap().remove(k0(), v3()));
        } catch (UnsupportedOperationException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

        assertThrows(UnsupportedOperationException.class, () -> getMap().remove(k0(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_unsupportedAbsent() {
        try {
          assertFalse(getMap().remove(k0(), v3()));
        } catch (UnsupportedOperationException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top