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

Method TearDown

src/tests/http_tests.cpp:1844–1853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1842 }
1843
1844 void TearDown() override
1845 {
1846 foreach (const string& realm, realms) {
1847 // We need to wait in order to ensure that the operation
1848 // completes before we leave TearDown. Otherwise, we may
1849 // leak a mock object.
1850 AWAIT_READY(authentication::unsetAuthenticator(realm));
1851 }
1852 realms.clear();
1853 }
1854
1855private:
1856 hashset<string> realms;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected