blob: 9e58bcdecd92eca0f530679eab9b0162a363e841 [file] [log] [blame]
Jason Glasgowef965562012-04-10 16:12:35 -04001// 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_MODEM3GPP_PROXY_
6#define SHILL_MM1_MOCK_MODEM_MODEM3GPP_PROXY_
7
8#include <string>
9
10#include <base/basictypes.h>
11#include <gmock/gmock.h>
12
13#include "shill/mm1_modem_modem3gpp_proxy_interface.h"
14
15namespace shill {
16namespace mm1 {
17
18class MockModemModem3gppProxy : public ModemModem3gppProxyInterface {
19 public:
20 MockModemModem3gppProxy();
21 virtual ~MockModemModem3gppProxy();
22
23 MOCK_METHOD4(Register, void(const std::string &operator_id,
24 Error *error,
25 const ResultCallback &callback,
26 int timeout));
27 MOCK_METHOD3(Scan, void(Error *error,
28 const DBusPropertyMapsCallback &callback,
29 int timeout));
30
31 // Properties.
32 MOCK_METHOD0(Imei, std::string());
33 MOCK_METHOD0(RegistrationState, uint32_t());
34 MOCK_METHOD0(OperatorCode, std::string());
35 MOCK_METHOD0(OperatorName, std::string());
36 MOCK_METHOD0(EnabledFacilityLocks, uint32_t());
37
38 DISALLOW_COPY_AND_ASSIGN(MockModemModem3gppProxy);
39};
40
41} // namespace mm1
42} // namespace shill
43
44#endif // SHILL_MM1_MOCK_MODEM_MODEM3GPP_PROXY_