|
Page Speed Optimization Libraries
1.13.35.1
|
#include "controller_grpc_mocks.h"
Public Member Functions | |
| MockReaderWriterT (Sequence *sequence) | |
| void | ExpectRead (const GoogleString &asciiProto) |
| void | ExpectReadFailure () |
| template<typename Matcher > | |
| void | ExpectWrite (const Matcher &matcher) |
| template<typename Matcher > | |
| void | ExpectWriteFailure (const Matcher &matcher) |
| void | ExpectFinish (const ::grpc::Status &status) |
| void | ExpectFinishAndNotify (const ::grpc::Status &status, WorkerTestBase::SyncPoint *sync) |
| void | ExpectFinishFailure () |
| MOCK_METHOD1 (WritesDone, void(void *tag)) | |
| MOCK_METHOD1 (ReadInitialMetadata, void(void *tag)) | |
| MOCK_METHOD2 (Finish, void(::grpc::Status *status, void *tag)) | |
| MOCK_METHOD2_T (Write, void(const RequestT &resp, void *tag)) | |
| MOCK_METHOD3_T (Write, void(const RequestT &resp,::grpc::WriteOptions options, void *tag)) | |
| MOCK_METHOD2_T (Read, void(ResponseT *resp, void *tag)) | |
Mock for grpc::ClientAsyncReaderWriterInterface. All callbacks are invoked asynchronously through a Sequence to mimic the equivalent gRPC behaviour which uses a gRPC CompletionQueue.
|
inline |
Matcher winds up being a complicated type that includes testing::internal stuff, so we just template on it.
1.8.6