proxygen
|
Go to the source code of this file.
Classes | |
class | Foo |
Typedefs | |
using | IntPtr = std::unique_ptr< int > |
Functions | |
TEST (EventBaseLocalTest, Basic) | |
TEST (EventBaseLocalTest, getOrCreate) | |
TEST (EventBaseLocalTest, getOrCreateNoncopyable) | |
TEST (EventBaseLocalTest, emplaceNoncopyable) | |
using IntPtr = std::unique_ptr<int> |
Definition at line 75 of file EventBaseLocalTest.cpp.
TEST | ( | EventBaseLocalTest | , |
Basic | |||
) |
Definition at line 31 of file EventBaseLocalTest.cpp.
References folly::EventBaseLocal< T >::emplace(), folly::detail::EventBaseLocalBase::erase(), EXPECT_EQ, testing::gmock_matchers_test::foo, folly::EventBaseLocal< T >::get(), and folly::EventBase::loop().
TEST | ( | EventBaseLocalTest | , |
getOrCreate | |||
) |
Definition at line 62 of file EventBaseLocalTest.cpp.
References folly::detail::EventBaseLocalBase::erase(), EXPECT_EQ, folly::EventBaseLocal< T >::getOrCreate(), and folly::EventBaseLocal< T >::getOrCreateFn().
TEST | ( | EventBaseLocalTest | , |
getOrCreateNoncopyable | |||
) |
Definition at line 77 of file EventBaseLocalTest.cpp.
References EXPECT_EQ, and folly::EventBaseLocal< T >::getOrCreate().
TEST | ( | EventBaseLocalTest | , |
emplaceNoncopyable | |||
) |
Definition at line 88 of file EventBaseLocalTest.cpp.
References folly::EventBaseLocal< T >::emplace(), EXPECT_EQ, and folly::EventBaseLocal< T >::get().