blob: 88b4a4551b43171c44e2e6d91afb2f4ebc8bb15f [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 Chanc54afe52014-11-05 10:28:08 -08005#ifndef SHILL_CELLULAR_MOCK_MM1_MODEM_MODEMCDMA_PROXY_H_
6#define SHILL_CELLULAR_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
Ben Chanc54afe52014-11-05 10:28:08 -080013#include "shill/cellular/mm1_modem_modemcdma_proxy_interface.h"
Jason Glasgowef965562012-04-10 16:12:35 -040014
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(
Paul Stewart2f6c7892015-06-16 13:13:10 -070024 const std::string& carrier,
25 Error* error,
26 const ResultCallback& callback,
Jason Glasgowef965562012-04-10 16:12:35 -040027 int timeout));
28
29 MOCK_METHOD4(ActivateManual, void(
Paul Stewart2f6c7892015-06-16 13:13:10 -070030 const DBusPropertiesMap& properties,
31 Error* error,
32 const ResultCallback& callback,
Jason Glasgowef965562012-04-10 16:12:35 -040033 int timeout));
34
35 MOCK_METHOD1(set_activation_state_callback,
Paul Stewart2f6c7892015-06-16 13:13:10 -070036 void(const ActivationStateSignalCallback& callback));
Jason Glasgowef965562012-04-10 16:12:35 -040037
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 Chanc54afe52014-11-05 10:28:08 -080045#endif // SHILL_CELLULAR_MOCK_MM1_MODEM_MODEMCDMA_PROXY_H_