32 unsigned int getBaseLoggingConfigCalled;
38 ++getBaseLoggingConfigCalled;
39 return "folly=INFO; default:stream=stdout";
51 "default=stream:stream=stderr,async=false"),
60 parseLogConfig(
".:=ERROR:default,folly=INFO:,folly.logging=DBG7:; " 61 "default=stream:stream=stdout,async=false"),
74 R
"(invalid log level "BOGUSLEVEL")"); 77 std::invalid_argument,
78 R
"(unknown log handler "undefined_handler")"); 85 gflags::ParseCommandLineFlags(&argc, &argv,
true);
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
#define EXPECT_THROW_RE(statement, exceptionType, pattern)
const char * getBaseLoggingConfig()
#define EXPECT_EQ(val1, val2)
LogConfig getConfig() const
—— Concurrent Priority Queue Implementation ——
LogConfig parseLogConfig(StringPiece value)
int main(int argc, char **argv)
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
void initLogging(StringPiece configString)
TEST(SequencedExecutor, CPUThreadPoolExecutor)