blob: d47b5f7897a1fd6f7daf344e7b56d8ac8706d567 [file] [log] [blame]
mukesh agrawal31950242011-07-14 11:53:38 -07001// 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 MOCK_SUPPLICANT_PROCESS_PROXY_H_
6#define MOCK_SUPPLICANT_PROCESS_PROXY_H_
7
Darin Petkovef34f182011-08-26 14:14:40 -07008#include <base/basictypes.h>
mukesh agrawal31950242011-07-14 11:53:38 -07009#include <gmock/gmock.h>
10
Darin Petkovef34f182011-08-26 14:14:40 -070011#include "shill/supplicant_process_proxy_interface.h"
mukesh agrawal31950242011-07-14 11:53:38 -070012
13namespace shill {
14
15class MockSupplicantProcessProxy : public SupplicantProcessProxyInterface {
16 public:
Darin Petkovef34f182011-08-26 14:14:40 -070017 MockSupplicantProcessProxy();
18 virtual ~MockSupplicantProcessProxy();
mukesh agrawal31950242011-07-14 11:53:38 -070019
20 MOCK_METHOD1(CreateInterface,
21 ::DBus::Path(
22 const std::map<std::string, ::DBus::Variant> &args));
23 MOCK_METHOD1(GetInterface, ::DBus::Path(const std::string &ifname));
24 MOCK_METHOD1(RemoveInterface, void(const ::DBus::Path &path));
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(MockSupplicantProcessProxy);
28};
29
30} // namespace shill
31
32#endif // MOCK_SUPPLICANT_PROCESS_PROXY_H_