blob: 190e82d8487b57c4f327a935b2a4e6a65b63ae2a [file] [log] [blame]
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_CELLULAR_MOCK_MM1_MODEM_TIME_PROXY_H_
#define SHILL_CELLULAR_MOCK_MM1_MODEM_TIME_PROXY_H_
#include <base/macros.h>
#include <gmock/gmock.h>
#include "shill/cellular/mm1_modem_time_proxy_interface.h"
namespace shill {
namespace mm1 {
class MockModemTimeProxy : public ModemTimeProxyInterface {
public:
MockModemTimeProxy();
MockModemTimeProxy(const MockModemTimeProxy&) = delete;
MockModemTimeProxy& operator=(const MockModemTimeProxy&) = delete;
~MockModemTimeProxy() override;
// Inherited methods from ModemTimeProxyInterface.
MOCK_METHOD(void,
GetNetworkTime,
(Error*, const StringCallback&, int),
(override));
MOCK_METHOD(void,
set_network_time_changed_callback,
(const NetworkTimeChangedSignalCallback&),
(override));
};
} // namespace mm1
} // namespace shill
#endif // SHILL_CELLULAR_MOCK_MM1_MODEM_TIME_PROXY_H_