A B C D F G I L N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- after() - Method in class io.grpc.testing.GrpcCleanupRule
-
Releases all the registered resources.
- after() - Method in class io.grpc.testing.GrpcServerRule
-
After the test has completed, clean up the channel and server.
- apply(Statement, Description) - Method in class io.grpc.testing.GrpcCleanupRule
- awaitCompletion() - Method in class io.grpc.testing.StreamRecorder
-
Deprecated.Waits for the stream to terminate.
- awaitCompletion(int, TimeUnit) - Method in class io.grpc.testing.StreamRecorder
-
Deprecated.Waits a fixed timeout for the stream to terminate.
B
- before() - Method in class io.grpc.testing.GrpcServerRule
-
Before the test has started, create the server and channel.
C
- create() - Static method in class io.grpc.testing.StreamRecorder
-
Deprecated.Creates a new recorder.
D
- directExecutor() - Method in class io.grpc.testing.GrpcServerRule
-
Returns
thisconfigured to use a direct executor for theManagedChannelandServer.
F
- firstValue() - Method in class io.grpc.testing.StreamRecorder
-
Deprecated.Returns a
ListenableFuturefor the first value received from the stream.
G
- getChannel() - Method in class io.grpc.testing.GrpcServerRule
-
Returns a
ManagedChannelconnected to this service. - getError() - Method in class io.grpc.testing.StreamRecorder
-
Deprecated.Returns the stream terminating error.
- getServer() - Method in class io.grpc.testing.GrpcServerRule
-
Returns the underlying gRPC
Serverfor this service. - getServerName() - Method in class io.grpc.testing.GrpcServerRule
-
Returns the randomly generated server name for this service.
- getServiceRegistry() - Method in class io.grpc.testing.GrpcServerRule
-
Returns the service registry for this service.
- getValues() - Method in class io.grpc.testing.StreamRecorder
-
Deprecated.Returns the current set of received values.
- GrpcCleanupRule - Class in io.grpc.testing
-
A JUnit
ExternalResourcethat can register gRPC resources and manages its automatic release at the end of the test. - GrpcCleanupRule() - Constructor for class io.grpc.testing.GrpcCleanupRule
- GrpcServerRule - Class in io.grpc.testing
-
GrpcServerRuleis a JUnitTestRulethat starts an in-process gRPC service with aMutableHandlerRegistryfor adding services. - GrpcServerRule() - Constructor for class io.grpc.testing.GrpcServerRule
I
- io.grpc.testing - package io.grpc.testing
-
API that is useful for testing gRPC.
L
- loadCert(String) - Static method in class io.grpc.testing.TlsTesting
-
Retrieves the specified test certificate or key resource in src/main/resources/certs/ as an
InputStream. - loadX509Cert(String) - Static method in class io.grpc.testing.TestUtils
-
Deprecated.Not for public use
N
- newSslSocketFactoryForCa(Provider, File) - Static method in class io.grpc.testing.TestUtils
-
Deprecated.Not for public use
O
- onCompleted() - Method in class io.grpc.testing.StreamRecorder
-
Deprecated.
- onError(Throwable) - Method in class io.grpc.testing.StreamRecorder
-
Deprecated.
- onNext(T) - Method in class io.grpc.testing.StreamRecorder
-
Deprecated.
P
- preferredTestCiphers() - Static method in class io.grpc.testing.TestUtils
-
Deprecated.Not for public use
R
- recordRequestHeadersInterceptor(AtomicReference<Metadata>) - Static method in class io.grpc.testing.TestUtils
-
Capture the request headers from a client.
- register(T) - Method in class io.grpc.testing.GrpcCleanupRule
-
Registers the given channel to the rule.
S
- setTimeout(long, TimeUnit) - Method in class io.grpc.testing.GrpcCleanupRule
-
Sets a positive total time limit for the automatic resource cleanup.
- StreamRecorder<T> - Class in io.grpc.testing
-
Deprecated.Not for public use
T
- TestMethodDescriptors - Class in io.grpc.testing
-
A collection of method descriptor constructors useful for tests.
- TestUtils - Class in io.grpc.testing
-
Common utility functions useful for writing tests.
- TlsTesting - Class in io.grpc.testing
-
Convenience utilities for using TLS in tests.
V
- voidMarshaller() - Static method in class io.grpc.testing.TestMethodDescriptors
-
Creates a new marshaller that does nothing.
- voidMethod() - Static method in class io.grpc.testing.TestMethodDescriptors
-
Creates a new method descriptor that always creates zero length messages, and always parses to null objects.
All Classes All Packages