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