com.google.common.collect.testing
Interface OneSizeTestContainerGenerator<T,E>

All Superinterfaces:
TestContainerGenerator<T,E>, TestSubjectGenerator<T>
All Known Implementing Classes:
OneSizeGenerator

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

Method Summary
 CollectionSize getCollectionSize()
           
 TestContainerGenerator<T,E> getInnerGenerator()
           
 Collection<E> getSampleElements(int howMany)
           
 
Methods inherited from interface com.google.common.collect.testing.TestSubjectGenerator
createTestSubject
 
Methods inherited from interface com.google.common.collect.testing.TestContainerGenerator
create, createArray, order, samples
 

Method Detail

getInnerGenerator

TestContainerGenerator<T,E> getInnerGenerator()

getSampleElements

Collection<E> getSampleElements(int howMany)

getCollectionSize

CollectionSize getCollectionSize()


Copyright © 2010-2011. All Rights Reserved.