Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ TEST_F
Function
TEST_F
test/temp_file_unittest.cpp:34–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
};
33
34
TEST_F(TempFileTest, should_create_tmp_file)
35
{
36
butil::TempFile tmp;
37
struct stat st;
38
//check if existed
39
ASSERT_EQ(0, stat(tmp.fname(), &st));
40
}
41
42
TEST_F(TempFileTest, should_write_string)
43
{
Callers
nothing calls this directly
Calls
6
fname
Method · 0.80
save
Method · 0.80
save_format
Method · 0.80
save_bin
Method · 0.80
stat
Class · 0.70
c_str
Method · 0.45
Tested by
no test coverage detected