Package | Description |
---|---|
com.google.common.collect.testing | |
com.google.common.collect.testing.google | |
com.google.common.collect.testing.testers |
Class and Description |
---|
AbstractCollectionTestSuiteBuilder
Abstract superclass of all test-suite builders for collection interfaces.
|
AbstractContainerTester
Base class for testers of classes (including
Collection and Map )
that contain elements. |
AbstractContainerTester.ArrayWithDuplicate |
AbstractTester
This abstract base class for testers allows the framework to inject needed information after
JUnit constructs the instances.
|
AnEnum
A sample enumerated type we use for testing.
|
BaseComparable
Simple base class to verify that we handle generics correctly.
|
CollectionTestSuiteBuilder
Concrete instantiation of
AbstractCollectionTestSuiteBuilder for testing collections that
do not have a more specific tester like ListTestSuiteBuilder or SetTestSuiteBuilder . |
ConcurrentMapTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentMap
implementation.
|
ConcurrentNavigableMapTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
ConcurrentNavigableMap implementation.
|
DerivedCollectionGenerators.Bound
Two bounds (from and to) define how to build a subMap.
|
DerivedCollectionGenerators.MapKeySetGenerator |
DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator |
DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator |
DerivedGenerator
A generator that relies on a preexisting generator for most of its work.
|
FeatureSpecificTestSuiteBuilder
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.NullsBefore
Compares strings in natural order except that null comes immediately before a given value.
|
Helpers.NullsBeforeB |
Helpers.NullsBeforeTwo |
IteratorFeature
A method supported by implementations of the
Iterator or ListIterator interface. |
ListTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a List
implementation.
|
MapInterfaceTest
Tests representing the contract of
Map . |
MapTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation.
|
MinimalCollection
A simplistic collection which implements only the bare minimum allowed by the spec, and throws
exceptions whenever it can.
|
MinimalIterable
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
A simplistic set which implements the bare minimum so that it can be used in tests without
relying on any specific Set implementations.
|
NavigableMapTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableMap
implementation.
|
NavigableSetTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet
implementation.
|
OneSizeTestContainerGenerator
The subject-generator interface accepted by Collection testers, for testing a Collection at one
particular
CollectionSize . |
PerCollectionSizeTestSuiteBuilder
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
Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue
implementation.
|
ReserializingTestCollectionGenerator
Reserializes the sets created by another test set generator.
|
SampleElements
A container class for the five sample elements we need for testing.
|
SetTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Set implementation.
|
SortedMapTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
implementation.
|
SortedSetTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSet
implementation.
|
TestCollectionGenerator
Creates collections, containing sample elements, to be tested.
|
TestContainerGenerator
To be implemented by test generators of things that can contain elements.
|
TestIntegerSetGenerator
Create integer sets for collection tests.
|
TestIteratorGenerator
Creates iterators to be tested.
|
TestListGenerator
Creates sets, containing sample elements, to be tested.
|
TestMapGenerator
Creates maps, containing sample elements, to be tested.
|
TestQueueGenerator
Creates queues, containing sample elements, to be tested.
|
TestSetGenerator
Creates sets, containing sample elements, to be tested.
|
TestSortedMapGenerator
Creates sorted maps, containing sample elements, to be tested.
|
TestSortedSetGenerator
Creates sorted sets, containing sample elements, to be tested.
|
TestStringMapGenerator
Implementation helper for
TestMapGenerator for use with maps of strings. |
TestStringSetGenerator
Create string sets for collection tests.
|
TestSubjectGenerator
To be implemented by test generators that can produce test subjects without requiring any
parameters.
|
UnhashableObject
An unhashable object to be used in testing as values in our collections.
|
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.
|
Class and Description |
---|
AbstractCollectionTester
Base class for collection testers.
|
AbstractCollectionTestSuiteBuilder
Abstract superclass of all test-suite builders for collection interfaces.
|
AbstractContainerTester
Base class for testers of classes (including
Collection and Map )
that contain elements. |
AbstractMapTester
Base class for map testers.
|
AbstractTester
This abstract base class for testers allows the framework to inject needed information after
JUnit constructs the instances.
|
AnEnum
A sample enumerated type we use for testing.
|
DerivedGenerator
A generator that relies on a preexisting generator for most of its work.
|
FeatureSpecificTestSuiteBuilder
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.
|
OneSizeTestContainerGenerator
The subject-generator interface accepted by Collection testers, for testing a Collection at one
particular
CollectionSize . |
PerCollectionSizeTestSuiteBuilder
This builder creates a composite test suite, containing a separate test suite for each
CollectionSize present in the features specified by FeatureSpecificTestSuiteBuilder.withFeatures(Feature...) . |
SampleElements
A container class for the five sample elements we need for testing.
|
TestCharacterListGenerator
Generates
List<Character> instances for test suites. |
TestCollectionGenerator
Creates collections, containing sample elements, to be tested.
|
TestCollidingSetGenerator
A generator using sample elements whose hash codes all collide badly.
|
TestContainerGenerator
To be implemented by test generators of things that can contain elements.
|
TestEnumMapGenerator
Implementation helper for
TestMapGenerator for use with enum maps. |
TestIntegerSetGenerator
Create integer sets for collection tests.
|
TestIntegerSortedSetGenerator
Create integer sets for testing collections that are sorted by natural ordering.
|
TestListGenerator
Creates sets, containing sample elements, to be tested.
|
TestMapGenerator
Creates maps, containing sample elements, to be tested.
|
TestSetGenerator
Creates sets, containing sample elements, to be tested.
|
TestSortedMapGenerator
Creates sorted maps, containing sample elements, to be tested.
|
TestSortedSetGenerator
Creates sorted sets, containing sample elements, to be tested.
|
TestStringListGenerator
TODO: javadoc.
|
TestStringMapGenerator
Implementation helper for
TestMapGenerator for use with maps of strings. |
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.
|
TestSubjectGenerator
To be implemented by test generators that can produce test subjects without requiring any
parameters.
|
TestUnhashableCollectionGenerator
Creates collections containing unhashable sample elements, to be tested.
|
UnhashableObject
An unhashable object to be used in testing as values in our collections.
|
Class and Description |
---|
AbstractCollectionTester
Base class for collection testers.
|
AbstractContainerTester
Base class for testers of classes (including
Collection and Map )
that contain elements. |
AbstractMapTester
Base class for map testers.
|
AbstractTester
This abstract base class for testers allows the framework to inject needed information after
JUnit constructs the instances.
|
Copyright © 2010–2018. All rights reserved.