Uses of Package
com.google.common.testing
Packages that use com.google.common.testing
-
Classes in com.google.common.testing used by com.google.common.testingClassDescriptionTester that runs automated sanity tests for any given class.Thrown if the test tries to invoke a static factory method to test instance methods but the factory returned null.Runs sanity tests against return values of static factory methods declared by a class.Thrown if the test fails to generate two distinct non-null values of a constructor or factory parameter in order to test
Object.equals(java.lang.Object)
andObject.hashCode()
of the declaring class.Thrown if the test tries to invoke a constructor or static factory method but failed because the dummy value of a constructor or method parameter is unknown.Tester forCollector
implementations.Different orderings for combining the elements of an input array, which must all produce the same result.Generates a dummy interface proxy that simply returns a dummy value for each method.Marks all "top-level" types as non-null in a way that is recognized by Kotlin.Tester for equals() and hashCode() methods of a class.Class used to test whether equals() correctly handles an instance of an incompatible class.Tester forEquivalence
relationships between groups of objects.A Ticker whose value can be advanced programmatically in test.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.Generates fresh instances of types that are different from each other (if possible).Annotates a method to generate the "empty" instance of a collection.Annotates a method to be the instance generator of a certain type.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 toSystem.gc()
: invoking thefinalize
methods of unreachable objects clearing weak references to unreachable referents enqueuing weak references to unreachable referents in their reference queueA test utility that verifies that your methods and constructors throwNullPointerException
orUnsupportedOperationException
whenever null is passed to a parameter whose declaration or type isn't annotated with an annotation with the simple nameNullable
,CheckForNull
,NullableType
, orNullableDecl
.Strategy for exception type matching used byNullPointerTester
.Looks for declaration nullness annotations and, if supported, type-use nullness annotations.Visibility of any method or constructor.Implementation helper forEqualsTester
andEquivalenceTester
that tests for equivalence classes.An object that can perform aTearDown.tearDown()
operation.Any object which can accept registrations ofTearDown
instances.