MCPcopy Create free account
hub / github.com/apache/mesos / foreach

Function foreach

src/tests/containerizer/routing_tests.cpp:119–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 ASSERT_SOME(links);
118
119 foreach (const string& link, links.get()) {
120 EXPECT_SOME_NE(0, link::index(link));
121 }
122
123 EXPECT_NONE(link::index("not-exist"));
124}

Callers

nothing calls this directly

Calls 6

indexFunction · 0.85
nameFunction · 0.85
statisticsFunction · 0.50
existsFunction · 0.50
getMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected