Home | History | Annotate | Download | only in testing

Lines Matching defs:collection

19 import java.util.Collection;
22 * Base class for collection testers.
26 * @param <E> the element type of the collection to be tested.
31 extends AbstractContainerTester<Collection<E>, E> {
34 protected Collection<E> collection;
36 @Override protected Collection<E> actualContents() {
37 return collection;
40 // TODO: dispose of this once collection is encapsulated.
41 @Override protected Collection<E> resetContainer(Collection<E> newContents) {
42 collection = super.resetContainer(newContents);
43 return collection;