MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / makeConnection

Method makeConnection

tests/unittests/Connection_test.cpp:190–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189template <typename BusTypeTag>
190std::unique_ptr<Connection> AConnectionNameRequest<BusTypeTag>::makeConnection()
191{
192 return std::make_unique<Connection>(std::unique_ptr<NiceMock<SdBusMock>>(sdBusIntfMock_), BusTypeTag{});
193}
194template<> std::unique_ptr<Connection> AConnectionNameRequest<Connection::custom_session_bus_t>::makeConnection()
195{
196 return std::make_unique<Connection>(std::unique_ptr<NiceMock<SdBusMock>>(sdBusIntfMock_), Connection::custom_session_bus, "custom session bus");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected