| Package | Description |
|---|---|
| com.google.common.testing |
This package contains testing utilities.
|
| Class and Description |
|---|
| ClassSanityTester
Tester that runs automated sanity tests for any given class.
|
| ClassSanityTester.FactoryMethodReturnValueTester
Runs sanity tests against return values of static factory methods declared by a class.
|
| CollectorTester
Tester for
Collector implementations. |
| EqualsTester
Tester for equals() and hashCode() methods of a class.
|
| EquivalenceTester
Tester for
Equivalence relationships between groups of objects. |
| FakeTicker
A Ticker whose value can be advanced programmatically in test.
|
| ForwardingWrapperTester
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.
|
| GcFinalization.FinalizationPredicate
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
|
| NullPointerTester
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, , NullableType, or NullableDecl. |
| NullPointerTester.Visibility
Visibility of any method or constructor.
|
| TearDown
An object that can perform a
TearDown.tearDown() operation. |
| TearDownAccepter
Any object which can accept registrations of
TearDown instances. |
Copyright © 2010–2019. All rights reserved.