Paul Stewart | 59a8cba | 2015-01-09 15:48:19 -0800 | [diff] [blame] | 1 | // Copyright 2015 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_UPSTART_MOCK_UPSTART_H_ |
| 6 | #define SHILL_UPSTART_MOCK_UPSTART_H_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | #include <base/macros.h> |
| 11 | #include <gmock/gmock.h> |
| 12 | |
| 13 | #include "shill/upstart/upstart.h" |
| 14 | |
| 15 | namespace shill { |
| 16 | |
| 17 | class ProxyFactory; |
| 18 | |
| 19 | class MockUpstart : public Upstart { |
| 20 | public: |
| 21 | explicit MockUpstart(ProxyFactory *proxy_factory); |
| 22 | ~MockUpstart() override; |
| 23 | |
| 24 | MOCK_METHOD0(NotifyDisconnected, void()); |
| 25 | |
| 26 | private: |
| 27 | DISALLOW_COPY_AND_ASSIGN(MockUpstart); |
| 28 | }; |
| 29 | |
| 30 | } // namespace shill |
| 31 | |
| 32 | #endif // SHILL_UPSTART_MOCK_UPSTART_H_ |