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: Ief05bd757cffb1453e058a719ee4b060861752e7
diff --git a/phosphor-power-supply/test/mock.hpp b/phosphor-power-supply/test/mock.hpp
index 13d22e6..d964964 100644
--- a/phosphor-power-supply/test/mock.hpp
+++ b/phosphor-power-supply/test/mock.hpp
@@ -48,18 +48,18 @@
virtual ~MockedUtil() = default;
MOCK_METHOD(bool, getPresence,
- (sdbusplus::bus::bus & bus, const std::string& invpath),
+ (sdbusplus::bus_t & bus, const std::string& invpath),
(const, override));
MOCK_METHOD(void, setPresence,
- (sdbusplus::bus::bus & bus, const std::string& invpath,
+ (sdbusplus::bus_t & bus, const std::string& invpath,
bool present, const std::string& name),
(const, override));
MOCK_METHOD(void, setAvailable,
- (sdbusplus::bus::bus & bus, const std::string& invpath,
+ (sdbusplus::bus_t & bus, const std::string& invpath,
bool available),
(const, override));
MOCK_METHOD(void, handleChassisHealthRollup,
- (sdbusplus::bus::bus & bus, const std::string& invpath,
+ (sdbusplus::bus_t & bus, const std::string& invpath,
bool addRollup),
(const, override));
};