proxygen
|
#include <folly/Traits.h>
#include <folly/portability/GTest.h>
#include <glog/logging.h>
#include <string>
Go to the source code of this file.
Classes | |
class | Foo |
struct | Bar |
struct | Gaz |
struct | NoCV |
struct | Const |
struct | Volatile |
struct | CV |
Macros | |
#define | LOG_VALUE(x) log_value(#x, x) |
Functions | |
FOLLY_CREATE_HAS_MEMBER_FN_TRAITS (has_test, test) | |
bool | log_value (const char *what, bool result) |
TEST (HasMemberFnTraits, DirectMembers) | |
int | main (int argc, char *argv[]) |
Definition at line 74 of file HasMemberFnTraitsTest.cpp.
Referenced by TEST().
FOLLY_CREATE_HAS_MEMBER_FN_TRAITS | ( | has_test | , |
test | |||
) |
bool log_value | ( | const char * | what, |
bool | result | ||
) |
Definition at line 69 of file HasMemberFnTraitsTest.cpp.
References folly::INFO.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 135 of file HasMemberFnTraitsTest.cpp.
References testing::InitGoogleTest(), and RUN_ALL_TESTS().
TEST | ( | HasMemberFnTraits | , |
DirectMembers | |||
) |
Definition at line 76 of file HasMemberFnTraitsTest.cpp.
References folly::gen::Const, EXPECT_FALSE, EXPECT_TRUE, LOG_VALUE, and value.