Click or drag to resize

TestCalls Class

Test doubles for client-side call objects.
Inheritance Hierarchy
SystemObject
  Grpc.Core.TestingTestCalls

Namespace:  Grpc.Core.Testing
Assembly:  Grpc.Core.Testing (in Grpc.Core.Testing.dll) Version: 1.2.0-dev
Syntax
public static class TestCalls

The TestCalls type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAsyncClientStreamingCallTRequest, TResponse
Creates a test double for AsyncClientStreamingCall. Only for testing. Note: experimental API that can change or be removed without any prior notice.
Public methodStatic memberAsyncDuplexStreamingCallTResponse, TRequest
Creates a test double for AsyncDuplexStreamingCall. Only for testing. Note: experimental API that can change or be removed without any prior notice.
Public methodStatic memberAsyncServerStreamingCallTResponse
Creates a test double for AsyncServerStreamingCall. Only for testing. Note: experimental API that can change or be removed without any prior notice.
Public methodStatic memberAsyncUnaryCallTResponse
Creates a test double for AsyncUnaryCall. Only for testing. Note: experimental API that can change or be removed without any prior notice.
Top
See Also