Searched hist:b4b4fa1faf519a0954cfe0f60ce9f9c11c8a0256 (Results 1 – 1 of 1) sorted by relevance
/openbmc/sdbusplus/test/message/ |
H A D | read.cpp | diff b4b4fa1faf519a0954cfe0f60ce9f9c11c8a0256 Mon Jun 25 19:20:06 CDT 2018 William A. Kennington III <wak@google.com> test/message/read: Use googletest and mocks
Similar to the append test, this test case relied on an ad-hoc system using a separate daemon thread for echoing the messages back to each of the unit tests. We don't want to depend on a system dbus instance if we can avoid it. Instead, use the mocking system to make sure the correct dbus calls are made when reading messages and ensure the resulting output is built as expected.
Tested: Build still works and all test cases pass. Ensured that the coverage of the tests is the same as the old test cases.
Change-Id: I8d71c031391b962f1de6684d927b81e132c0886d Signed-off-by: William A. Kennington III <wak@google.com>
|