Interface OneSizeTestContainerGenerator<T,E>
-
- All Superinterfaces:
TestContainerGenerator<T,E>
,TestSubjectGenerator<T>
- All Known Implementing Classes:
OneSizeGenerator
@GwtCompatible public interface OneSizeTestContainerGenerator<T,E> extends TestSubjectGenerator<T>, TestContainerGenerator<T,E>
The subject-generator interface accepted by Collection testers, for testing a Collection at one particularCollectionSize
.This interface should not be implemented outside this package;
PerCollectionSizeTestSuiteBuilder
constructs instances of it from a more generalTestCollectionGenerator
.- Author:
- George van den Driessche
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CollectionSize
getCollectionSize()
TestContainerGenerator<T,E>
getInnerGenerator()
Collection<E>
getSampleElements(int howMany)
-
Methods inherited from interface com.google.common.collect.testing.TestContainerGenerator
create, createArray, order, samples
-
Methods inherited from interface com.google.common.collect.testing.TestSubjectGenerator
createTestSubject
-
-
-
-
Method Detail
-
getInnerGenerator
TestContainerGenerator<T,E> getInnerGenerator()
-
getSampleElements
Collection<E> getSampleElements(int howMany)
-
getCollectionSize
CollectionSize getCollectionSize()
-
-