- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testEntrySet_clear (0.4 seconds)
-
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)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 9.6K bytes - Click Count (0) -
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)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 9.6K bytes - Click Count (0) -
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();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 11.6K bytes - Click Count (0)