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

Function foreach

src/tests/log_tests.cpp:1199–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197 AWAIT_READY(actions);
1198 EXPECT_EQ(10u, actions->size());
1199 foreach (const Action& action, actions.get()) {
1200 ASSERT_TRUE(action.has_type());
1201 ASSERT_EQ(Action::APPEND, action.type());
1202 EXPECT_EQ(stringify(action.position()), action.append().bytes());
1203 }
1204 }
1205}
1206

Callers

nothing calls this directly

Calls 5

typeMethod · 0.80
stringifyFunction · 0.50
positionMethod · 0.45
bytesMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected