- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testComputeIfPresent_error (0.08 sec)
-
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
// ensure no zombie entry remains cache.asMap().computeIfPresent(1, (key, value) -> null); assertThat(notifications).hasSize(1); CacheTesting.checkEmpty(cache); } public void testComputeIfPresent_error() { Cache<String, String> cache = CacheBuilder.newBuilder().build(); cache.put(key, "1"); assertThrows( Error.class, () -> cache .asMap()Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 7K bytes - Viewed (0)