| Interface | Description |
|---|---|
| AbstractIteratorTester.IteratorOperation | |
| DerivedGenerator |
A generator that relies on a preexisting generator for most of its work.
|
| OneSizeTestContainerGenerator<T,E> |
The subject-generator interface accepted by Collection testers, for testing a Collection at one
particular
CollectionSize. |
| SpliteratorTester.Ordered |
Return type from "contains the following elements" assertions.
|
| TestCollectionGenerator<E> |
Creates collections, containing sample elements, to be tested.
|
| TestContainerGenerator<T,E> |
To be implemented by test generators of things that can contain elements.
|
| TestIteratorGenerator<E> |
Creates iterators to be tested.
|
| TestListGenerator<E> |
Creates sets, containing sample elements, to be tested.
|
| TestMapGenerator<K,V> |
Creates maps, containing sample elements, to be tested.
|
| TestQueueGenerator<E> |
Creates queues, containing sample elements, to be tested.
|
| TestSetGenerator<E> |
Creates sets, containing sample elements, to be tested.
|
| TestSortedMapGenerator<K,V> |
Creates sorted maps, containing sample elements, to be tested.
|
| TestSortedSetGenerator<E> |
Creates sorted sets, containing sample elements, to be tested.
|
| TestSubjectGenerator<T> |
To be implemented by test generators that can produce test subjects without requiring any
parameters.
|
| Class | Description |
|---|---|
| AbstractCollectionTester<E> |
Base class for collection testers.
|
| AbstractCollectionTestSuiteBuilder<B extends AbstractCollectionTestSuiteBuilder<B,E>,E> |
Abstract superclass of all test-suite builders for collection interfaces.
|
| AbstractContainerTester<C,E> |
Base class for testers of classes (including
Collection and Map)
that contain elements. |
| AbstractContainerTester.ArrayWithDuplicate<E> | |
| AbstractIteratorTester<E,I extends java.util.Iterator<E>> |
Most of the logic for
IteratorTester and ListIteratorTester. |
| AbstractIteratorTester.Stimulus<E,T extends java.util.Iterator<E>> | |
| AbstractMapTester<K,V> |
Base class for map testers.
|
| AbstractTester<G> |
This abstract base class for testers allows the framework to inject needed information after
JUnit constructs the instances.
|
| BaseComparable |
Simple base class to verify that we handle generics correctly.
|
| CollectionTestSuiteBuilder<E> |
Concrete instantiation of
AbstractCollectionTestSuiteBuilder for testing collections that
do not have a more specific tester like ListTestSuiteBuilder or SetTestSuiteBuilder. |
| CollectionTestSuiteBuilder.ReserializedCollectionGenerator<E> | |
| ConcurrentMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentMap
implementation.
|
| ConcurrentNavigableMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
ConcurrentNavigableMap implementation.
|
| DerivedCollectionGenerators |
Derived suite generators, split out of the suite builders so that they are available to GWT.
|
| DerivedCollectionGenerators.ForwardingTestMapGenerator<K,V> | |
| DerivedCollectionGenerators.MapEntrySetGenerator<K,V> | |
| DerivedCollectionGenerators.MapKeySetGenerator<K,V> | |
| DerivedCollectionGenerators.MapSortedKeySetGenerator<K,V> | |
| DerivedCollectionGenerators.MapValueCollectionGenerator<K,V> | |
| DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator<K,V> | |
| DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator<E> | |
| DerivedComparable |
Simple derived class to verify that we handle generics correctly.
|
| DerivedTestIteratorGenerator<E> |
Adapts a test iterable generator to give a TestIteratorGenerator.
|
| FeatureSpecificTestSuiteBuilder<B extends FeatureSpecificTestSuiteBuilder<B,G>,G> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests the object generated
by a G, selecting appropriate tests by matching them against specified features.
|
| Helpers | |
| Helpers.NullsBefore |
Compares strings in natural order except that null comes immediately before a given value.
|
| Helpers.NullsBeforeB | |
| Helpers.NullsBeforeTwo | |
| IteratorTester<E> |
A utility for testing an Iterator implementation by comparing its behavior to that of a "known
good" reference implementation.
|
| ListIteratorTester<E> |
A utility similar to
IteratorTester for testing a ListIterator against a known
good reference implementation. |
| ListTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a List
implementation.
|
| ListTestSuiteBuilder.ReserializedListGenerator<E> | |
| MapInterfaceTest<K,V> |
Tests representing the contract of
Map. |
| MapInterfaceTest.IncompatibleKeyType |
A key type that is not assignable to any classes but Object.
|
| MapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation.
|
| MapTestSuiteBuilder.ReserializedMapGenerator<K,V> | |
| MinimalCollection<E> |
A simplistic collection which implements only the bare minimum allowed by the spec, and throws
exceptions whenever it can.
|
| MinimalIterable<E> |
An implementation of
Iterable which throws an exception on all invocations of the MinimalIterable.iterator() method after the first, and whose iterator is always unmodifiable. |
| MinimalSet<E> |
A simplistic set which implements the bare minimum so that it can be used in tests without
relying on any specific Set implementations.
|
| NavigableMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableMap
implementation.
|
| NavigableMapTestSuiteBuilder.DescendingTestMapGenerator<K,V> | |
| NavigableMapTestSuiteBuilder.NavigableMapSubmapTestMapGenerator<K,V> | |
| NavigableSetTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet
implementation.
|
| NavigableSetTestSuiteBuilder.NavigableSetSubsetTestSetGenerator<E> | |
| OneSizeGenerator<T,E> |
Generator for collection of a particular size.
|
| PerCollectionSizeTestSuiteBuilder<B extends PerCollectionSizeTestSuiteBuilder<B,G,T,E>,G extends TestContainerGenerator<T,E>,T,E> |
This builder creates a composite test suite, containing a separate test suite for each
CollectionSize present in the features specified by FeatureSpecificTestSuiteBuilder.withFeatures(Feature...). |
| PerCollectionSizeTestSuiteBuilder.OneSizeTestSuiteBuilder<T,E> |
Builds a test suite for one particular
CollectionSize. |
| Platform |
Methods factored out so that they can be emulated differently in GWT.
|
| QueueTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue
implementation.
|
| ReserializingTestCollectionGenerator<E> |
Reserializes the sets created by another test set generator.
|
| ReserializingTestSetGenerator<E> |
Reserializes the sets created by another test set generator.
|
| SafeTreeMap<K,V> |
A wrapper around
TreeMap that aggressively checks to see if keys are mutually comparable. |
| SafeTreeSet<E> |
A wrapper around
TreeSet that aggressively checks to see if elements are mutually
comparable. |
| SampleElements<E> |
A container class for the five sample elements we need for testing.
|
| SampleElements.Chars | |
| SampleElements.Collider | |
| SampleElements.Colliders | |
| SampleElements.Enums | |
| SampleElements.Ints | |
| SampleElements.Strings | |
| SampleElements.Unhashables | |
| SetTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Set implementation.
|
| SetTestSuiteBuilder.ReserializedSetGenerator<E> | |
| SortedMapInterfaceTest<K,V> |
Tests representing the contract of
SortedMap. |
| SortedMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
implementation.
|
| SortedSetTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSet
implementation.
|
| SpliteratorTester<E> |
Tester for
Spliterator implementations. |
| SpliteratorTester.GeneralSpliterator<E> | |
| SpliteratorTester.GeneralSpliteratorOfObject<E> | |
| SpliteratorTester.GeneralSpliteratorOfPrimitive<E,C> | |
| TestCharacterListGenerator |
Generates
List<Character> instances for test suites. |
| TestCollidingSetGenerator |
A generator using sample elements whose hash codes all collide badly.
|
| TestEnumMapGenerator |
Implementation helper for
TestMapGenerator for use with enum maps. |
| TestEnumSetGenerator |
An abstract TestSetGenerator for generating sets containing enum values.
|
| TestIntegerSetGenerator |
Create integer sets for collection tests.
|
| TestIntegerSortedSetGenerator |
Create integer sets for testing collections that are sorted by natural ordering.
|
| TestMapEntrySetGenerator<K,V> |
Creates map entries using sample keys and sample values.
|
| TestsForListsInJavaUtil |
Generates a test suite covering the
List implementations in the java.util
package. |
| TestsForMapsInJavaUtil |
Generates a test suite covering the
Map implementations in the java.util package. |
| TestsForMapsInJavaUtil.NullFriendlyComparator<T> | |
| TestsForQueuesInJavaUtil |
Generates a test suite covering the
Queue implementations in the java.util
package. |
| TestsForSetsInJavaUtil |
Generates a test suite covering the
Set implementations in the java.util package. |
| TestsForSetsInJavaUtil.NullFriendlyComparator<T> | |
| TestStringCollectionGenerator |
String creation for testing arbitrary collections.
|
| TestStringListGenerator |
TODO: javadoc.
|
| TestStringMapGenerator |
Implementation helper for
TestMapGenerator for use with maps of strings. |
| TestStringQueueGenerator |
Create queue of strings for tests.
|
| TestStringSetGenerator |
Create string sets for collection tests.
|
| TestStringSortedMapGenerator |
Implementation helper for
TestMapGenerator for use with sorted maps of strings. |
| TestStringSortedSetGenerator |
Create string sets for testing collections that are sorted by natural ordering.
|
| TestUnhashableCollectionGenerator<T extends java.util.Collection<UnhashableObject>> |
Creates collections containing unhashable sample elements, to be tested.
|
| UnhashableObject |
An unhashable object to be used in testing as values in our collections.
|
| Enum | Description |
|---|---|
| AbstractIteratorTester.KnownOrder | |
| AnEnum |
A sample enumerated type we use for testing.
|
| DerivedCollectionGenerators.Bound |
Two bounds (from and to) define how to build a subMap.
|
| IteratorFeature |
A method supported by implementations of the
Iterator or ListIterator interface. |
| SortedMapTestSuiteBuilder.NoRecurse |
To avoid infinite recursion, test suites with these marker features won't have derived suites
created for them.
|
| SpliteratorTester.SpliteratorDecompositionStrategy |
Different ways of decomposing a Spliterator, all of which must produce the same elements (up to
ordering, if Spliterator.ORDERED is not present).
|
| WrongType |
A type which will never be used as the element type of any collection in our tests, and so can be
used to test how a Collection behaves when given input of the wrong type.
|
| Exception | Description |
|---|---|
| AbstractIteratorTester.PermittedMetaException |
Meta-exception thrown by
AbstractIteratorTester.MultiExceptionListIterator instead of
throwing any particular exception type. |
| AbstractIteratorTester.UnknownElementException |
| Annotation Type | Description |
|---|---|
| Helpers.GwtTransient |
Private replacement for
com.google.gwt.user.client.rpc.GwtTransient to work around
build-system quirks. |