proxygen
|
Classes | |
struct | Forwarder |
Public Member Functions | |
MockTraits () | |
~MockTraits () | |
MOCK_METHOD2 (onAllocate, void(std::string *, std::string)) | |
MOCK_METHOD1 (onRecycle, void(std::string *)) | |
Static Public Attributes | |
static MockTraits * | instance |
Global Traits mock. It can't be a regular (non-global) mock because we don't have access to the instance.
Definition at line 310 of file IndexedMemPoolTest.cpp.
|
inline |
Definition at line 313 of file IndexedMemPoolTest.cpp.
|
inline |
Definition at line 317 of file IndexedMemPoolTest.cpp.
References MOCK_METHOD1, MOCK_METHOD2, and string.
MockTraits::MOCK_METHOD1 | ( | onRecycle | , |
void(std::string *) | |||
) |
MockTraits::MOCK_METHOD2 | ( | onAllocate | , |
void(std::string *, std::string) | |||
) |
|
static |
Definition at line 311 of file IndexedMemPoolTest.cpp.
Referenced by MockTraits::Forwarder::onRecycle().