- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testComputeIfPresent_error (0.09 seconds)
-
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()Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 7K bytes - Click Count (0)