Package com.google.common.collect.testing.google
@CheckReturnValue
package com.google.common.collect.testing.google
-
ClassDescriptionSkeleton for a tester of a
BiMap
.Superclass for allListMultimap
testers.AbstractMultimapTester<K extends @Nullable Object,V extends @Nullable Object, M extends com.google.common.collect.Multimap<K, V>> Superclass for allMultimap
testers.Common superclass forMultisetSetCountUnconditionallyTester
andMultisetSetCountConditionallyTester
.Base class for multiset collection tests.BiMapClearTester<K,V> Tester forBiMap.clear
.BiMapEntrySetTester<K,V> Tester forBiMap.entrySet
and methods on the entries in the set.Generators of variousBiMap
s and derived collections.BiMapInverseTester<K,V> Tests for theinverse
view of a BiMap.BiMapPutTester<K,V> Tester forBiMap.put
andBiMap.forcePut
.BiMapRemoveTester<K,V> Tester forBiMap.remove
.Creates, based on your criteria, a JUnit test suite that exhaustively tests aBiMap
implementation.Derived suite generators for Guava collection interfaces, split out of the suite builders so that they are available to GWT.DerivedGoogleCollectionGenerators.BiMapValueSetGenerator<K extends @Nullable Object,V extends @Nullable Object> DerivedGoogleCollectionGenerators.InverseBiMapGenerator<K extends @Nullable Object,V extends @Nullable Object> DerivedGoogleCollectionGenerators.MapGenerator<K extends @Nullable Object,V extends @Nullable Object> Common generators of different types of lists.Testers forListMultimap.asMap()
.Testers forListMultimap.equals(Object)
.Testers forMultimap.putAll(Object, Iterable)
.Testers forMultimap.put(Object, Object)
.Testers forMultimap.remove(Object, Object)
.Testers forListMultimap.replaceValues(Object, Iterable)
.Creates, based on your criteria, a JUnit test suite that exhaustively tests aListMultimap
implementation.Generators of different types of map and related collections, such as keys, entries and values.Tests forMultimap.asMap().get(Object)
.MultimapAsMapTester<K,V> Tests forMultimap.asMap()
.MultimapClearTester<K,V> Tests forMultimap.clear()
.Tester forMultimap.containsEntry(java.lang.Object, java.lang.Object)
.Tester for thecontainsKey
methods ofMultimap
and itsasMap()
view.Tester forMultimap.containsValue(java.lang.Object)
.Tester forMultimap.entries
.Tester forMultimap.equals
.Optional features of classes derived fromMultimap
.Tests forMultimap.forEach(java.util.function.BiConsumer<? super K, ? super V>)
.MultimapGetTester<K,V> Tests forMultimap.get(Object)
.MultimapKeySetTester<K,V> Tester forMultimap.keySet
.MultimapKeysTester<K,V> Tester forMultimap.entries
.Tester forMultimap.putAll(Multimap)
.Tests forMultimap.putAll(Object, Iterable)
.Tester forMultimap.put(K, V)
.Tests forMultimap.removeAll(Object)
.Tests forMultimap.remove(Object, Object)
.Tests forMultimap.replaceValues(Object, Iterable)
.Tester for thesize
methods ofMultimap
and its views.MultimapTestSuiteBuilder<K,V, M extends com.google.common.collect.Multimap<K, V>> Creates, based on your criteria, a JUnit test suite that exhaustively tests aMultimap
implementation.Tester forMultimap.toString()
.MultimapValuesTester<K,V> Tester forMultimap.values
.Tests forMultiset.add
.Tests forMultiset.containsAll
not already addressed byCollectionContainsTester
.Tests forMultiset#count
.Tests forMultiset.elementSet()
not covered by the derivedSetTestSuiteBuilder
.Tests forMultiset.entrySet
.Tests forMultiset.equals
andMultiset.hashCode
.Optional features of classes derived fromMultiset
.Tests forMultiset#forEachEntry
.MultisetIteratorTester<E extends @Nullable Object>Tester to make sure theiterator().remove()
implementation ofMultiset
works when there are multiple occurrences of elements.Tester for navigation of SortedMultisets.A generic JUnit test which tests multiset-specific read operations.Tests forMultiset#remove
,Multiset.removeAll
, andMultiset.retainAll
not already covered by the corresponding Collection testers.A generic JUnit test which tests multiset-specific serialization.A generic JUnit test which tests conditionalsetCount()
operations on a multiset.A generic JUnit test which tests unconditionalsetCount()
operations on a multiset.Creates, based on your criteria, a JUnit test suite that exhaustively tests aMultiset
implementation.Generators of different types of sets and derived collections from sets.Testers forSetMultimap.asMap()
.Testers forSetMultimap.equals(Object)
.Tests forSetMultimap.replaceValues(K, java.lang.Iterable<? extends V>)
.SetMultimapPutTester<K,V> Tests forSetMultimap.replaceValues(K, java.lang.Iterable<? extends V>)
.Tests forSetMultimap.replaceValues(K, java.lang.Iterable<? extends V>)
.Creates, based on your criteria, a JUnit test suite that exhaustively tests aSetMultimap
implementation.Generators of sorted maps and derived collections.Creates, based on your criteria, a JUnit test suite that exhaustively tests aSortedMultiset
implementation.Testers forSortedSetMultimap.asMap()
.Tester forSortedSetMultimap.get(Object)
.Creates, based on your criteria, a JUnit test suite that exhaustively tests aSortedSetMultimap
implementation.Creates bimaps, containing sample entries, to be tested.An abstractTestMultisetGenerator
for generating multisets containing enum values.A generator forListMultimap
implementations based on test data.TestMultimapGenerator<K extends @Nullable Object,V extends @Nullable Object, M extends com.google.common.collect.Multimap<K, V>> Creates multimaps, containing sample elements, to be tested.TestMultisetGenerator<E extends @Nullable Object>Creates multisets, containing sample elements, to be tested.A generator forSetMultimap
implementations based on test data.Implementation helper forTestBiMapGenerator
for use with bimaps of strings.A skeleton generator for aListMultimap
implementation.Create multisets of strings for tests.A skeleton generator for aSetMultimap
implementation.A series of tests that support asserting that collections cannot be modified, either through direct or indirect means.