Skip to content

Commit

Permalink
Add a new mock method for sendHeadersWithOptionalEOM
Browse files Browse the repository at this point in the history
Reviewed By: hanidamlaj

Differential Revision: D60680305

fbshipit-source-id: d20e2d987d85fa7aae0023e11177edca9e8baa8d
  • Loading branch information
Jorge Lopez Silva authored and facebook-github-bot committed Aug 13, 2024
1 parent c91d2b7 commit da4a0f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proxygen/lib/http/session/test/HTTPTransactionMocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,9 @@ class MockHTTPTransaction : public HTTPTransaction {
MOCK_METHOD(bool, canSendHeaders, (), (const));
MOCK_METHOD(void, sendHeaders, (const HTTPMessage& headers));
MOCK_METHOD(void, sendHeadersWithEOM, (const HTTPMessage& headers));
MOCK_METHOD(void,
sendHeadersWithOptionalEOM,
(const HTTPMessage& headers, bool eom));
MOCK_METHOD(void, sendBody, (std::shared_ptr<folly::IOBuf>));

void sendBody(std::unique_ptr<folly::IOBuf> iob) noexcept override {
Expand Down

0 comments on commit da4a0f5

Please sign in to comment.