proxygen
|
#include <Mocks.h>
Public Member Functions | |
MOCK_METHOD0 (generateKeyPair, void()) | |
MOCK_CONST_METHOD0 (getKeyShare, std::unique_ptr< folly::IOBuf >()) | |
MOCK_CONST_METHOD1 (generateSharedSecret, std::unique_ptr< folly::IOBuf >(folly::ByteRange keyShare)) | |
void | setDefaults () |
Public Member Functions inherited from fizz::KeyExchange | |
virtual | ~KeyExchange ()=default |
virtual void | generateKeyPair ()=0 |
virtual std::unique_ptr< folly::IOBuf > | getKeyShare () const =0 |
virtual std::unique_ptr< folly::IOBuf > | generateSharedSecret (folly::ByteRange keyShare) const =0 |
fizz::MockKeyExchange::MOCK_CONST_METHOD0 | ( | getKeyShare | , |
std::unique_ptr< folly::IOBuf > | () | ||
) |
fizz::MockKeyExchange::MOCK_CONST_METHOD1 | ( | generateSharedSecret | , |
std::unique_ptr< folly::IOBuf > | folly::ByteRange keyShare | ||
) |
fizz::MockKeyExchange::MOCK_METHOD0 | ( | generateKeyPair | , |
void() | |||
) |
|
inline |
Definition at line 26 of file Mocks.h.
References testing::_, folly::IOBuf::copyBuffer(), testing::InvokeWithoutArgs(), and ON_CALL.