blob: 5527a40a5dfb4b94f4a35c4168d1e13b0f591268 [file] [log] [blame]
Darin Petkove4b27022012-05-16 13:28:50 +02001// 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 Vakulenko8a532292014-06-16 17:18:44 -07008#include <string>
9
Darin Petkove4b27022012-05-16 13:28:50 +020010#include <gmock/gmock.h>
11
12#include "shill/wimax_provider.h"
13
14namespace shill {
15
16class MockWiMaxProvider : public WiMaxProvider {
17 public:
18 MockWiMaxProvider();
Ben Chan5ea763b2014-08-13 11:07:54 -070019 ~MockWiMaxProvider() override;
Darin Petkove4b27022012-05-16 13:28:50 +020020
21 MOCK_METHOD1(OnDeviceInfoAvailable, void(const std::string &link_name));
Darin Petkovc63dcf02012-05-24 11:51:43 +020022 MOCK_METHOD0(OnNetworksChanged, void());
Darin Petkovc1e52732012-05-25 15:23:45 +020023 MOCK_METHOD1(OnServiceUnloaded, bool(const WiMaxServiceRefPtr &service));
Darin Petkov6b9b2e12012-07-10 15:51:42 +020024 MOCK_METHOD1(SelectCarrier,
25 WiMaxRefPtr(const WiMaxServiceConstRefPtr &service));
Darin Petkove4b27022012-05-16 13:28:50 +020026
27 private:
28 DISALLOW_COPY_AND_ASSIGN(MockWiMaxProvider);
29};
30
31} // namespace shill
32
33#endif // SHILL_MOCK_WIMAX_PROVIDER_H_