// Automatic generation of D-Bus interface mock proxies for: // - org.chromium.LibCrosServiceInterface // - org.chromium.UpdateEngineLibcrosProxyResolvedInterface #ifndef ____CHROMEOS_DBUS_BINDING___UPDATE_ENGINE_INCLUDE_LIBCROS_DBUS_PROXY_MOCKS_H #define ____CHROMEOS_DBUS_BINDING___UPDATE_ENGINE_INCLUDE_LIBCROS_DBUS_PROXY_MOCKS_H #include #include #include #include #include #include #include #include #include #include "libcros/dbus-proxies.h" namespace org { namespace chromium { // Mock object for LibCrosServiceInterfaceProxyInterface. class LibCrosServiceInterfaceProxyMock : public LibCrosServiceInterfaceProxyInterface { public: LibCrosServiceInterfaceProxyMock() = default; MOCK_METHOD5(ResolveNetworkProxy, bool(const std::string& /*in_source_url*/, const std::string& /*in_signal_interface*/, const std::string& /*in_signal_name*/, brillo::ErrorPtr* /*error*/, int /*timeout_ms*/)); MOCK_METHOD6(ResolveNetworkProxyAsync, void(const std::string& /*in_source_url*/, const std::string& /*in_signal_interface*/, const std::string& /*in_signal_name*/, const base::Callback& /*success_callback*/, const base::Callback& /*error_callback*/, int /*timeout_ms*/)); MOCK_CONST_METHOD0(GetObjectPath, const dbus::ObjectPath&()); private: DISALLOW_COPY_AND_ASSIGN(LibCrosServiceInterfaceProxyMock); }; } // namespace chromium } // namespace org namespace org { namespace chromium { // Mock object for UpdateEngineLibcrosProxyResolvedInterfaceProxyInterface. class UpdateEngineLibcrosProxyResolvedInterfaceProxyMock : public UpdateEngineLibcrosProxyResolvedInterfaceProxyInterface { public: UpdateEngineLibcrosProxyResolvedInterfaceProxyMock() = default; MOCK_METHOD2(RegisterProxyResolvedSignalHandler, void(const base::Callback& /*signal_callback*/, dbus::ObjectProxy::OnConnectedCallback /*on_connected_callback*/)); MOCK_CONST_METHOD0(GetObjectPath, const dbus::ObjectPath&()); private: DISALLOW_COPY_AND_ASSIGN(UpdateEngineLibcrosProxyResolvedInterfaceProxyMock); }; } // namespace chromium } // namespace org #endif // ____CHROMEOS_DBUS_BINDING___UPDATE_ENGINE_INCLUDE_LIBCROS_DBUS_PROXY_MOCKS_H