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

Function TEST_F

tests/unittests/Connection_test.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58using ASessionBusConnection = ConnectionCreationTest;
59
60TEST_F(ADefaultBusConnection, OpensAndFlushesBusWhenCreated)
61{
62 EXPECT_CALL(*sdBusIntfMock_, sd_bus_open(_)).WillOnce(DoAll(SetArgPointee<0>(fakeBusPtr_), Return(1)));
63 EXPECT_CALL(*sdBusIntfMock_, sd_bus_flush(_)).Times(1);
64 Connection(std::move(sdBusIntfMock_), Connection::default_bus);
65}
66
67TEST_F(ASystemBusConnection, OpensAndFlushesBusWhenCreated)
68{

Callers

nothing calls this directly

Calls 1

ConnectionClass · 0.85

Tested by

no test coverage detected