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

Function foreach

src/tests/http_authentication_tests.cpp:308–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306 vector<string> bodies;
307
308 foreach (const MockAuthenticator& authenticator, authenticators) {
309 headers.push_back(authenticator.scheme() + " realm=\"" + REALM + "\"");
310 bodies.push_back(
311 "\"" + authenticator.scheme() + "\" authenticator returned:\n" +
312 authenticator.scheme() + " unauthorized");
313 }
314
315 result.unauthorized = Unauthorized(
316 {strings::join(",", headers)},

Callers

nothing calls this directly

Calls 1

schemeMethod · 0.45

Tested by

no test coverage detected