- Sort Score
- Result 10 results
- Languages All
Results 41 - 42 of 42 for expectContents (0.2 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
public void testRetainAllIgnoresCount() { initThreeCopies(); List<E> contents = copyToList(getMultiset()); assertFalse(getMultiset().retainAll(singleton(e0()))); expectContents(contents); } /** * Returns {@link Method} instances for the remove tests that assume multisets support duplicates * so that the test of {@code Multisets.forSet()} can suppress them. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
protected Iterator<E> newTargetIterator() { resetCollection(); return collection.iterator(); } @Override protected void verify(List<E> elements) { expectContents(elements); } }.test(); } public void testIteratorNoSuchElementException() { Iterator<E> iterator = collection.iterator(); while (iterator.hasNext()) { iterator.next();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6K bytes - Viewed (0)