MCPcopy Create free account
hub / github.com/3rdparty/libprocess / foreachkey

Function foreachkey

src/tests/metrics_tests.cpp:535–537  ·  view source on GitHub ↗

Ensure the expected keys are in the response and that the values match expectations.

Source from the content-addressed store, hash-verified

533 // Ensure the expected keys are in the response and that the values match
534 // expectations.
535 foreachkey (const string& key, expected) {
536 EXPECT_DOUBLE_EQ(expected[key], responseValues[key]);
537 }
538
539 AWAIT_READY(metrics::remove(counter));
540}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected