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 | |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 8 | #include <base/basictypes.h> |
mukesh agrawal | 3195024 | 2011-07-14 11:53:38 -0700 | [diff] [blame] | 9 | #include <gmock/gmock.h> |
| 10 | |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 11 | #include "shill/supplicant_process_proxy_interface.h" |
mukesh agrawal | 3195024 | 2011-07-14 11:53:38 -0700 | [diff] [blame] | 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | class MockSupplicantProcessProxy : public SupplicantProcessProxyInterface { |
| 16 | public: |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 17 | MockSupplicantProcessProxy(); |
| 18 | virtual ~MockSupplicantProcessProxy(); |
mukesh agrawal | 3195024 | 2011-07-14 11:53:38 -0700 | [diff] [blame] | 19 | |
| 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_ |