blob: 71389446b214d483dadbf4d00d5e340745825ce5 [file] [log] [blame]
Thieu Le3426c8f2012-01-11 17:35:11 -08001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
mukesh agrawal7ec71312011-11-10 02:08:26 +00002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "shill/mock_wifi_service.h"
6
7using std::string;
8using std::vector;
9
10namespace shill {
11
12class ControlInterface;
13class EventDispatcher;
14class Manager;
15
16MockWiFiService::MockWiFiService(ControlInterface *control_interface,
17 EventDispatcher *dispatcher,
Thieu Le3426c8f2012-01-11 17:35:11 -080018 Metrics *metrics,
mukesh agrawal7ec71312011-11-10 02:08:26 +000019 Manager *manager,
Paul Stewart3c504012013-01-17 17:49:58 -080020 WiFiProvider *provider,
mukesh agrawal7ec71312011-11-10 02:08:26 +000021 const vector<uint8_t> &ssid,
22 const string &mode,
23 const string &security,
24 bool hidden_ssid)
25 : WiFiService(
Paul Stewart3c504012013-01-17 17:49:58 -080026 control_interface, dispatcher, metrics, manager, provider, ssid, mode,
Paul Stewarta283e4e2013-10-22 20:50:14 -070027 security, hidden_ssid) {
28 ON_CALL(*this, GetSupplicantConfigurationParameters())
29 .WillByDefault(testing::Return(DBusPropertiesMap()));
30}
mukesh agrawal7ec71312011-11-10 02:08:26 +000031
32MockWiFiService::~MockWiFiService() {}
33
34} // namespace shill