- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testEntrySet_clear (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetEntrySetTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) public void testEntrySet_clear() { getMultiset().entrySet().clear(); assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty()); } @CollectionSize.Require(ONE)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
assertThrows( UnsupportedOperationException.class, () -> cache.asMap().values().addAll(asList(entryOf(1, 1), entryOf(2, 2)))); } } public void testEntrySet_clear() { for (LoadingCache<Object, Object> cache : caches()) { warmUp(cache, 0, 100); Set<Entry<Object, Object>> entrySet = cache.asMap().entrySet(); entrySet.clear();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11.5K bytes - Viewed (0)