- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testReplace_absentNullValueUnsupported (0.28 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
assertThrows(NullPointerException.class, () -> getMap().replace(k0(), null)); expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES) public void testReplace_absentNullValueUnsupported() { try { getMap().replace(k3(), null); } catch (NullPointerException tolerated) { // permitted not to throw because it would be a no-op } expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4K bytes - Viewed (0)