Interface TestSetGenerator<E>
- All Superinterfaces:
TestCollectionGenerator<E>,TestContainerGenerator<Collection<E>,E>
- All Known Subinterfaces:
TestSortedSetGenerator<E>
- All Known Implementing Classes:
DerivedCollectionGenerators.MapEntrySetGenerator,DerivedCollectionGenerators.MapKeySetGenerator,DerivedCollectionGenerators.MapSortedKeySetGenerator,DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator,DerivedGoogleCollectionGenerators.BiMapValueSetGenerator,MultisetTestSuiteBuilder.ElementSetGenerator,MultisetTestSuiteBuilder.EntrySetGenerator,NavigableSetTestSuiteBuilder.NavigableSetSubsetTestSetGenerator,ReserializingTestSetGenerator,SetGenerators.AbstractContiguousSetGenerator,SetGenerators.ContiguousSetDescendingGenerator,SetGenerators.ContiguousSetGenerator,SetGenerators.ContiguousSetHeadsetGenerator,SetGenerators.ContiguousSetSubsetGenerator,SetGenerators.ContiguousSetTailsetGenerator,SetGenerators.DegeneratedImmutableSetGenerator,SetGenerators.ImmutableSetCopyOfGenerator,SetGenerators.ImmutableSetSizedBuilderGenerator,SetGenerators.ImmutableSetTooBigBuilderGenerator,SetGenerators.ImmutableSetTooSmallBuilderGenerator,SetGenerators.ImmutableSetUnsizedBuilderGenerator,SetGenerators.ImmutableSetWithBadHashesGenerator,SetGenerators.ImmutableSortedSetCopyOfGenerator,SetGenerators.ImmutableSortedSetDescendingGenerator,SetGenerators.ImmutableSortedSetExplicitComparator,SetGenerators.ImmutableSortedSetExplicitSuperclassComparatorGenerator,SetGenerators.ImmutableSortedSetHeadsetGenerator,SetGenerators.ImmutableSortedSetReversedOrderGenerator,SetGenerators.ImmutableSortedSetSubsetGenerator,SetGenerators.ImmutableSortedSetTailsetGenerator,SetGenerators.ImmutableSortedSetUnhashableGenerator,SetGenerators.TestUnhashableSetGenerator,SetMultimapTestSuiteBuilder.EntriesGenerator,SetMultimapTestSuiteBuilder.MultimapAsMapGetGenerator,SetMultimapTestSuiteBuilder.MultimapGetGenerator,SetTestSuiteBuilder.ReserializedSetGenerator,TestCollidingSetGenerator,TestEnumSetGenerator,TestIntegerSetGenerator,TestIntegerSortedSetGenerator,TestMapEntrySetGenerator,TestStringSetGenerator,TestStringSortedSetGenerator
Creates sets, containing sample elements, to be tested.
-
Method Summary
Methods inherited from interface com.google.common.collect.testing.TestContainerGenerator
createArray, order, samples
-
Method Details
-
create
Description copied from interface:TestContainerGeneratorCreates a new container containing the given elements. TODO: would be nice to figure out how to use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an array of the erased type.- Specified by:
createin interfaceTestContainerGenerator<Collection<E>,E>
-