Darin Petkov | 98dd6a0 | 2011-06-10 15:12:57 -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 SHILL_MOCK_DHCP_PROXY_H_ |
| 6 | #define SHILL_MOCK_DHCP_PROXY_H_ |
| 7 | |
| 8 | #include <gmock/gmock.h> |
| 9 | |
| 10 | #include "shill/dhcp_proxy_interface.h" |
| 11 | |
| 12 | namespace shill { |
| 13 | |
| 14 | class MockDHCPProxy : public DHCPProxyInterface { |
| 15 | public: |
| 16 | MOCK_METHOD1(DoRebind, void(const std::string &interface)); |
| 17 | MOCK_METHOD1(DoRelease, void(const std::string &interface)); |
| 18 | }; |
| 19 | |
| 20 | } // namespace shill |
| 21 | |
| 22 | #endif // SHILL_MOCK_DHCP_PROXY_H_ |