proxygen
|
#include <Mocks.h>
Public Member Functions | |
MOCK_METHOD1 (appendToTranscript, void(const Buf &transcript)) | |
MOCK_CONST_METHOD0 (getHandshakeContext, Buf()) | |
MOCK_CONST_METHOD1 (getFinishedData, Buf(folly::ByteRange baseKey)) | |
MOCK_CONST_METHOD0 (getBlankContext, folly::ByteRange()) | |
void | setDefaults () |
Public Member Functions inherited from fizz::HandshakeContext | |
virtual | ~HandshakeContext ()=default |
virtual void | appendToTranscript (const Buf &transcript)=0 |
virtual Buf | getHandshakeContext () const =0 |
virtual Buf | getFinishedData (folly::ByteRange baseKey) const =0 |
virtual folly::ByteRange | getBlankContext () const =0 |
fizz::test::MockHandshakeContext::MOCK_CONST_METHOD0 | ( | getHandshakeContext | , |
Buf() | |||
) |
fizz::test::MockHandshakeContext::MOCK_CONST_METHOD0 | ( | getBlankContext | , |
folly::ByteRange() | |||
) |
fizz::test::MockHandshakeContext::MOCK_CONST_METHOD1 | ( | getFinishedData | , |
Buf(folly::ByteRange baseKey) | |||
) |
fizz::test::MockHandshakeContext::MOCK_METHOD1 | ( | appendToTranscript | , |
void(const Buf &transcript) | |||
) |
|
inline |
Definition at line 83 of file Mocks.h.
References testing::_, folly::IOBuf::copyBuffer(), fizz::detail::getFinishedData(), testing::InvokeWithoutArgs(), and ON_CALL.