@CheckReturnValue
Package com.google.common.collect.testing.google
-
Interface Summary Interface Description TestBiMapGenerator<K extends @Nullable Object,V extends @Nullable Object> Creates bimaps, containing sample entries, to be tested.TestListMultimapGenerator<K extends @Nullable Object,V extends @Nullable Object> A generator forListMultimapimplementations 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.TestSetMultimapGenerator<K,V> A generator forSetMultimapimplementations based on test data. -
Class Summary Class Description AbstractBiMapTester<K extends @Nullable Object,V extends @Nullable Object> Skeleton for a tester of aBiMap.AbstractListMultimapTester<K extends @Nullable Object,V extends @Nullable Object> Superclass for allListMultimaptesters.AbstractMultimapTester<K extends @Nullable Object,V extends @Nullable Object,M extends com.google.common.collect.Multimap<K,V>> Superclass for allMultimaptesters.AbstractMultisetSetCountTester<E> Common superclass forMultisetSetCountUnconditionallyTesterandMultisetSetCountConditionallyTester.AbstractMultisetTester<E> Base class for multiset collection tests.BiMapClearTester<K,V> Tester forBiMap.clear.BiMapEntrySetTester<K,V> Tester forBiMap.entrySetand methods on the entries in the set.BiMapGenerators Generators of variousBiMaps and derived collections.BiMapGenerators.ImmutableBiMapCopyOfEntriesGenerator BiMapGenerators.ImmutableBiMapCopyOfGenerator BiMapGenerators.ImmutableBiMapGenerator BiMapInverseTester<K,V> Tests for theinverseview of a BiMap.BiMapPutTester<K,V> Tester forBiMap.putandBiMap.forcePut.BiMapRemoveTester<K,V> Tester forBiMap.remove.BiMapTestSuiteBuilder<K,V> Creates, based on your criteria, a JUnit test suite that exhaustively tests aBiMapimplementation.DerivedGoogleCollectionGenerators 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> ListGenerators Common generators of different types of lists.ListGenerators.BuilderAddAllListGenerator ListGenerators.BuilderAddListGenerator ListGenerators.BuilderReversedListGenerator ListGenerators.CharactersOfCharSequenceGenerator ListGenerators.CharactersOfStringGenerator ListGenerators.ImmutableListHeadSubListGenerator ListGenerators.ImmutableListMiddleSubListGenerator ListGenerators.ImmutableListOfGenerator ListGenerators.ImmutableListTailSubListGenerator ListGenerators.UnhashableElementsImmutableListGenerator ListMultimapAsMapTester<K extends @Nullable Object,V extends @Nullable Object> Testers forListMultimap.asMap().ListMultimapEqualsTester<K,V> Testers forListMultimap.equals(Object).ListMultimapPutAllTester<K,V> Testers forMultimap.putAll(Object, Iterable).ListMultimapPutTester<K,V> Testers forMultimap.put(Object, Object).ListMultimapRemoveTester<K,V> Testers forMultimap.remove(Object, Object).ListMultimapReplaceValuesTester<K,V> Testers forListMultimap.replaceValues(Object, Iterable).ListMultimapTestSuiteBuilder<K,V> Creates, based on your criteria, a JUnit test suite that exhaustively tests aListMultimapimplementation.MapGenerators Generators of different types of map and related collections, such as keys, entries and values.MapGenerators.ImmutableEnumMapGenerator MapGenerators.ImmutableMapCopyOfEntriesGenerator MapGenerators.ImmutableMapCopyOfEnumMapGenerator MapGenerators.ImmutableMapCopyOfGenerator MapGenerators.ImmutableMapEntryListGenerator MapGenerators.ImmutableMapGenerator MapGenerators.ImmutableMapKeyListGenerator MapGenerators.ImmutableMapUnhashableValuesGenerator MapGenerators.ImmutableMapValueListGenerator MapGenerators.ImmutableMapValuesAsSingletonSetGenerator MultimapAsMapGetTester<K,V> Tests forMultimap.asMap().get(Object).MultimapAsMapTester<K,V> Tests forMultimap.asMap().MultimapClearTester<K,V> Tests forMultimap.clear().MultimapContainsEntryTester<K,V> Tester forMultimap.containsEntry(java.lang.Object, java.lang.Object).MultimapContainsKeyTester<K,V> Tester for thecontainsKeymethods ofMultimapand itsasMap()view.MultimapContainsValueTester<K,V> Tester forMultimap.containsValue(java.lang.Object).MultimapEntriesTester<K,V> Tester forMultimap.entries.MultimapEqualsTester<K extends @Nullable Object,V extends @Nullable Object> Tester forMultimap.equals.MultimapForEachTester<K,V> 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.MultimapPutAllMultimapTester<K,V> Tester forMultimap.putAll(Multimap).MultimapPutIterableTester<K,V> Tests forMultimap.putAll(Object, Iterable).MultimapPutTester<K extends @Nullable Object,V extends @Nullable Object> Tester forMultimap.put(K, V).MultimapRemoveAllTester<K,V> Tests forMultimap.removeAll(Object).MultimapRemoveEntryTester<K,V> Tests forMultimap.remove(Object, Object).MultimapReplaceValuesTester<K,V> Tests forMultimap.replaceValues(Object, Iterable).MultimapSizeTester<K extends @Nullable Object,V extends @Nullable Object> Tester for thesizemethods ofMultimapand 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 aMultimapimplementation.MultimapToStringTester<K,V> Tester forMultimap.toString().MultimapValuesTester<K,V> Tester forMultimap.values.MultisetAddTester<E> Tests forMultiset.add.MultisetContainsTester<E> Tests forMultiset.containsAllnot already addressed byCollectionContainsTester.MultisetCountTester<E> Tests forMultiset#count.MultisetElementSetTester<E> Tests forMultiset.elementSet()not covered by the derivedSetTestSuiteBuilder.MultisetEntrySetTester<E> Tests forMultiset.entrySet.MultisetEqualsTester<E> Tests forMultiset.equalsandMultiset.hashCode.MultisetForEachEntryTester<E> Tests forMultiset#forEachEntry.MultisetIteratorTester<E extends @Nullable Object> Tester to make sure theiterator().remove()implementation ofMultisetworks when there are multiple occurrences of elements.MultisetNavigationTester<E> Tester for navigation of SortedMultisets.MultisetReadsTester<E> A generic JUnit test which tests multiset-specific read operations.MultisetRemoveTester<E> Tests forMultiset#remove,Multiset.removeAll, andMultiset.retainAllnot already covered by the corresponding Collection testers.MultisetSerializationTester<E> A generic JUnit test which tests multiset-specific serialization.MultisetSetCountConditionallyTester<E> A generic JUnit test which tests conditionalsetCount()operations on a multiset.MultisetSetCountUnconditionallyTester<E> A generic JUnit test which tests unconditionalsetCount()operations on a multiset.MultisetTestSuiteBuilder<E> Creates, based on your criteria, a JUnit test suite that exhaustively tests aMultisetimplementation.SetGenerators Generators of different types of sets and derived collections from sets.SetGenerators.ContiguousSetDescendingGenerator SetGenerators.ContiguousSetGenerator SetGenerators.ContiguousSetHeadsetGenerator SetGenerators.ContiguousSetSubsetGenerator SetGenerators.ContiguousSetTailsetGenerator SetGenerators.DegeneratedImmutableSetGenerator SetGenerators.ImmutableSetAsListGenerator SetGenerators.ImmutableSetCopyOfGenerator SetGenerators.ImmutableSetSizedBuilderGenerator SetGenerators.ImmutableSetTooBigBuilderGenerator SetGenerators.ImmutableSetTooSmallBuilderGenerator SetGenerators.ImmutableSetUnsizedBuilderGenerator SetGenerators.ImmutableSetWithBadHashesGenerator SetGenerators.ImmutableSortedSetAsListGenerator SetGenerators.ImmutableSortedSetAsListSubListGenerator SetGenerators.ImmutableSortedSetCopyOfGenerator SetGenerators.ImmutableSortedSetDescendingAsListGenerator SetGenerators.ImmutableSortedSetDescendingGenerator SetGenerators.ImmutableSortedSetExplicitComparator SetGenerators.ImmutableSortedSetExplicitSuperclassComparatorGenerator SetGenerators.ImmutableSortedSetHeadsetGenerator SetGenerators.ImmutableSortedSetReversedOrderGenerator SetGenerators.ImmutableSortedSetSubsetAsListGenerator SetGenerators.ImmutableSortedSetSubsetAsListSubListGenerator SetGenerators.ImmutableSortedSetSubsetGenerator SetGenerators.ImmutableSortedSetTailsetGenerator SetGenerators.ImmutableSortedSetUnhashableGenerator SetGenerators.TestUnhashableSetGenerator SetMultimapAsMapTester<K extends @Nullable Object,V extends @Nullable Object> Testers forSetMultimap.asMap().SetMultimapEqualsTester<K,V> Testers forSetMultimap.equals(Object).SetMultimapPutAllTester<K,V> Tests forSetMultimap.replaceValues(K, java.lang.Iterable<? extends V>).SetMultimapPutTester<K,V> Tests forSetMultimap.replaceValues(K, java.lang.Iterable<? extends V>).SetMultimapReplaceValuesTester<K,V> Tests forSetMultimap.replaceValues(K, java.lang.Iterable<? extends V>).SetMultimapTestSuiteBuilder<K,V> Creates, based on your criteria, a JUnit test suite that exhaustively tests aSetMultimapimplementation.SortedMapGenerators Generators of sorted maps and derived collections.SortedMapGenerators.ImmutableSortedMapCopyOfEntriesGenerator SortedMapGenerators.ImmutableSortedMapEntryListGenerator SortedMapGenerators.ImmutableSortedMapGenerator SortedMapGenerators.ImmutableSortedMapKeyListGenerator SortedMapGenerators.ImmutableSortedMapValueListGenerator SortedMultisetTestSuiteBuilder<E> Creates, based on your criteria, a JUnit test suite that exhaustively tests aSortedMultisetimplementation.SortedSetMultimapAsMapTester<K,V> Testers forSortedSetMultimap.asMap().SortedSetMultimapGetTester<K,V> Tester forSortedSetMultimap.get(Object).SortedSetMultimapTestSuiteBuilder<K,V> Creates, based on your criteria, a JUnit test suite that exhaustively tests aSortedSetMultimapimplementation.TestEnumMultisetGenerator An abstractTestMultisetGeneratorfor generating multisets containing enum values.TestStringBiMapGenerator Implementation helper forTestBiMapGeneratorfor use with bimaps of strings.TestStringListMultimapGenerator A skeleton generator for aListMultimapimplementation.TestStringMultisetGenerator Create multisets of strings for tests.TestStringSetMultimapGenerator A skeleton generator for aSetMultimapimplementation.UnmodifiableCollectionTests A series of tests that support asserting that collections cannot be modified, either through direct or indirect means. -
Enum Summary Enum Description MultimapFeature Optional features of classes derived fromMultimap.MultisetFeature Optional features of classes derived fromMultiset.MultisetTestSuiteBuilder.NoRecurse -
Annotation Types Summary Annotation Type Description MultimapFeature.Require MultisetFeature.Require