Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
45
TEST_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
52
TEST_F(LogStreamTest, can_format_as_printf) {
53
ss.begin();
Callers
nothing calls this directly
Calls
5
write
Method · 0.80
find
Method · 0.80
begin
Method · 0.45
end
Method · 0.45
format
Method · 0.45
Tested by
no test coverage detected