sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie530f2c63000bbfac7c5fbbc74ebe6bc8c07fb1a
diff --git a/test/mocked_utils.hpp b/test/mocked_utils.hpp
index 71aac99..71a4f77 100644
--- a/test/mocked_utils.hpp
+++ b/test/mocked_utils.hpp
@@ -11,14 +11,14 @@
virtual ~MockedUtils() = default;
MOCK_CONST_METHOD1(getPSUInventoryPath,
- std::vector<std::string>(sdbusplus::bus::bus& bus));
+ std::vector<std::string>(sdbusplus::bus_t& bus));
MOCK_CONST_METHOD3(getService,
- std::string(sdbusplus::bus::bus& bus, const char* path,
+ std::string(sdbusplus::bus_t& bus, const char* path,
const char* interface));
MOCK_CONST_METHOD3(getServices,
- std::vector<std::string>(sdbusplus::bus::bus& bus,
+ std::vector<std::string>(sdbusplus::bus_t& bus,
const char* path,
const char* interface));
@@ -34,7 +34,7 @@
const AssociationList& assocs));
MOCK_CONST_METHOD5(getPropertyImpl,
- any(sdbusplus::bus::bus& bus, const char* service,
+ any(sdbusplus::bus_t& bus, const char* service,
const char* path, const char* interface,
const char* propertyName));
};