proxygen
|
Go to the source code of this file.
Functions | |
TEST (StampedPtr, Basic) | |
TEST (StampedPtr, Zero) | |
TEST (StampedPtr, Void) | |
TEST (StampedPtr, Make) | |
TEST (StampedPtr, Const) | |
TEST (StampedPtr, BitExtension) | |
TEST | ( | StampedPtr | , |
Basic | |||
) |
Definition at line 21 of file StampedPtrTest.cpp.
References EXPECT_EQ, EXPECT_NE, folly::StampedPtr< T >::ptr(), folly::StampedPtr< T >::raw, folly::StampedPtr< T >::set(), folly::StampedPtr< T >::setPtr(), folly::StampedPtr< T >::setStamp(), folly::StampedPtr< T >::stamp(), and uint64_t.
TEST | ( | StampedPtr | , |
Zero | |||
) |
Definition at line 40 of file StampedPtrTest.cpp.
References EXPECT_EQ, and EXPECT_TRUE.
TEST | ( | StampedPtr | , |
Void | |||
) |
Definition at line 46 of file StampedPtrTest.cpp.
References EXPECT_EQ, folly::StampedPtr< T >::ptr(), and folly::StampedPtr< T >::set().
TEST | ( | StampedPtr | , |
Make | |||
) |
Definition at line 53 of file StampedPtrTest.cpp.
References EXPECT_EQ, folly::makeStampedPtr(), and x.
TEST | ( | StampedPtr | , |
Const | |||
) |
Definition at line 64 of file StampedPtrTest.cpp.
References folly::StampedPtr< T >::setPtr().
TEST | ( | StampedPtr | , |
BitExtension | |||
) |
Definition at line 70 of file StampedPtrTest.cpp.
References ASSERT_TRUE, EXPECT_EQ, and folly::StampedPtr< T >::setPtr().