proxygen
|
#include <folly/SynchronizedPtr.h>
#include <folly/Optional.h>
#include <folly/Replaceable.h>
#include <folly/portability/GTest.h>
#include <folly/synchronization/RWSpinLock.h>
Go to the source code of this file.
Functions | |
template<typename SPtr > | |
void | basics (SPtr &sptr) |
TEST (SynchronizedPtrTest, Shared) | |
TEST (SynchronizedPtrTest, UniqueBasic) | |
TEST (SynchronizedPtrTest, UniqueDeleter) | |
TEST (SynchronizedPtrTest, Replaceable) | |
TEST (SynchronizedPtrTest, Optional) | |
TEST (SynchronizedPtrTest, Virtual) | |
void basics | ( | SPtr & | sptr | ) |
Definition at line 24 of file SynchronizedPtrTest.cpp.
References EXPECT_EQ, EXPECT_TRUE, and value.
Referenced by TEST().
TEST | ( | SynchronizedPtrTest | , |
Shared | |||
) |
Definition at line 42 of file SynchronizedPtrTest.cpp.
References basics().
TEST | ( | SynchronizedPtrTest | , |
UniqueBasic | |||
) |
Definition at line 47 of file SynchronizedPtrTest.cpp.
References basics().
TEST | ( | SynchronizedPtrTest | , |
UniqueDeleter | |||
) |
Definition at line 52 of file SynchronizedPtrTest.cpp.
References basics(), EXPECT_TRUE, ptr, value, and x.
TEST | ( | SynchronizedPtrTest | , |
Replaceable | |||
) |
Definition at line 72 of file SynchronizedPtrTest.cpp.
References basics(), EXPECT_EQ, EXPECT_TRUE, ptr, and value.
TEST | ( | SynchronizedPtrTest | , |
Optional | |||
) |
Definition at line 90 of file SynchronizedPtrTest.cpp.
References basics(), EXPECT_FALSE, EXPECT_TRUE, ptr, and value.
TEST | ( | SynchronizedPtrTest | , |
Virtual | |||
) |
Definition at line 104 of file SynchronizedPtrTest.cpp.
References b, B, EXPECT_TRUE, ptr, and value.