proxygen
|
#include <deque>
#include <folly/Memory.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
#include <map>
#include <proxygen/lib/utils/FilterChain.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
class | TesterInterface |
class | TesterInterface::Callback |
class | MockTester |
class | MockTesterCallback |
class | TestFilter< Owned > |
class | TestFilterNoCallback< Owned > |
class | TestFilterNoCall< Owned > |
class | TestFilterNoCallbackNoCall< Owned > |
class | GenericFilterTest< Owned > |
class | TestFilterOddDeleteDo |
class | TestFilterOddDeleteOn< Owned > |
Namespaces | |
detail | |
Typedefs | |
using | OwnedGenericFilterTest = GenericFilterTest< true > |
using | UnownedGenericFilterTest = GenericFilterTest< false > |
using OwnedGenericFilterTest = GenericFilterTest<true> |
Definition at line 241 of file GenericFilterTest.cpp.
using UnownedGenericFilterTest = GenericFilterTest<false> |
Definition at line 242 of file GenericFilterTest.cpp.
std::enable_if<Owned, unique_ptr<MockTester> >::type getTester | ( | ) |
Definition at line 122 of file GenericFilterTest.cpp.
std::enable_if<!Owned, MockTester*>::type getTester | ( | ) |
Definition at line 127 of file GenericFilterTest.cpp.
TEST_F | ( | OwnedGenericFilterTest | , |
EmptyChain | |||
) |
Definition at line 244 of file GenericFilterTest.cpp.
References folly::basicTest().
TEST_F | ( | OwnedGenericFilterTest | , |
SingleElemChain | |||
) |
Definition at line 248 of file GenericFilterTest.cpp.
References folly::basicTest(), EXPECT_EQ, folly::pushmi::operators::filter, and folly::gen::move.
TEST_F | ( | OwnedGenericFilterTest | , |
MultiElemChain | |||
) |
Definition at line 259 of file GenericFilterTest.cpp.
References folly::basicTest(), TestFilter< Owned >::do_, EXPECT_EQ, folly::gen::move, and TestFilter< Owned >::on_.
TEST_F | ( | OwnedGenericFilterTest | , |
MultiElemMultiAdd | |||
) |
Definition at line 276 of file GenericFilterTest.cpp.
References folly::basicTest(), EXPECT_EQ, folly::pushmi::operators::filter, i, and folly::gen::move.
TEST_F | ( | OwnedGenericFilterTest | , |
Wants | |||
) |
Definition at line 290 of file GenericFilterTest.cpp.
References folly::basicTest(), TestFilter< Owned >::do_, EXPECT_EQ, folly::gen::move, and TestFilter< Owned >::on_.
TEST_F | ( | OwnedGenericFilterTest | , |
WantsMultiAdd | |||
) |
Definition at line 315 of file GenericFilterTest.cpp.
References folly::basicTest(), TestFilter< Owned >::do_, EXPECT_EQ, folly::gen::move, and TestFilter< Owned >::on_.
TEST_F | ( | OwnedGenericFilterTest | , |
WantsMultiAddHard | |||
) |
TEST_F | ( | OwnedGenericFilterTest | , |
ChangeCallback | |||
) |
Definition at line 357 of file GenericFilterTest.cpp.
References folly::basicTest(), TestFilter< Owned >::do_, EXPECT_CALL, EXPECT_EQ, f, folly::gen::move, and TestFilter< Owned >::on_.
TEST_F | ( | UnownedGenericFilterTest | , |
All | |||
) |
TEST_F | ( | OwnedGenericFilterTest | , |
SetNullCb | |||
) |
Definition at line 400 of file GenericFilterTest.cpp.
TEST_F | ( | UnownedGenericFilterTest | , |
DeleteDo | |||
) |
Definition at line 446 of file GenericFilterTest.cpp.
References folly::basicTest(), EXPECT_CALL, EXPECT_EQ, and i.
TEST_F | ( | UnownedGenericFilterTest | , |
DeleteOn | |||
) |
Definition at line 485 of file GenericFilterTest.cpp.
References folly::basicTest(), callback_, EXPECT_CALL, EXPECT_EQ, and i.
TEST_F | ( | OwnedGenericFilterTest | , |
DeleteChain | |||
) |
Definition at line 504 of file GenericFilterTest.cpp.
References EXPECT_EQ, i, and folly::make_unique().
TEST_F | ( | OwnedGenericFilterTest | , |
GetChainEnd | |||
) |
Definition at line 517 of file GenericFilterTest.cpp.
TEST_F | ( | OwnedGenericFilterTest | , |
SetDestination | |||
) |
TEST_F | ( | OwnedGenericFilterTest | , |
Foreach | |||
) |
Definition at line 535 of file GenericFilterTest.cpp.
References count, EXPECT_EQ, folly::pushmi::operators::filter, and TesterInterface::setCallback().