Eric Shienbrood | 5de44ab | 2011-12-05 10:46:27 -0500 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
Darin Petkov | e604f70 | 2011-07-28 15:51:17 -0700 | [diff] [blame] | 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_SIMPLE_PROXY_H_ |
| 6 | #define SHILL_MOCK_MODEM_SIMPLE_PROXY_H_ |
| 7 | |
Ben Chan | cc67c52 | 2014-09-03 07:19:18 -0700 | [diff] [blame] | 8 | #include <base/macros.h> |
Darin Petkov | e604f70 | 2011-07-28 15:51:17 -0700 | [diff] [blame] | 9 | #include <gmock/gmock.h> |
| 10 | |
| 11 | #include "shill/modem_simple_proxy_interface.h" |
| 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | class MockModemSimpleProxy : public ModemSimpleProxyInterface { |
| 16 | public: |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 17 | MockModemSimpleProxy(); |
Ben Chan | 5ea763b | 2014-08-13 11:07:54 -0700 | [diff] [blame] | 18 | ~MockModemSimpleProxy() override; |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 19 | |
Eric Shienbrood | 9a24553 | 2012-03-07 14:20:39 -0500 | [diff] [blame] | 20 | MOCK_METHOD3(GetModemStatus, void(Error *error, |
| 21 | const DBusPropertyMapCallback &callback, |
Eric Shienbrood | 5de44ab | 2011-12-05 10:46:27 -0500 | [diff] [blame] | 22 | int timeout)); |
Eric Shienbrood | 9a24553 | 2012-03-07 14:20:39 -0500 | [diff] [blame] | 23 | MOCK_METHOD4(Connect, void(const DBusPropertiesMap &properties, |
| 24 | Error *error, const ResultCallback &callback, |
| 25 | int timeout)); |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 26 | |
| 27 | private: |
| 28 | DISALLOW_COPY_AND_ASSIGN(MockModemSimpleProxy); |
Darin Petkov | e604f70 | 2011-07-28 15:51:17 -0700 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | } // namespace shill |
| 32 | |
| 33 | #endif // SHILL_MOCK_MODEM_SIMPLE_PROXY_H_ |