|
proxygen
|
#include <cstdlib>#include <folly/init/Init.h>#include <folly/logging/CustomLogFormatter.h>#include <folly/logging/LogMessage.h>#include <folly/logging/Logger.h>#include <folly/logging/LoggerDB.h>#include <folly/portability/GTest.h>#include <folly/portability/Stdlib.h>Go to the source code of this file.
Functions | |
| TEST (CustomLogFormatter, log) | |
| TEST (CustomLogFormatter, filename) | |
| TEST (CustomLogFormatter, functionName) | |
| TEST (CustomLogFormatter, multiline) | |
| TEST (CustomLogFormatter, singleNewline) | |
| TEST (CustomLogFormatter, coloring) | |
| TEST (CustomLogFormatter, unprintableChars) | |
| TEST (CustomLogFormatter, invalidFormatStrings) | |
| TEST (CustomLogFormatter, validFormatStringsEdgeCases) | |
| int | main (int argc, char *argv[]) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 380 of file CustomLogFormatterTest.cpp.
References folly::init(), testing::InitGoogleTest(), and RUN_ALL_TESTS().
| TEST | ( | CustomLogFormatter | , |
| log | |||
| ) |
Definition at line 77 of file CustomLogFormatterTest.cpp.
References EXPECT_EQ, folly::getOSThreadID(), folly::sformat(), and folly::WARN.
| TEST | ( | CustomLogFormatter | , |
| filename | |||
| ) |
Definition at line 94 of file CustomLogFormatterTest.cpp.
References EXPECT_EQ, folly::getOSThreadID(), folly::sformat(), and folly::WARN.
| TEST | ( | CustomLogFormatter | , |
| functionName | |||
| ) |
Definition at line 128 of file CustomLogFormatterTest.cpp.
References EXPECT_EQ, folly::getOSThreadID(), folly::sformat(), and folly::WARN.
| TEST | ( | CustomLogFormatter | , |
| multiline | |||
| ) |
Definition at line 147 of file CustomLogFormatterTest.cpp.
References folly::DBG9, EXPECT_EQ, folly::getOSThreadID(), and folly::svformat().
| TEST | ( | CustomLogFormatter | , |
| singleNewline | |||
| ) |
Definition at line 181 of file CustomLogFormatterTest.cpp.
References folly::DBG9, EXPECT_EQ, folly::getOSThreadID(), and folly::svformat().
| TEST | ( | CustomLogFormatter | , |
| coloring | |||
| ) |
Definition at line 202 of file CustomLogFormatterTest.cpp.
References folly::CRITICAL, folly::DBG9, folly::ERR, EXPECT_EQ, folly::FATAL, folly::getOSThreadID(), folly::INFO, folly::svformat(), and folly::WARN.
| TEST | ( | CustomLogFormatter | , |
| unprintableChars | |||
| ) |
Definition at line 306 of file CustomLogFormatterTest.cpp.
References folly::CRITICAL, folly::ERR, EXPECT_EQ, folly::getOSThreadID(), folly::INFO, folly::sformat(), and string.
| TEST | ( | CustomLogFormatter | , |
| invalidFormatStrings | |||
| ) |
Definition at line 346 of file CustomLogFormatterTest.cpp.
References EXPECT_THROW.
| TEST | ( | CustomLogFormatter | , |
| validFormatStringsEdgeCases | |||
| ) |
Definition at line 356 of file CustomLogFormatterTest.cpp.
References folly::ERR, EXPECT_EQ, and folly::INFO.