MCPcopy Create free account
hub / github.com/apache/brpc / TEST_F

Function TEST_F

test/sys_info_unittest.cc:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
17TEST_F(SysInfoTest, MaxSharedMemorySize) {
18 // We aren't actually testing that it's correct, just that it's sane.
19 EXPECT_GT(butil::SysInfo::MaxSharedMemorySize(), 0u);
20}
21#endif
22
23TEST_F(SysInfoTest, NumProcs) {

Callers

nothing calls this directly

Calls 4

GetTempDirFunction · 0.85
ToDoubleTMethod · 0.80
TimeFunction · 0.50
valueMethod · 0.45

Tested by

no test coverage detected