blob: a195bd2aa80cc6f0c778048a759c2d93a8232040 [file] [log] [blame]
Darin Petkovbec79a22011-08-01 14:47:17 -07001// Copyright (c) 2011 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_MOCK_MODEM_CDMA_PROXY_H_
6#define SHILL_MOCK_MODEM_CDMA_PROXY_H_
7
Hristo Stefanoved2c28c2011-11-29 15:37:30 -08008#include <string>
9
Darin Petkovef34f182011-08-26 14:14:40 -070010#include <base/basictypes.h>
Darin Petkovbec79a22011-08-01 14:47:17 -070011#include <gmock/gmock.h>
12
13#include "shill/modem_cdma_proxy_interface.h"
14
15namespace shill {
16
17class MockModemCDMAProxy : public ModemCDMAProxyInterface {
18 public:
Darin Petkovef34f182011-08-26 14:14:40 -070019 MockModemCDMAProxy();
20 virtual ~MockModemCDMAProxy();
21
Darin Petkovc408e692011-08-17 13:47:15 -070022 MOCK_METHOD1(Activate, uint32(const std::string &carrier));
Darin Petkovbec79a22011-08-01 14:47:17 -070023 MOCK_METHOD2(GetRegistrationState, void(uint32 *cdma_1x_state,
24 uint32 *evdo_state));
Darin Petkovd9661952011-08-03 16:25:42 -070025 MOCK_METHOD0(GetSignalQuality, uint32());
Darin Petkov975b5e72011-08-30 11:48:08 -070026 MOCK_METHOD0(MEID, const std::string());
Darin Petkovef34f182011-08-26 14:14:40 -070027
28 private:
29 DISALLOW_COPY_AND_ASSIGN(MockModemCDMAProxy);
Darin Petkovbec79a22011-08-01 14:47:17 -070030};
31
32} // namespace shill
33
34#endif // SHILL_MOCK_MODEM_CDMA_PROXY_H_