blob: b8ba84d251c566d0a2d59f7f3fb31f36d0449003 [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
8#include <gmock/gmock.h>
9
10#include "shill/wimax_provider.h"
11
12namespace shill {
13
14class MockWiMaxProvider : public WiMaxProvider {
15 public:
16 MockWiMaxProvider();
17 virtual ~MockWiMaxProvider();
18
19 MOCK_METHOD1(OnDeviceInfoAvailable, void(const std::string &link_name));
Darin Petkovc63dcf02012-05-24 11:51:43 +020020 MOCK_METHOD0(OnNetworksChanged, void());
Darin Petkovc1e52732012-05-25 15:23:45 +020021 MOCK_METHOD1(OnServiceUnloaded, bool(const WiMaxServiceRefPtr &service));
Darin Petkov6b9b2e12012-07-10 15:51:42 +020022 MOCK_METHOD1(SelectCarrier,
23 WiMaxRefPtr(const WiMaxServiceConstRefPtr &service));
Darin Petkove4b27022012-05-16 13:28:50 +020024
25 private:
26 DISALLOW_COPY_AND_ASSIGN(MockWiMaxProvider);
27};
28
29} // namespace shill
30
31#endif // SHILL_MOCK_WIMAX_PROVIDER_H_