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

Class AsyncLogStreamTest

test/logging/test_async_log_stream.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21} // namespace
22
23struct AsyncLogStreamTest : public ::testing::Test {
24 virtual void SetUp() override {
25 file_object.fd = STDERR_FILENO;
26 ASSERT_EQ(0, appender.initialize());
27 }
28
29 StaticFileObject file_object;
30 AsyncFileAppender appender;
31};
32
33TEST_F(AsyncLogStreamTest, write_to_file_object) {
34 LoggerBuilder builder;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected