test: Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD
Change-Id: Iebd23cce5dbb2ac047c9df1db2320b0402cd2499
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/src/ipmiblob/test/ipmi_interface_mock.hpp b/src/ipmiblob/test/ipmi_interface_mock.hpp
index 5f5514c..a78dc13 100644
--- a/src/ipmiblob/test/ipmi_interface_mock.hpp
+++ b/src/ipmiblob/test/ipmi_interface_mock.hpp
@@ -11,9 +11,9 @@
{
public:
virtual ~IpmiInterfaceMock() = default;
- MOCK_METHOD3(sendPacket,
- std::vector<std::uint8_t>(std::uint8_t, std::uint8_t,
- std::vector<std::uint8_t>&));
+ MOCK_METHOD(std::vector<std::uint8_t>, sendPacket,
+ (std::uint8_t, std::uint8_t, std::vector<std::uint8_t>&),
+ (override));
};
} // namespace ipmiblob