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

Method setUpBusOpenExpectation

tests/unittests/Connection_test.cpp:163–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161};
162
163template<> void AConnectionNameRequest<Connection::default_bus_t>::setUpBusOpenExpectation()
164{
165 EXPECT_CALL(*sdBusIntfMock_, sd_bus_open(_)).WillOnce(DoAll(SetArgPointee<0>(fakeBusPtr_), Return(1)));
166}
167template<> void AConnectionNameRequest<Connection::system_bus_t>::setUpBusOpenExpectation()
168{
169 EXPECT_CALL(*sdBusIntfMock_, sd_bus_open_system(_)).WillOnce(DoAll(SetArgPointee<0>(fakeBusPtr_), Return(1)));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected