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

Function TEST_F

test/logging/test_log_stream.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45TEST_F(LogStreamTest, can_write_raw_bytes) {
46 ss.begin();
47 ss.write("hello", 3);
48 ss.end();
49 ASSERT_EQ("hel", ss.stringbuf.str());
50}
51
52TEST_F(LogStreamTest, can_format_as_printf) {
53 ss.begin();

Callers

nothing calls this directly

Calls 5

writeMethod · 0.80
findMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected