proxygen
|
#include <Mocks.h>
Public Member Functions | |
MOCK_METHOD1 (getPsk, folly::Optional< CachedPsk >(const std::string &identity)) | |
MOCK_METHOD2 (putPsk, void(const std::string &identity, CachedPsk)) | |
MOCK_METHOD1 (removePsk, void(const std::string &identity)) | |
Public Member Functions inherited from fizz::client::PskCache | |
virtual | ~PskCache ()=default |
virtual folly::Optional< CachedPsk > | getPsk (const std::string &identity)=0 |
virtual void | putPsk (const std::string &identity, CachedPsk)=0 |
virtual void | removePsk (const std::string &identity)=0 |
fizz::client::test::MockPskCache::MOCK_METHOD1 | ( | getPsk | , |
folly::Optional< CachedPsk > | const std::string &identity | ||
) |
fizz::client::test::MockPskCache::MOCK_METHOD1 | ( | removePsk | , |
void(const std::string &identity) | |||
) |
fizz::client::test::MockPskCache::MOCK_METHOD2 | ( | putPsk | , |
void(const std::string &identity, CachedPsk) | |||
) |