Skip to content

Commit

Permalink
Patch gRPC tests. (envoyproxy#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
jplevyak authored and PiotrSikora committed May 10, 2019
1 parent 724328c commit 0d3ba74
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/mocks/grpc/mocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,9 @@ class MockAsyncRequestCallbacks : public TypedAsyncRequestCallbacks<ResponseType
void onSuccess(std::unique_ptr<ResponseType>&& response, Tracing::Span& span) {
onSuccess_(*response, span);
}
void onSuccessRaw(Buffer::InstancePtr response, Tracing::Span& span) {
onSuccessRaw_(*response, span);
}

MOCK_METHOD1_T(onCreateInitialMetadata, void(Http::HeaderMap& metadata));
MOCK_METHOD2_T(onSuccess_, void(const ResponseType& response, Tracing::Span& span));
MOCK_METHOD2_T(onSuccessRaw_, void(Buffer::Instance& response, Tracing::Span& span));
MOCK_METHOD3_T(onFailure,
void(Status::GrpcStatus status, const std::string& message, Tracing::Span& span));
};
Expand Down

0 comments on commit 0d3ba74

Please sign in to comment.