MCPcopy Create free account
hub / github.com/baidu/babylon / TEST_F

Function TEST_F

test/logging/test_interface.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41};
42
43TEST_F(LogInterfaceTest, ignore_log_less_than_min_severity) {
44 LogInterface::set_min_severity(LogInterface::SEVERITY_WARNING);
45 ::testing::internal::CaptureStderr();
46 BABYLON_LOG(INFO) << "this line should not appear in stderr";
47 auto text = ::testing::internal::GetCapturedStderr();
48 ASSERT_TRUE(text.empty());
49}
50
51TEST_F(LogInterfaceTest, change_log_backend) {
52 LogInterface::set_provider(

Callers

nothing calls this directly

Calls 2

findMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected