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