proxygen
|
#include <cstdlib>
#include <folly/init/Init.h>
#include <folly/logging/GlogStyleFormatter.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 (GlogFormatter, log) | |
TEST (GlogFormatter, filename) | |
TEST (GlogFormatter, multiline) | |
TEST (GlogFormatter, singleNewline) | |
TEST (GlogFormatter, unprintableChars) | |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 191 of file GlogFormatterTest.cpp.
References folly::init(), testing::InitGoogleTest(), and RUN_ALL_TESTS().
TEST | ( | GlogFormatter | , |
log | |||
) |
Definition at line 66 of file GlogFormatterTest.cpp.
References EXPECT_EQ, folly::getOSThreadID(), folly::sformat(), and folly::WARN.
TEST | ( | GlogFormatter | , |
filename | |||
) |
Definition at line 78 of file GlogFormatterTest.cpp.
References EXPECT_EQ, folly::getOSThreadID(), folly::sformat(), and folly::WARN.
TEST | ( | GlogFormatter | , |
multiline | |||
) |
Definition at line 110 of file GlogFormatterTest.cpp.
References folly::DBG9, EXPECT_EQ, folly::getOSThreadID(), and folly::svformat().
TEST | ( | GlogFormatter | , |
singleNewline | |||
) |
Definition at line 143 of file GlogFormatterTest.cpp.
References folly::DBG9, EXPECT_EQ, folly::getOSThreadID(), and folly::svformat().
TEST | ( | GlogFormatter | , |
unprintableChars | |||
) |
Definition at line 158 of file GlogFormatterTest.cpp.
References folly::CRITICAL, folly::ERR, EXPECT_EQ, folly::getOSThreadID(), folly::INFO, folly::sformat(), and string.