blob: a0d4ace4d5e33c99cbcd7aa4f2451ca87ba0f20b [file] [log] [blame]
mukesh agrawal7ec71312011-11-10 02:08:26 +00001// Copyright (c) 2011 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_WIFI_SERVICE_
6#define SHILL_MOCK_WIFI_SERVICE_
7
8#include <gmock/gmock.h>
9
10#include "shill/wifi_service.h"
11
12namespace shill {
13
14class MockWiFiService : public WiFiService {
15 public:
16 MockWiFiService(ControlInterface *control_interface,
17 EventDispatcher *dispatcher,
18 Manager *manager,
19 const WiFiRefPtr &device,
20 const std::vector<uint8_t> &ssid,
21 const std::string &mode,
22 const std::string &security,
23 bool hidden_ssid);
24 virtual ~MockWiFiService();
25
26 MOCK_METHOD1(SetState, void(ConnectState state));
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(MockWiFiService);
30};
31
32} // namespace shill
33
34#endif // SHILL_MOCK_WIFI_SERVICE_