Darin Petkov | bec79a2 | 2011-08-01 14:47:17 -0700 | [diff] [blame] | 1 | // 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 Stefanov | ed2c28c | 2011-11-29 15:37:30 -0800 | [diff] [blame] | 8 | #include <string> |
| 9 | |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 10 | #include <base/basictypes.h> |
Darin Petkov | bec79a2 | 2011-08-01 14:47:17 -0700 | [diff] [blame] | 11 | #include <gmock/gmock.h> |
| 12 | |
| 13 | #include "shill/modem_cdma_proxy_interface.h" |
| 14 | |
| 15 | namespace shill { |
| 16 | |
| 17 | class MockModemCDMAProxy : public ModemCDMAProxyInterface { |
| 18 | public: |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 19 | MockModemCDMAProxy(); |
| 20 | virtual ~MockModemCDMAProxy(); |
| 21 | |
Darin Petkov | c408e69 | 2011-08-17 13:47:15 -0700 | [diff] [blame] | 22 | MOCK_METHOD1(Activate, uint32(const std::string &carrier)); |
Darin Petkov | bec79a2 | 2011-08-01 14:47:17 -0700 | [diff] [blame] | 23 | MOCK_METHOD2(GetRegistrationState, void(uint32 *cdma_1x_state, |
| 24 | uint32 *evdo_state)); |
Darin Petkov | d966195 | 2011-08-03 16:25:42 -0700 | [diff] [blame] | 25 | MOCK_METHOD0(GetSignalQuality, uint32()); |
Darin Petkov | 975b5e7 | 2011-08-30 11:48:08 -0700 | [diff] [blame] | 26 | MOCK_METHOD0(MEID, const std::string()); |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 27 | |
| 28 | private: |
| 29 | DISALLOW_COPY_AND_ASSIGN(MockModemCDMAProxy); |
Darin Petkov | bec79a2 | 2011-08-01 14:47:17 -0700 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | } // namespace shill |
| 33 | |
| 34 | #endif // SHILL_MOCK_MODEM_CDMA_PROXY_H_ |