mukesh agrawal | 3195024 | 2011-07-14 11:53:38 -0700 | [diff] [blame] | 1 | // 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 | |
Hristo Stefanov | ed2c28c | 2011-11-29 15:37:30 -0800 | [diff] [blame] | 8 | #include <map> |
| 9 | #include <string> |
| 10 | |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 11 | #include <base/basictypes.h> |
mukesh agrawal | 3195024 | 2011-07-14 11:53:38 -0700 | [diff] [blame] | 12 | #include <gmock/gmock.h> |
| 13 | |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 14 | #include "shill/supplicant_process_proxy_interface.h" |
mukesh agrawal | 3195024 | 2011-07-14 11:53:38 -0700 | [diff] [blame] | 15 | |
| 16 | namespace shill { |
| 17 | |
| 18 | class MockSupplicantProcessProxy : public SupplicantProcessProxyInterface { |
| 19 | public: |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 20 | MockSupplicantProcessProxy(); |
| 21 | virtual ~MockSupplicantProcessProxy(); |
mukesh agrawal | 3195024 | 2011-07-14 11:53:38 -0700 | [diff] [blame] | 22 | |
| 23 | MOCK_METHOD1(CreateInterface, |
| 24 | ::DBus::Path( |
| 25 | const std::map<std::string, ::DBus::Variant> &args)); |
| 26 | MOCK_METHOD1(GetInterface, ::DBus::Path(const std::string &ifname)); |
| 27 | MOCK_METHOD1(RemoveInterface, void(const ::DBus::Path &path)); |
| 28 | |
| 29 | private: |
| 30 | DISALLOW_COPY_AND_ASSIGN(MockSupplicantProcessProxy); |
| 31 | }; |
| 32 | |
| 33 | } // namespace shill |
| 34 | |
| 35 | #endif // MOCK_SUPPLICANT_PROCESS_PROXY_H_ |