diff options
Diffstat (limited to 'brillo/dbus/mock_exported_object_manager.h')
-rw-r--r-- | brillo/dbus/mock_exported_object_manager.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/brillo/dbus/mock_exported_object_manager.h b/brillo/dbus/mock_exported_object_manager.h index bf67996..02bb073 100644 --- a/brillo/dbus/mock_exported_object_manager.h +++ b/brillo/dbus/mock_exported_object_manager.h @@ -24,15 +24,17 @@ class MockExportedObjectManager : public ExportedObjectManager { using ExportedObjectManager::ExportedObjectManager; ~MockExportedObjectManager() override = default; - MOCK_METHOD1(RegisterAsync, - void(const CompletionAction& completion_callback)); - MOCK_METHOD3(ClaimInterface, - void(const ::dbus::ObjectPath& path, - const std::string& interface_name, - const ExportedPropertySet::PropertyWriter& writer)); - MOCK_METHOD2(ReleaseInterface, - void(const ::dbus::ObjectPath& path, - const std::string& interface_name)); + MOCK_METHOD(void, RegisterAsync, (const CompletionAction&), (override)); + MOCK_METHOD(void, + ClaimInterface, + (const ::dbus::ObjectPath&, + const std::string&, + const ExportedPropertySet::PropertyWriter&), + (override)); + MOCK_METHOD(void, + ReleaseInterface, + (const ::dbus::ObjectPath&, const std::string&), + (override)); }; } // namespace dbus_utils |