MCPcopy Create free account
hub / github.com/ceph/ceph / TEST

Function TEST

src/test/admin_socket.cc:56–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54};
55
56TEST(AdminSocket, Teardown) {
57 std::unique_ptr<AdminSocket> asokc = std::make_unique<AdminSocket>(g_ceph_context);
58 AdminSocketTest asoct(asokc.get());
59 ASSERT_EQ(true, asoct.shutdown());
60}
61
62TEST(AdminSocket, TeardownSetup) {
63 std::unique_ptr<AdminSocket> asokc = std::make_unique<AdminSocket>(g_ceph_context);

Callers

nothing calls this directly

Calls 12

get_rand_socket_pathFunction · 0.85
compat_closesocketFunction · 0.85
getMethod · 0.45
shutdownMethod · 0.45
initMethod · 0.45
do_requestMethod · 0.45
findMethod · 0.45
register_commandMethod · 0.45
pingMethod · 0.45
c_strMethod · 0.45
notify_allMethod · 0.45
bind_and_listenMethod · 0.45

Tested by

no test coverage detected