blob: c973f671538c95ba85dd30006bee28ceba4c0856 [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
Ben Chanc45688b2014-07-02 23:50:45 -07005#ifndef SHILL_MOCK_MM1_MODEM_MODEMCDMA_PROXY_H_
6#define SHILL_MOCK_MM1_MODEM_MODEMCDMA_PROXY_H_
Jason Glasgowef965562012-04-10 16:12:35 -04007
8#include <string>
9
Ben Chancc67c522014-09-03 07:19:18 -070010#include <base/macros.h>
Jason Glasgowef965562012-04-10 16:12:35 -040011#include <gmock/gmock.h>
12
13#include "shill/mm1_modem_modemcdma_proxy_interface.h"
14
15namespace shill {
16namespace mm1 {
17
18class MockModemModemCdmaProxy : public ModemModemCdmaProxyInterface {
19 public:
20 MockModemModemCdmaProxy();
Ben Chan5ea763b2014-08-13 11:07:54 -070021 ~MockModemModemCdmaProxy() override;
Jason Glasgowef965562012-04-10 16:12:35 -040022
23 MOCK_METHOD4(Activate, void(
24 const std::string &carrier,
25 Error *error,
26 const ResultCallback &callback,
27 int timeout));
28
29 MOCK_METHOD4(ActivateManual, void(
30 const DBusPropertiesMap &properties,
31 Error *error,
32 const ResultCallback &callback,
33 int timeout));
34
35 MOCK_METHOD1(set_activation_state_callback,
36 void(const ActivationStateSignalCallback &callback));
37
Jason Glasgowef965562012-04-10 16:12:35 -040038 private:
39 DISALLOW_COPY_AND_ASSIGN(MockModemModemCdmaProxy);
40};
41
42} // namespace mm1
43} // namespace shill
44
Ben Chanc45688b2014-07-02 23:50:45 -070045#endif // SHILL_MOCK_MM1_MODEM_MODEMCDMA_PROXY_H_