|
proxygen
|
#include <folly/Traits.h>#include <cstring>#include <string>#include <type_traits>#include <utility>#include <folly/ScopeGuard.h>#include <folly/portability/GTest.h>Go to the source code of this file.
Classes | |
| struct | T1 |
| struct | T2 |
| struct | T3 |
| struct | T5 |
| struct | F1 |
| struct | F2 |
| struct | F3 |
| struct | F4 |
| struct | folly::IsRelocatable< T1 > |
Namespaces | |
| folly | |
| —— Concurrent Priority Queue Implementation —— | |
Functions | |
| TEST (Traits, has_member_type) | |
| template<> | |
| folly::FOLLY_ASSUME_RELOCATABLE (T2) | |
| TEST (Traits, scalars) | |
| TEST (Traits, containers) | |
| TEST (Traits, original) | |
| TEST (Traits, typedefd) | |
| TEST (Traits, unset) | |
| TEST (Traits, bitAndInit) | |
| TEST (Trait, logicOperators) | |
| TEST (Traits, is_negative) | |
| TEST (Traits, relational) | |
| template<typename T , typename... Args> | |
| void | testIsRelocatable (Args &&...args) |
| TEST (Traits, actuallyRelocatable) | |
| TEST (Traits, void_t) | |
| TEST (Traits, type_t) | |
| TEST (Traits, remove_cvref) | |
| TEST (Traits, like) | |
| TEST | ( | Traits | , |
| has_member_type | |||
| ) |
Definition at line 35 of file TraitsTest.cpp.
References EXPECT_TRUE, and folly::value().
| TEST | ( | Traits | , |
| scalars | |||
| ) |
| TEST | ( | Traits | , |
| containers | |||
| ) |
Definition at line 78 of file TraitsTest.cpp.
References EXPECT_TRUE, and folly::value().
| TEST | ( | Traits | , |
| original | |||
| ) |
| TEST | ( | Traits | , |
| typedefd | |||
| ) |
Definition at line 89 of file TraitsTest.cpp.
References EXPECT_FALSE, and EXPECT_TRUE.
| TEST | ( | Traits | , |
| unset | |||
| ) |
| TEST | ( | Traits | , |
| bitAndInit | |||
| ) |
Definition at line 101 of file TraitsTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, and folly::value().
| TEST | ( | Trait | , |
| logicOperators | |||
| ) |
Definition at line 106 of file TraitsTest.cpp.
References folly::value().
| TEST | ( | Traits | , |
| is_negative | |||
| ) |
Definition at line 125 of file TraitsTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, folly::is_negative(), and folly::is_non_positive().
| TEST | ( | Traits | , |
| relational | |||
| ) |
Definition at line 139 of file TraitsTest.cpp.
References testing::Args(), EXPECT_FALSE, EXPECT_TRUE, folly::T, folly::TEST(), type, value, and folly::value().
| TEST | ( | Traits | , |
| actuallyRelocatable | |||
| ) |
| TEST | ( | Traits | , |
| void_t | |||
| ) |
Definition at line 246 of file TraitsTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, value, and folly::value().
| TEST | ( | Traits | , |
| type_t | |||
| ) |
Definition at line 256 of file TraitsTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, string, and folly::value().
| TEST | ( | Traits | , |
| remove_cvref | |||
| ) |
Definition at line 271 of file TraitsTest.cpp.
References EXPECT_TRUE, and folly::value().
| TEST | ( | Traits | , |
| like | |||
| ) |
Definition at line 317 of file TraitsTest.cpp.
References EXPECT_TRUE, and folly::value().
| void testIsRelocatable | ( | Args &&... | args | ) |
Definition at line 185 of file TraitsTest.cpp.
References EXPECT_EQ, folly::gen::move, SCOPE_EXIT, and folly::T.