MCPcopy 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
34TEST_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
42TEST_F(TempFileTest, should_write_string)
43{

Callers

nothing calls this directly

Calls 6

fnameMethod · 0.80
saveMethod · 0.80
save_formatMethod · 0.80
save_binMethod · 0.80
statClass · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected