proxygen
|
#include <folly/String.h>
#include <folly/dynamic.h>
#include <folly/json.h>
#include <folly/logging/LogCategory.h>
#include <folly/logging/LogConfig.h>
#include <folly/logging/LogConfigParser.h>
#include <folly/logging/test/ConfigHelpers.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
#include <folly/test/TestUtils.h>
Go to the source code of this file.
Functions | |
TEST (LogConfig, parseBasic) | |
TEST (LogConfig, parseBasicErrors) | |
TEST (LogConfig, parseJson) | |
TEST (LogConfig, parseJsonErrors) | |
TEST (LogConfig, toJson) | |
TEST (LogConfig, mergeConfigs) | |
TEST | ( | LogConfig | , |
parseBasic | |||
) |
Definition at line 32 of file ConfigParserTest.cpp.
References config, folly::DBG2, folly::DBG7, folly::ERR, EXPECT_THAT, folly::FATAL, folly::INFO, folly::none, testing::Pair(), folly::parseLogConfig(), testing::UnorderedElementsAre(), and folly::WARN.
TEST | ( | LogConfig | , |
parseBasicErrors | |||
) |
Definition at line 154 of file ConfigParserTest.cpp.
References EXPECT_THROW_RE, and folly::parseLogConfig().
TEST | ( | LogConfig | , |
parseJson | |||
) |
Definition at line 250 of file ConfigParserTest.cpp.
References config, folly::DBG1, folly::DBG2, folly::DBG7, folly::ERR, EXPECT_THAT, folly::FATAL, folly::INFO, testing::Pair(), folly::parseLogConfig(), and testing::UnorderedElementsAre().
TEST | ( | LogConfig | , |
parseJsonErrors | |||
) |
Definition at line 343 of file ConfigParserTest.cpp.
References EXPECT_THROW_RE, folly::parseLogConfig(), and folly::parseLogConfigJson().
TEST | ( | LogConfig | , |
toJson | |||
) |
Definition at line 543 of file ConfigParserTest.cpp.
References config, EXPECT_EQ, folly::logConfigToDynamic(), folly::parseJson(), and folly::parseLogConfig().
TEST | ( | LogConfig | , |
mergeConfigs | |||
) |
Definition at line 581 of file ConfigParserTest.cpp.
References config, folly::DBG2, folly::ERR, EXPECT_THAT, EXPECT_THROW_RE, folly::FATAL, folly::INFO, testing::Pair(), folly::parseLogConfig(), testing::UnorderedElementsAre(), and folly::WARN.