Interface TestListGenerator<E>
- All Superinterfaces:
TestCollectionGenerator<E>,TestContainerGenerator<Collection<E>,E>
- All Known Implementing Classes:
ListGenerators.BuilderAddAllListGenerator,ListGenerators.BuilderAddListGenerator,ListGenerators.BuilderReversedListGenerator,ListGenerators.CharactersOfCharSequenceGenerator,ListGenerators.CharactersOfStringGenerator,ListGenerators.ImmutableListHeadSubListGenerator,ListGenerators.ImmutableListMiddleSubListGenerator,ListGenerators.ImmutableListOfGenerator,ListGenerators.ImmutableListTailSubListGenerator,ListGenerators.TestUnhashableListGenerator,ListGenerators.UnhashableElementsImmutableListGenerator,ListMultimapTestSuiteBuilder.MultimapAsMapGetGenerator,ListMultimapTestSuiteBuilder.MultimapGetGenerator,ListTestSuiteBuilder.ReserializedListGenerator,MapGenerators.ImmutableMapEntryListGenerator,MapGenerators.ImmutableMapKeyListGenerator,MapGenerators.ImmutableMapValueListGenerator,SetGenerators.ImmutableSetAsListGenerator,SetGenerators.ImmutableSortedSetAsListGenerator,SetGenerators.ImmutableSortedSetAsListSubListGenerator,SetGenerators.ImmutableSortedSetDescendingAsListGenerator,SetGenerators.ImmutableSortedSetSubsetAsListGenerator,SetGenerators.ImmutableSortedSetSubsetAsListSubListGenerator,SortedMapGenerators.ImmutableSortedMapEntryListGenerator,SortedMapGenerators.ImmutableSortedMapKeyListGenerator,SortedMapGenerators.ImmutableSortedMapValueListGenerator,TestCharacterListGenerator,TestStringListGenerator
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>
-