|
Interface Summary |
| 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. |
| 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. |
| TestSubjectGenerator<T> |
To be implemented by test generators that can produce test subjects without
requiring any parameters. |
|
Class Summary |
| 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> |
|
| 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. |
| ConcurrentMapInterfaceTest<K,V> |
Tests representing the contract of ConcurrentMap. |
| DerivedCollectionGenerators |
Derived suite generators, split out of the suite builders so that they are available to GWT. |
| DerivedCollectionGenerators.MapEntrySetGenerator<K,V> |
|
| DerivedCollectionGenerators.MapKeySetGenerator<K,V> |
|
| DerivedCollectionGenerators.MapValueCollectionGenerator<K,V> |
|
| DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator<K,V> |
|
| DerivedComparable |
Simple derived class to verify that we handle generics correctly. |
| DerivedIteratorTestSuiteBuilder<E> |
Given a test iterable generator, builds a test suite for the
iterable's iterator, by delegating to a IteratorTestSuiteBuilder. |
| DerivedTestIteratorGenerator<E> |
Adapts a test iterable generator to give a TestIteratorGenerator. |
| ExampleIteratorTester<E> |
A non-empty tester for Iterator. |
| 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. |
| IteratorTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
an Iterator 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. |
| MapInterfaceTest<K,V> |
Tests representing the contract of Map. |
| MapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a Map implementation. |
| 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. |
| 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...). |
| 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.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. |
| 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. |
| 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. |
| 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. |
| 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 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. |