shill: implement Manager.GetService (error-case only)
BUG=chromium-os:20254
TEST=unittests, WiFiManager/000_SSID_Length_Limit
this gives us enough to pass the autotest for
network_WiFiManager/000_SSID_Length_Limit.
Change-Id: Ib0305e707d2203327d846be3e0b206033d6a884a
Reviewed-on: http://gerrit.chromium.org/gerrit/7567
Commit-Ready: mukesh agrawal <quiche@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
diff --git a/mock_wifi.cc b/mock_wifi.cc
new file mode 100644
index 0000000..68fa119
--- /dev/null
+++ b/mock_wifi.cc
@@ -0,0 +1,28 @@
+// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "shill/mock_wifi.h"
+
+#include <string>
+
+namespace shill {
+
+using std::string;
+
+MockWiFi::MockWiFi(ControlInterface *control_interface,
+ EventDispatcher *dispatcher,
+ Manager *manager,
+ const string &link_name,
+ const string &address,
+ int interface_index)
+ : WiFi(control_interface,
+ dispatcher,
+ manager,
+ link_name,
+ address,
+ interface_index) {}
+
+MockWiFi::~MockWiFi() {}
+
+} // namespace shill