Darin Petkov | e4b2702 | 2012-05-16 13:28:50 +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_MOCK_WIMAX_PROVIDER_H_ |
| 6 | #define SHILL_MOCK_WIMAX_PROVIDER_H_ |
| 7 | |
| 8 | #include <gmock/gmock.h> |
| 9 | |
| 10 | #include "shill/wimax_provider.h" |
| 11 | |
| 12 | namespace shill { |
| 13 | |
| 14 | class MockWiMaxProvider : public WiMaxProvider { |
| 15 | public: |
| 16 | MockWiMaxProvider(); |
| 17 | virtual ~MockWiMaxProvider(); |
| 18 | |
| 19 | MOCK_METHOD1(OnDeviceInfoAvailable, void(const std::string &link_name)); |
Darin Petkov | c63dcf0 | 2012-05-24 11:51:43 +0200 | [diff] [blame] | 20 | MOCK_METHOD0(OnNetworksChanged, void()); |
Darin Petkov | c1e5273 | 2012-05-25 15:23:45 +0200 | [diff] [blame] | 21 | MOCK_METHOD1(OnServiceUnloaded, bool(const WiMaxServiceRefPtr &service)); |
Darin Petkov | 6b9b2e1 | 2012-07-10 15:51:42 +0200 | [diff] [blame] | 22 | MOCK_METHOD1(SelectCarrier, |
| 23 | WiMaxRefPtr(const WiMaxServiceConstRefPtr &service)); |
Darin Petkov | e4b2702 | 2012-05-16 13:28:50 +0200 | [diff] [blame] | 24 | |
| 25 | private: |
| 26 | DISALLOW_COPY_AND_ASSIGN(MockWiMaxProvider); |
| 27 | }; |
| 28 | |
| 29 | } // namespace shill |
| 30 | |
| 31 | #endif // SHILL_MOCK_WIMAX_PROVIDER_H_ |