All Classes and Interfaces

Class
Description
Skeleton for a tester of a BiMap.
Base class for collection testers.
Abstract superclass of all test-suite builders for collection interfaces.
Base class for testers of classes (including Collection and Map) that contain elements.
 
Abstract test case parent for anything implementing ListenableFuture.
Common parent class for ListIndexOfTester and ListLastIndexOfTester.
Superclass for all ListMultimap testers.
Base class for list testers.
Base class for map testers.
Superclass for all Multimap testers.
Base class for multiset collection tests.
Automatically runs sanity checks against top level classes in the same package of the test that extends AbstractPackageSanityTests.
Base class for queue collection tests.
 
This abstract base class for testers allows the framework to inject needed information after JUnit constructs the instances.
A sample enumerated type we use for testing.
Supplies an arbitrary "default" instance for a wide range of types, often useful in testing utilities.
Simple base class to verify that we handle generics correctly.
Tester for BiMap.clear.
Tester for BiMap.entrySet and methods on the entries in the set.
Generators of various BiMaps and derived collections.
 
 
 
Tests for the inverse view of a BiMap.
Tester for BiMap.put and BiMap.forcePut.
Tester for BiMap.remove.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a BiMap implementation.
Tester that runs automated sanity tests for any given class.
A generic JUnit test which tests addAll operations on a collection.
A generic JUnit test which tests add operations on a collection.
A generic JUnit test which tests clear() operations on a collection.
A generic JUnit test which tests containsAll() operations on a collection.
A generic JUnit test which tests contains() operations on a collection.
A generic JUnit test which tests creation (typically through a constructor or static factory method) of a collection.
Optional features of classes derived from Collection.
 
A generic JUnit test which tests forEach operations on a collection.
A generic JUnit test which tests isEmpty() operations on a collection.
A generic JUnit test which tests iterator operations on a collection.
A generic JUnit test which tests removeAll operations on a collection.
A generic JUnit test which tests remove operations on a collection.
A generic JUnit test which tests retainAll operations on a collection.
Basic reserialization test for collection types that must preserve equals() behavior when reserialized.
Basic reserialization test for collections.
When describing the features of the collection produced by a given generator (i.e. in a call to FeatureSpecificTestSuiteBuilder.withFeatures(Feature...)), this annotation specifies each of the different sizes for which a test suite should be built.
 
A generic JUnit test which tests size() operations on a collection.
A generic JUnit test which tests spliterator operations on a collection.
A generic JUnit test which tests stream operations on a collection.
Concrete instantiation of AbstractCollectionTestSuiteBuilder for testing collections that do not have a more specific tester like ListTestSuiteBuilder or SetTestSuiteBuilder.
A generic JUnit test which tests toArray() operations on a collection.
A generic JUnit test which tests toString() operations on a collection.
A generic JUnit test which tests putIfAbsent operations on a concurrent map.
A generic JUnit test which tests replace(K, V, V) operations on a concurrent map.
A generic JUnit test which tests replace(K, V) operations on a concurrent map.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentMap implementation.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentNavigableMap implementation.
Thrown when requirements on a tester method or class conflict with each other.
Derived suite generators, split out of the suite builders so that they are available to GWT.
Two bounds (from and to) define how to build a subMap.
 
 
 
 
 
 
Simple derived class to verify that we handle generics correctly.
A generator that relies on a preexisting generator for most of its work.
Derived suite generators for Guava collection interfaces, split out of the suite builders so that they are available to GWT.
 
 
 
Adapts a test iterable generator to give a TestIteratorGenerator.
Tester for equals() and hashCode() methods of a class.
Tester for Equivalence relationships between groups of objects.
Extra assert methods for testing Escaper implementations.
A Ticker whose value can be advanced programmatically in test.
Base class for enumerating the features of an interface to be tested.
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.
Utilities for collecting and validating tester requirements from annotations.
Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with the same parameters forwarded and return value forwarded back or exception propagated as is.
Testing utilities relating to garbage collection finalization.
A predicate that is expected to return true subsequent to finalization, that is, one of the following actions taken by the garbage collector when performing a full collection in response to System.gc(): invoking the finalize methods of unreachable objects clearing weak references to unreachable referents enqueuing weak references to unreachable referents in their reference queue
 
Compares strings in natural order except that null comes immediately before a given value.
 
 
A method supported by implementations of the Iterator or ListIterator interface.
A utility for testing an Iterator implementation by comparing its behavior to that of a "known good" reference implementation.
A generic JUnit test which tests addAll(int, Collection) operations on a list.
A generic JUnit test which tests addAll(Collection) operations on a list.
A generic JUnit test which tests add(int, Object) operations on a list.
A generic JUnit test which tests add(Object) operations on a list.
A generic JUnit test which tests creation (typically through a constructor or static factory method) of a list.
Optional features of classes derived from List.
 
Common generators of different types of lists.
 
 
 
 
 
 
 
 
 
 
A generic JUnit test which tests get() operations on a list.
A generic JUnit test which tests indexOf() operations on a list.
A utility similar to IteratorTester for testing a ListIterator against a known good reference implementation.
A generic JUnit test which tests lastIndexOf() operations on a list.
A generic JUnit test which tests listIterator operations on a list.
Testers for ListMultimap.asMap().
Testers for ListMultimap.equals(Object).
Testers for Multimap.putAll(Object, Iterable).
Testers for Multimap.put(Object, Object).
Testers for Multimap.remove(Object, Object).
Testers for ListMultimap.replaceValues(Object, Iterable).
Creates, based on your criteria, a JUnit test suite that exhaustively tests a ListMultimap implementation.
A generic JUnit test which tests removeAll operations on a list.
A generic JUnit test which tests remove(int) operations on a list.
A generic JUnit test which tests remove(Object) operations on a list.
A generic JUnit test which tests retainAll operations on a list.
A generic JUnit test which tests set() operations on a list.
A generic JUnit test which tests subList() operations on a list.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a List implementation.
A generic JUnit test which tests toArray() operations on a list.
A generic JUnit test which tests clear() operations on a map.
A generic JUnit test which tests containsKey() operations on a map.
A generic JUnit test which tests containsValue() operations on a map.
A generic JUnit test which tests creation (typically through a constructor or static factory method) of a map.
Optional features of classes derived from Map.
 
Generators of different types of map and related collections, such as keys, entries and values.
 
 
 
 
 
 
 
 
 
 
A generic JUnit test which tests Map.getOrDefault(java.lang.Object, V).
A generic JUnit test which tests get operations on a map.
Tests representing the contract of Map.
A generic JUnit test which tests isEmpty() operations on a map.
A generic JUnit test which tests putAll operations on a map.
A generic JUnit test which tests Map.putIfAbsent(K, V).
A generic JUnit test which tests put operations on a map.
A generic JUnit test which tests remove operations on a map.
A generic JUnit test which tests replaceAll() operations on a map.
A generic JUnit test which tests Map.replace(Object, Object, Object).
A generic JUnit test which tests Map.replace(Object, Object).
Basic serialization test for maps.
A generic JUnit test which tests size() operations on a map.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation.
A generic JUnit test which tests toString() operations on a map.
A simplistic collection which implements only the bare minimum allowed by the spec, and throws exceptions whenever it can.
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.
A simplistic set which implements the bare minimum so that it can be used in tests without relying on any specific Set implementations.
A simple mock implementation of Runnable that can be used for testing ListenableFutures.
Tests for Multimap.asMap().get(Object).
Tests for Multimap.asMap().
Tests for Multimap.clear().
Tester for Multimap.containsEntry(java.lang.Object, java.lang.Object).
Tester for the containsKey methods of Multimap and its asMap() view.
Tester for Multimap.containsValue(java.lang.Object).
Tester for Multimap.entries.
Tester for Multimap.equals.
Optional features of classes derived from Multimap.
 
Tests for Multimap.get(Object).
Tester for Multimap.keySet.
Tester for Multimap.entries.
Tester for Multimap.putAll(Multimap).
Tests for Multimap.putAll(Object, Iterable).
Tester for Multimap.put(K, V).
Tests for Multimap.removeAll(Object).
Tests for Multimap.remove(Object, Object).
Tests for Multimap.replaceValues(Object, Iterable).
Tester for the size methods of Multimap and its views.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Multimap implementation.
Tester for Multimap.toString().
Tester for Multimap.values.
Tests for Multiset.add.
Tests for Multiset.containsAll not already addressed by CollectionContainsTester.
Tests for Multiset#count.
Tests for Multiset.elementSet() not covered by the derived SetTestSuiteBuilder.
Tests for Multiset.entrySet.
Tests for Multiset.equals and Multiset.hashCode.
Optional features of classes derived from Multiset.
 
Tester to make sure the iterator().remove() implementation of Multiset works when there are multiple occurrences of elements.
Tester for navigation of SortedMultisets.
A generic JUnit test which tests multiset-specific read operations.
Tests for Multiset#remove, Multiset.removeAll, and Multiset.retainAll not already covered by the corresponding Collection testers.
A generic JUnit test which tests multiset-specific serialization.
A generic JUnit test which tests conditional setCount() operations on a multiset.
A generic JUnit test which tests unconditional setCount() operations on a multiset.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Multiset implementation.
 
A generic JUnit test which tests operations on a NavigableMap.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableMap implementation.
 
A generic JUnit test which tests operations on a NavigableSet.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet implementation.
 
A test utility that verifies that your methods and constructors throw NullPointerException or UnsupportedOperationException whenever null is passed to a parameter whose declaration or type isn't annotated with an annotation with the simple name Nullable, CheckForNull, NullableType, or NullableDecl.
Visibility of any method or constructor.
Generator for collection of a particular size.
The subject-generator interface accepted by Collection testers, for testing a Collection at one particular CollectionSize.
This builder creates a composite test suite, containing a separate test suite for each CollectionSize present in the features specified by FeatureSpecificTestSuiteBuilder.withFeatures(Feature...).
A generic JUnit test which tests element() operations on a queue.
A generic JUnit test which tests offer operations on a queue.
A generic JUnit test which tests peek() operations on a queue.
A generic JUnit test which tests poll() operations on a queue.
A generic JUnit test which tests remove() operations on a queue.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue implementation.
Reserializes the sets created by another test set generator.
Reserializes the sets created by another test set generator.
A wrapper around TreeMap that aggressively checks to see if keys are mutually comparable.
A wrapper around TreeSet that aggressively checks to see if elements are mutually comparable.
A container class for the five sample elements we need for testing.
 
 
 
 
 
 
Tests serialization and deserialization of an object, optionally asserting that the resulting object is equal to the original.
A generic JUnit test which tests addAll operations on a set.
A generic JUnit test which tests add operations on a set.
A generic JUnit test which tests creation (typically through a constructor or static factory method) of a set.
Optional features of classes derived from Set.
 
Generators of different types of sets and derived collections from sets.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Testers for SetMultimap.asMap().
Testers for SetMultimap.equals(Object).
Tests for SetMultimap.replaceValues(K, java.lang.Iterable<? extends V>).
Tests for SetMultimap.replaceValues(K, java.lang.Iterable<? extends V>).
Tests for SetMultimap.replaceValues(K, java.lang.Iterable<? extends V>).
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SetMultimap implementation.
A generic JUnit test which tests remove operations on a set.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Set implementation.
Simple utility for when you want to create a TearDown that may throw an exception but should not fail a test when it does.
Generators of sorted maps and derived collections.
 
 
 
 
 
Tests representing the contract of SortedMap.
A generic JUnit test which tests operations on a SortedMap.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap implementation.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMultiset implementation.
Testers for SortedSetMultimap.asMap().
Tester for SortedSetMultimap.get(Object).
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSetMultimap implementation.
A generic JUnit test which tests operations on a SortedSet.
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSet implementation.
Tester for Spliterator implementations.
Return type from "contains the following elements" assertions.
An object that can perform a TearDown.tearDown() operation.
Any object which can accept registrations of TearDown instances.
A TearDownStack contains a stack of TearDown instances.
Creates bimaps, containing sample entries, to be tested.
Generates List<Character> instances for test suites.
Creates collections, containing sample elements, to be tested.
A generator using sample elements whose hash codes all collide badly.
To be implemented by test generators of things that can contain elements.
Implementation helper for TestMapGenerator for use with enum maps.
An abstract TestMultisetGenerator for generating multisets containing enum values.
An abstract TestSetGenerator for generating sets containing enum values.
Use this to meta-annotate XxxFeature.Require annotations, so that those annotations can be used to decide whether to apply a test to a given class-under-test.
Encapsulates the constraints that a class under test must satisfy in order for a tester method to be run against that class.
Factory methods for ExecutorService for testing.
Create integer sets for collection tests.
Create integer sets for testing collections that are sorted by natural ordering.
Creates iterators to be tested.
Creates sets, containing sample elements, to be tested.
A generator for ListMultimap implementations based on test data.
Tests may use this to intercept messages that are logged by the code under test.
Creates map entries using sample keys and sample values.
Creates maps, containing sample elements, to be tested.
Creates multimaps, containing sample elements, to be tested.
Creates multisets, containing sample elements, to be tested.
Creates queues, containing sample elements, to be tested.
Creates sets, containing sample elements, to be tested.
A generator for SetMultimap implementations based on test data.
Generates a test suite covering the List implementations in the java.util package.
Generates a test suite covering the Map implementations in the java.util package.
Generates a test suite covering the Queue implementations in the java.util package.
Generates a test suite covering the Set implementations in the java.util package.
Creates sorted maps, containing sample elements, to be tested.
Creates sorted sets, containing sample elements, to be tested.
Implementation helper for TestBiMapGenerator for use with bimaps of strings.
String creation for testing arbitrary collections.
TODO: javadoc.
A skeleton generator for a ListMultimap implementation.
Implementation helper for TestMapGenerator for use with maps of strings.
Create multisets of strings for tests.
Create queue of strings for tests.
Create string sets for collection tests.
A skeleton generator for a SetMultimap implementation.
Implementation helper for TestMapGenerator for use with sorted maps of strings.
Create string sets for testing collections that are sorted by natural ordering.
To be implemented by test generators that can produce test subjects without requiring any parameters.
Creates collections containing unhashable sample elements, to be tested.
An unhashable object to be used in testing as values in our collections.
A series of tests that support asserting that collections cannot be modified, either through direct or indirect means.
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.