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> |
|
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.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.
|
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.
|
NavigableMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a NavigableMap implementation.
|
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> |
|
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 |
|
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 |
|
TestStringQueueGenerator |
Create queue of strings for tests.
|
TestStringSetGenerator |
Create string sets for collection tests.
|
TestStringSortedMapGenerator |
|
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.
|