Home
last modified time | relevance | path

Searched refs:removalNotifications (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerTest.java163 Map<String, String> removalNotifications = Maps.newHashMap(); in testRemovalNotification_clear_basher() local
165 removalNotifications.put(notification.getKey(), notification.getValue()); in testRemovalNotification_clear_basher()
173 assertEquals("b" + i, removalNotifications.get("b" + i)); in testRemovalNotification_clear_basher()
178 assertEquals(expectedKeys, Sets.union(map.keySet(), removalNotifications.keySet())); in testRemovalNotification_clear_basher()
179 assertTrue(Sets.intersection(map.keySet(), removalNotifications.keySet()).isEmpty()); in testRemovalNotification_clear_basher()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java501 Map<String, String> removalNotifications = Maps.newHashMap(); in testRemovalNotification_clear_basher() local
503 removalNotifications.put(notification.getKey(), notification.getValue()); in testRemovalNotification_clear_basher()
511 assertEquals("b" + i, removalNotifications.get("b" + i)); in testRemovalNotification_clear_basher()
516 assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet())); in testRemovalNotification_clear_basher()
517 assertTrue(Sets.intersection(cache.asMap().keySet(), removalNotifications.keySet()).isEmpty()); in testRemovalNotification_clear_basher()