Uses of Annotation Interface
com.google.common.testing.ElementTypesAreNonnullByDefault
Packages that use ElementTypesAreNonnullByDefault
-
Uses of ElementTypesAreNonnullByDefault in com.google.common.testing
Classes in com.google.common.testing with annotations of type ElementTypesAreNonnullByDefaultModifier and TypeClassDescriptionclass
Automatically runs sanity checks against top level classes in the same package of the test that extendsAbstractPackageSanityTests
.final class
Supplies an arbitrary "default" instance for a wide range of types, often useful in testing utilities.(package private) final class
AnClusterException
is a data structure that allows for some code to "throw multiple exceptions", or something close to it.final class
CollectorTester<T,
A, R> Tester forCollector
implementations.(package private) class
Generates a dummy interface proxy that simply returns a dummy value for each method.final class
Tester for equals() and hashCode() methods of a class.final class
Tester forEquivalence
relationships between groups of objects.class
A Ticker whose value can be advanced programmatically in test.final class
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.final class
Testing utilities relating to garbage collection finalization.final class
A 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
.(package private) final class
Methods factored out so that they can be emulated differently in GWT.(package private) final class
Implementation helper forEqualsTester
andEquivalenceTester
that tests for equivalence classes.final class
Tests serialization and deserialization of an object, optionally asserting that the resulting object is equal to the original.class
Simple utility for when you want to create aTearDown
that may throw an exception but should not fail a test when it does.interface
An object that can perform aTearDown.tearDown()
operation.interface
Any object which can accept registrations ofTearDown
instances.class
ATearDownStack
contains a stack ofTearDown
instances.class
Tests may use this to intercept messages that are logged by the code under test.