com.google.common.collect.testing
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 particular CollectionSize
.
This interface should not be implemented outside this package;
PerCollectionSizeTestSuiteBuilder
constructs instances of it from
a more general TestCollectionGenerator
.
This class is GWT compatible.
- Author:
- George van den Driessche
getInnerGenerator
TestContainerGenerator<T,E> getInnerGenerator()
getSampleElements
Collection<E> getSampleElements(int howMany)
getCollectionSize
CollectionSize getCollectionSize()
Copyright © 2010-2012. All Rights Reserved.