proxygen
|
Go to the source code of this file.
Classes | |
struct | global_counter |
class | Foo |
Functions | |
template<typename Allocator > | |
void | unique_ptr_test (Allocator &allocator) |
TEST (ArenaSmartPtr, unique_ptr_SysArena) | |
template<typename Allocator > | |
void | shared_ptr_test (Allocator &allocator) |
TEST (ArenaSmartPtr, shared_ptr_SysArena) | |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 166 of file ArenaSmartPtrTest.cpp.
References testing::InitGoogleTest(), and RUN_ALL_TESTS().
void shared_ptr_test | ( | Allocator & | allocator | ) |
Definition at line 106 of file ArenaSmartPtrTest.cpp.
References global_counter::count(), counter, EXPECT_EQ, folly::foo, and g().
Referenced by TEST().
TEST | ( | ArenaSmartPtr | , |
unique_ptr_SysArena | |||
) |
Definition at line 99 of file ArenaSmartPtrTest.cpp.
References unique_ptr_test().
TEST | ( | ArenaSmartPtr | , |
shared_ptr_SysArena | |||
) |
Definition at line 160 of file ArenaSmartPtrTest.cpp.
References shared_ptr_test().
void unique_ptr_test | ( | Allocator & | allocator | ) |
Definition at line 60 of file ArenaSmartPtrTest.cpp.
References global_counter::count(), counter, destroy(), EXPECT_EQ, g(), and folly::gen::move.
Referenced by TEST().