blob: dcfd3aca6caacf6312db8f834c99103e3de36dd7 [file] [log] [blame]
Arman Uguray618af2b2012-12-11 19:20:42 -08001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_MM1_MOCK_MODEM_TIME_PROXY_H_
6#define SHILL_MM1_MOCK_MODEM_TIME_PROXY_H_
7
8#include <base/basictypes.h>
9#include <gmock/gmock.h>
10
11#include "shill/mm1_modem_time_proxy_interface.h"
12
13namespace shill {
14namespace mm1 {
15
16class MockModemTimeProxy : public ModemTimeProxyInterface {
17 public:
18 MockModemTimeProxy();
19 virtual ~MockModemTimeProxy();
20
21 // Inherited methods from ModemTimeProxyInterface.
22 MOCK_METHOD3(GetNetworkTime, void(Error *error,
23 const StringCallback &callback,
24 int timeout));
25
26 MOCK_METHOD1(set_network_time_changed_callback,
27 void(const NetworkTimeChangedSignalCallback &callback));
28
29 // Inherited properties from ModemTimeProxyInterface.
30 MOCK_METHOD0(NetworkTimezone, const DBusPropertiesMap());
31
32 private:
33 DISALLOW_COPY_AND_ASSIGN(MockModemTimeProxy);
34};
35
36} // namespace mm1
37} // namespace shill
38
39#endif // SHILL_MOCK_MODEM_TIME_PROXY_H_