Darin Petkov | 096b347 | 2012-05-15 10:26:22 +0200 | [diff] [blame^] | 1 | // 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 | |
| 5 | #ifndef SHILL_WIMAX_DEVICE_PROXY_H_ |
| 6 | #define SHILL_WIMAX_DEVICE_PROXY_H_ |
| 7 | |
| 8 | #include <base/basictypes.h> |
| 9 | #include <gmock/gmock.h> |
| 10 | |
| 11 | #include "shill/wimax_device_proxy_interface.h" |
| 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | class MockWiMaxDeviceProxy : public WiMaxDeviceProxyInterface { |
| 16 | public: |
| 17 | MockWiMaxDeviceProxy(); |
| 18 | virtual ~MockWiMaxDeviceProxy(); |
| 19 | |
| 20 | MOCK_METHOD3(Enable, void(Error *error, |
| 21 | const ResultCallback &callback, |
| 22 | int timeout)); |
| 23 | MOCK_METHOD3(Disable, void(Error *error, |
| 24 | const ResultCallback &callback, |
| 25 | int timeout)); |
| 26 | MOCK_METHOD3(Connect, void(Error *error, |
| 27 | const ResultCallback &callback, |
| 28 | int timeout)); |
| 29 | MOCK_METHOD3(Disconnect, void(Error *error, |
| 30 | const ResultCallback &callback, |
| 31 | int timeout)); |
| 32 | MOCK_METHOD1(Index, uint8(Error *error)); |
| 33 | MOCK_METHOD1(Name, std::string(Error *error)); |
| 34 | |
| 35 | DISALLOW_COPY_AND_ASSIGN(MockWiMaxDeviceProxy); |
| 36 | }; |
| 37 | |
| 38 | } // namespace shill |
| 39 | |
| 40 | #endif // SHILL_WIMAX_DEVICE_PROXY_H_ |