MCPcopy Create free account
hub / github.com/canonical/multipass / make_ssh_client

Method make_ssh_client

tests/test_ssh_client.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 mp::SSHClient make_ssh_client()
42 {
43 return {std::make_unique<mp::SSHSession>("a", 42), std::make_unique<mpt::StubConsole>()};
44 }
45
46 decltype(MOCK(ssh_connect)) connect{MOCK(ssh_connect)};
47 decltype(MOCK(ssh_is_connected)) is_connected{MOCK(ssh_is_connected)};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected