test: Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD
Change-Id: I5099c727e9e918f19fa61acc91ef75250ebc6fa6
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/cleanup/test/filesystem_mock.hpp b/cleanup/test/filesystem_mock.hpp
index 76a45c1..1ce9109 100644
--- a/cleanup/test/filesystem_mock.hpp
+++ b/cleanup/test/filesystem_mock.hpp
@@ -12,6 +12,6 @@
class FileSystemMock : public FileSystemInterface
{
public:
- MOCK_CONST_METHOD1(remove, void(const std::string&));
+ MOCK_METHOD(void, remove, (const std::string&), (const, override));
};
} // namespace ipmi_flash