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

Method TearDown

src/tests/metrics_tests.cpp:106–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 void TearDown() override
107 {
108 foreach (const string& realm, realms) {
109 // We need to wait in order to ensure that the operation
110 // completes before we leave TearDown. Otherwise, we may
111 // leak a mock object.
112 AWAIT_READY(authentication::unsetAuthenticator(realm));
113 }
114 realms.clear();
115 }
116
117private:
118 hashset<string> realms;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected