Home
last modified time | relevance | path

Searched refs:expectedCollection (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapRemoveEntryTester.java130 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToGet() local
133 expectedCollection.remove(value); in testRemovePropagatesToGet()
135 ASSERT.that(collection).has().exactlyAs(expectedCollection); in testRemovePropagatesToGet()
136 assertEquals(!expectedCollection.isEmpty(), multimap().containsKey(key)); in testRemovePropagatesToGet()
151 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToAsMap() local
154 expectedCollection.remove(value); in testRemovePropagatesToAsMap()
156 ASSERT.that(collection).has().exactlyAs(expectedCollection); in testRemovePropagatesToAsMap()
157 assertEquals(!expectedCollection.isEmpty(), multimap().containsKey(key)); in testRemovePropagatesToAsMap()
181 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToAsMapEntrySet() local
184 expectedCollection.remove(value); in testRemovePropagatesToAsMapEntrySet()
[all …]
DMultimapPutTester.java173 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToGet() local
176 expectedCollection.add(sampleValues().e3); in testPutPresentKeyPropagatesToGet()
177 ASSERT.that(collection).has().exactlyAs(expectedCollection); in testPutPresentKeyPropagatesToGet()
193 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToAsMapGet() local
196 expectedCollection.add(sampleValues().e3); in testPutPresentKeyPropagatesToAsMapGet()
197 ASSERT.that(collection).has().exactlyAs(expectedCollection); in testPutPresentKeyPropagatesToAsMapGet()
221 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToAsMapEntrySet() local
224 expectedCollection.add(sampleValues().e3); in testPutPresentKeyPropagatesToAsMapEntrySet()
225 ASSERT.that(collection).has().exactlyAs(expectedCollection); in testPutPresentKeyPropagatesToAsMapEntrySet()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DAbstractListTester.java49 @Override protected void expectContents(Collection<E> expectedCollection) { in expectContents() argument
50 List<E> expectedList = Helpers.copyToList(expectedCollection); in expectContents()