Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testRemove_unsupportedAbsent (0.41 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top