HomeSort by relevance Sort by last modified time
    Searched refs:removalNotifications (Results 1 - 2 of 2) sorted by null

  /external/guava/guava-tests/test/com/google/common/collect/
MapMakerTest.java 154 Map<String, String> removalNotifications = Maps.newHashMap();
156 removalNotifications.put(notification.getKey(), notification.getValue());
164 assertEquals("b" + i, removalNotifications.get("b" + i));
169 assertEquals(expectedKeys, Sets.union(map.keySet(), removalNotifications.keySet()));
170 assertTrue(Sets.intersection(map.keySet(), removalNotifications.keySet()).isEmpty());
  /external/guava/guava-tests/test/com/google/common/cache/
CacheBuilderTest.java 508 Map<String, String> removalNotifications = Maps.newHashMap();
510 removalNotifications.put(notification.getKey(), notification.getValue());
518 assertEquals("b" + i, removalNotifications.get("b" + i));
523 assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
524 assertTrue(Sets.intersection(cache.asMap().keySet(), removalNotifications.keySet()).isEmpty());

Completed in 30 milliseconds