|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| 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
|
| TearDown | An object that can perform a TearDown.tearDown() operation. |
| TearDownAccepter | Any object which can accept registrations of TearDown instances. |
| Class Summary | |
|---|---|
| AbstractPackageSanityTests | Automatically runs sanity checks against top level classes in the same package of the test that
extends AbstractPackageSanityTests. |
| ArbitraryInstances | Supplies an arbitrary "default" instance for a wide range of types, often useful in testing utilities. |
| ClassSanityTester | Tester that runs automated sanity tests for any given class. |
| EqualsTester | Tester for equals() and hashCode() methods of a class. |
| EquivalenceTester<T> | Tester for Equivalence relationships between groups of objects. |
| FakeTicker | A Ticker whose value can be advanced programmatically in test. |
| FluentAsserts | JDK5 hack for Truth that reduces generics and eases type inference. |
| 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 | Testing utilities relating to garbage collection finalization. |
| NullPointerTester | A test utility that verifies that your methods and constructors throw NullPointerException or UnsupportedOperationException whenever null
is passed to a parameter that isn't annotated with Nullable. |
| SerializableTester | Tests serialization and deserialization of an object, optionally asserting that the resulting object is equal to the original. |
| SloppyTearDown | Simple utility for when you want to create a TearDown that may throw
an exception but should not fail a test when it does. |
| TearDownStack | A TearDownStack contains a stack of TearDown instances. |
| TestLogHandler | Tests may use this to intercept messages that are logged by the code under test. |
| Enum Summary | |
|---|---|
| NullPointerTester.Visibility | Visibility of any method or constructor. |
This package contains testing utilities. It is a part of the open-source Guava libraries.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||