- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for actualContent (0.11 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationTester.java
@CollectionFeature.Require(SERIALIZABLE) public void testReserialize() { // For a bare Collection, the most we can guarantee is that the elements are preserved. assertEqualIgnoringOrder(actualContents(), SerializableTester.reserialize(actualContents())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java
public class CollectionSerializationEqualTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SERIALIZABLE) public void testReserialize() { assertEquals(SerializableTester.reserialize(actualContents()), actualContents()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
extends AbstractContainerTester<Collection<E>, E> { // TODO: replace this with an accessor. protected Collection<E> collection; @Override protected Collection<E> actualContents() { return collection; } // TODO: dispose of this once collection is encapsulated. @Override @CanIgnoreReturnValue protected Collection<E> resetContainer(Collection<E> newContents) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
} /** * @return the contents of the container under test, for use by {@link #expectContents(Object[]) * expectContents(E...)} and its friends. */ protected abstract Collection<E> actualContents(); /** * Replaces the existing container under test with a new container created by the subject * generator. * * @see #resetContainer(Object) resetContainer(C)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
extends AbstractContainerTester<Map<K, V>, Entry<K, V>> { protected Map<K, V> getMap() { return container; } @Override protected Collection<Entry<K, V>> actualContents() { return getMap().entrySet(); } /** @see AbstractContainerTester#resetContainer() */ protected final void resetMap() { resetContainer(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
extends AbstractContainerTester<Map<K, V>, Entry<K, V>> { protected Map<K, V> getMap() { return container; } @Override protected Collection<Entry<K, V>> actualContents() { return getMap().entrySet(); } /** @see AbstractContainerTester#resetContainer() */ protected final void resetMap() { resetContainer(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
return ((TestMultimapGenerator<K, V, ? extends Multimap<K, V>>) getSubjectGenerator().getInnerGenerator()) .sampleValues(); } @Override protected Collection<Entry<K, V>> actualContents() { return multimap.entries(); } // TODO: dispose of this once collection is encapsulated. @Override @CanIgnoreReturnValue protected M resetContainer(M newContents) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6K bytes - Viewed (0)