Page Speed Optimization Libraries
1.13.35.1
|
#include "controller_grpc_mocks.h"
Public Member Functions | |
MockCentralControllerRpcServiceStub (Sequence *sequence) | |
MOCK_METHOD1 (ScheduleExpensiveOperationRaw,::grpc::ClientReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest,::net_instaweb::ScheduleExpensiveOperationResponse > *(::grpc::ClientContext *)) | |
MOCK_METHOD1 (ScheduleRewriteRaw,::grpc::ClientReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *(::grpc::ClientContext *)) | |
MOCK_METHOD3 (AsyncScheduleExpensiveOperationRaw,::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest, net_instaweb::ScheduleExpensiveOperationResponse > *(::grpc::ClientContext *,::grpc::CompletionQueue *, void *)) | |
MOCK_METHOD3 (AsyncScheduleRewriteRaw,::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *(::grpc::ClientContext *,::grpc::CompletionQueue *, void *)) | |
void | ExpectAsyncScheduleExpensiveOperation (::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest,::net_instaweb::ScheduleExpensiveOperationResponse > *rw) |
void | ExpectAsyncScheduleExpensiveOperationFailure (::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest,::net_instaweb::ScheduleExpensiveOperationResponse > *rw) |
void | ExpectAsyncScheduleRewrite (::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *rw) |
void | ExpectAsyncScheduleRewriteFailure (::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *rw) |
Mock for CentralControllerRpcServiceStub. Mostly used just to bootstrap a MockReaderWriterT, this also features deferred execution to mimic gRPC.
|
inline |
Configure the stub to invoke the callback and return rw in response to a client initiating a request.
queue
|
inline |
Configure the stub to invoke the Cancel callback and return rw in response to a client initiating a request.
queue
|
inline |
Configure the stub to invoke the callback and return rw in response to a client initiating a request.
queue
|
inline |
Configure the stub to invoke the Cancel callback and return rw in response to a client initiating a request.
queue