Darin Petkov | e9d12e0 | 2011-07-27 15:09:37 -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_PROXY_H_ |
| 6 | #define SHILL_MOCK_MODEM_PROXY_H_ |
| 7 | |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 8 | #include <base/basictypes.h> |
Darin Petkov | e9d12e0 | 2011-07-27 15:09:37 -0700 | [diff] [blame] | 9 | #include <gmock/gmock.h> |
| 10 | |
| 11 | #include "shill/modem_proxy_interface.h" |
| 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | class MockModemProxy : public ModemProxyInterface { |
| 16 | public: |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 17 | MockModemProxy(); |
| 18 | virtual ~MockModemProxy(); |
| 19 | |
Darin Petkov | e9d12e0 | 2011-07-27 15:09:37 -0700 | [diff] [blame] | 20 | MOCK_METHOD1(Enable, void(const bool enable)); |
Darin Petkov | ceb6817 | 2011-07-29 14:47:48 -0700 | [diff] [blame] | 21 | MOCK_METHOD0(GetInfo, Info()); |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 22 | |
| 23 | private: |
| 24 | DISALLOW_COPY_AND_ASSIGN(MockModemProxy); |
Darin Petkov | e9d12e0 | 2011-07-27 15:09:37 -0700 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | } // namespace shill |
| 28 | |
| 29 | #endif // SHILL_MOCK_MODEM_PROXY_H_ |