Darin Petkov | 385b9bc | 2012-12-03 15:25:05 +0100 | [diff] [blame] | 1 | // Copyright (c) 2012 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_DIAGNOSTICS_REPORTER_H_ |
| 6 | #define SHILL_MOCK_DIAGNOSTICS_REPORTER_H_ |
| 7 | |
| 8 | #include <gmock/gmock.h> |
| 9 | |
| 10 | #include "shill/diagnostics_reporter.h" |
| 11 | |
| 12 | namespace shill { |
| 13 | |
| 14 | class MockDiagnosticsReporter : public DiagnosticsReporter { |
| 15 | public: |
| 16 | MockDiagnosticsReporter(); |
| 17 | virtual ~MockDiagnosticsReporter(); |
| 18 | |
| 19 | MOCK_METHOD0(OnConnectivityEvent, void()); |
| 20 | |
| 21 | private: |
| 22 | DISALLOW_COPY_AND_ASSIGN(MockDiagnosticsReporter); |
| 23 | }; |
| 24 | |
| 25 | } // namespace shill |
| 26 | |
| 27 | #endif // SHILL_MOCK_DIAGNOSTICS_REPORTER_H_ |