proxygen
|
Public Member Functions | |
void | basicTest () |
void | testFilters (const std::deque< TestFilter< Owned > * > &filters, MockTesterCallback *expectedCb) |
void | SetUp () override |
FilterChain< TesterInterface, TesterInterface::Callback, TestFilter< Owned >,&TesterInterface::setCallback, Owned > & | chain () |
template<typename FilterT > | |
std::enable_if<!Owned, FilterT * >::type | getFilter () |
template<typename FilterT > | |
std::enable_if< Owned, unique_ptr< FilterT > >::type | getFilter () |
template<typename FilterT > | |
void | addFilterToChain (std::deque< TestFilter< Owned > * > &refs) |
std::deque< TestFilter< Owned > * > | getRandomFilters (unsigned num) |
Public Member Functions inherited from testing::Test | |
virtual | ~Test () |
virtual | ~Test () |
virtual | ~Test () |
Public Attributes | |
MockTesterCallback | callback_ |
unique_ptr< FilterChain< TesterInterface, TesterInterface::Callback, TestFilter< Owned >,&TesterInterface::setCallback, Owned > > | chain_ |
MockTester * | actor_ {nullptr} |
Additional Inherited Members | |
Public Types inherited from testing::Test | |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
Static Public Member Functions inherited from testing::Test | |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
static bool | HasFailure () |
static void | RecordProperty (const std::string &key, const std::string &value) |
static void | RecordProperty (const std::string &key, int value) |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
static bool | HasFailure () |
static void | RecordProperty (const std::string &key, const std::string &value) |
static void | RecordProperty (const std::string &key, int value) |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
static bool | HasFailure () |
static void | RecordProperty (const std::string &key, const std::string &value) |
static void | RecordProperty (const std::string &key, int value) |
Protected Member Functions inherited from testing::Test | |
Test () | |
virtual void | TearDown () |
Test () | |
virtual void | TearDown () |
Test () | |
virtual void | TearDown () |
Definition at line 132 of file GenericFilterTest.cpp.
|
inline |
Definition at line 165 of file GenericFilterTest.cpp.
References f, detail::get_pointer(), folly::gen::move, and refs.
void GenericFilterTest< Owned >::basicTest | ( | ) |
Definition at line 198 of file GenericFilterTest.cpp.
References callback_, and EXPECT_CALL.
|
inline |
Definition at line 150 of file GenericFilterTest.cpp.
|
inline |
Definition at line 155 of file GenericFilterTest.cpp.
|
inline |
Definition at line 160 of file GenericFilterTest.cpp.
|
inline |
|
inlineoverridevirtual |
Reimplemented from testing::Test.
Definition at line 139 of file GenericFilterTest.cpp.
References callback_, folly::make_unique(), and TesterInterface::setCallback().
void GenericFilterTest< Owned >::testFilters | ( | const std::deque< TestFilter< Owned > * > & | filters, |
MockTesterCallback * | expectedCb | ||
) |
Definition at line 211 of file GenericFilterTest.cpp.
References EXPECT_CALL, EXPECT_EQ, and f.
MockTester* GenericFilterTest< Owned >::actor_ {nullptr} |
Definition at line 194 of file GenericFilterTest.cpp.
MockTesterCallback GenericFilterTest< Owned >::callback_ |
Definition at line 190 of file GenericFilterTest.cpp.
unique_ptr<FilterChain<TesterInterface, TesterInterface::Callback, TestFilter<Owned>, &TesterInterface::setCallback, Owned> > GenericFilterTest< Owned >::chain_ |
Definition at line 193 of file GenericFilterTest.cpp.