blob: fec0fff9aad6cba704b6af4d38b4deeb9e7f2a0c [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 Petkovc63dcf02012-05-24 11:51:43 +020022 MOCK_METHOD1(SelectCarrier, WiMaxRefPtr(const WiMaxServiceRefPtr &service));
Darin Petkove4b27022012-05-16 13:28:50 +020023
24 private:
25 DISALLOW_COPY_AND_ASSIGN(MockWiMaxProvider);
26};
27
28} // namespace shill
29
30#endif // SHILL_MOCK_WIMAX_PROVIDER_H_