proxygen
|
#include <folly/logging/LogLevel.h>
#include <folly/Conv.h>
#include <folly/Random.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Functions | |
TEST (LogLevel, fromString) | |
TEST (LogLevel, toString) | |
TEST (LogLevel, toStringAndBack) | |
TEST | ( | LogLevel | , |
fromString | |||
) |
Definition at line 23 of file LogLevelTest.cpp.
References folly::CRITICAL, folly::DBG, folly::DBG0, folly::DBG5, folly::DBG9, folly::DFATAL, folly::ERR, EXPECT_EQ, EXPECT_THROW, folly::FATAL, folly::INFO, folly::INFO0, folly::INFO5, folly::INFO6, folly::INFO9, folly::MAX_LEVEL, folly::NONE, folly::stringToLogLevel(), folly::UNINITIALIZED, and folly::WARN.
TEST | ( | LogLevel | , |
toString | |||
) |
Definition at line 96 of file LogLevelTest.cpp.
References folly::CRITICAL, folly::DBG, folly::DBG0, folly::DBG2, folly::DBG4, folly::DBG5, folly::DBG9, folly::DFATAL, folly::ERR, EXPECT_EQ, folly::FATAL, folly::INFO, folly::INFO0, folly::INFO2, folly::INFO5, folly::INFO7, folly::INFO9, folly::logLevelToString(), folly::MAX_LEVEL, folly::NONE, folly::UNINITIALIZED, folly::WARN, and folly::WARNING.
TEST | ( | LogLevel | , |
toStringAndBack | |||
) |
Definition at line 126 of file LogLevelTest.cpp.
References folly::CRITICAL, folly::DBG, folly::DBG0, folly::DBG1, folly::DBG2, folly::DBG3, folly::DBG4, folly::DBG5, folly::DBG6, folly::DBG7, folly::DBG8, folly::DBG9, folly::DFATAL, folly::ERR, EXPECT_EQ, folly::FATAL, folly::INFO, folly::logLevelToString(), folly::MAX_LEVEL, folly::NONE, folly::Random::rand32(), folly::stringToLogLevel(), uint32_t, folly::UNINITIALIZED, folly::WARN, and folly::WARNING.