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

Function TEST

test/proc_maps_linux_unittest.cc:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace debug {
13
14TEST(ProcMapsTest, Empty) {
15 std::vector<MappedMemoryRegion> regions;
16 EXPECT_TRUE(ParseProcMaps("", &regions));
17 EXPECT_EQ(0u, regions.size());
18}
19
20TEST(ProcMapsTest, NoSpaces) {
21 static const char kNoSpaces[] =

Callers

nothing calls this directly

Calls 6

ParseProcMapsFunction · 0.85
StringPrintfFunction · 0.85
ReadProcMapsFunction · 0.85
sizeMethod · 0.45
emptyMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected