# Functions
CanReplay reports whether an integration test can be run in replay mode.
Credentials returns the credentials to use in integration tests, or nil if none is configured.
CredentialsEnv returns the credentials to use in integration tests, or nil if none is configured.
DefaultHeadersEnforcer returns a HeadersEnforcer that at bare minimum checks that the "x-goog-api-client" key is present in the outgoing metadata headers.
Diff reports the differences between two values.
Equal tests two values for equality.
JWTConfig reads the JSON private key file whose name is in the default environment variable, and returns the jwt.Config it contains.
NewRand creates a new *rand.Rand seeded with t.
NewServer creates a new Server.
NewServerWithPort creates a new Server at a specific port.
NewTestExporter creates a TestExporter and registers it with OpenCensus.
PageBounds converts an incoming page size and token from an RPC request into slice bounds and the outgoing next-page token.
ProjID returns the project ID to use in integration tests, or the empty string if none is configured.
TokenSource returns the OAuth2 token source to use in integration tests, or nil if none is configured.
TokenSourceEnv returns the OAuth2 token source to use in integration tests.
# Variables
XGoogClientHeaderChecker is a HeaderChecker that ensures that the "x-goog-api-client" header is present on outgoing metadata.
# Structs
ErroringTokenSource is a token source for testing purposes, to always return a non-nil error to its caller.
HeaderChecker defines header checking and validation rules for any outgoing metadata.
HeadersEnforcer asserts that outgoing RPC headers are present and match expectations.
A Server is an in-process gRPC server, listening on a system-chosen port on the local loopback interface.
TestExporter is a test utility exporter.