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

Method TearDown

src/tests/profiler_tests.cpp:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57
58 void TearDown() override
59 {
60 foreach (const string& realm, realms) {
61 // We need to wait in order to ensure that the operation
62 // completes before we leave TearDown. Otherwise, we may
63 // leak a mock object.
64 AWAIT_READY(authentication::unsetAuthenticator(realm));
65 }
66 realms.clear();
67 }
68
69private:
70 hashset<string> realms;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected