Ben Chan | b061f89 | 2013-02-27 17:46:55 -0800 | [diff] [blame] | 1 | // Copyright (c) 2013 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_TRAFFIC_MONITOR_H_ |
| 6 | #define SHILL_MOCK_TRAFFIC_MONITOR_H_ |
| 7 | |
| 8 | #include "shill/traffic_monitor.h" |
| 9 | |
| 10 | #include <gmock/gmock.h> |
| 11 | |
| 12 | namespace shill { |
| 13 | |
| 14 | class MockTrafficMonitor : public TrafficMonitor { |
| 15 | public: |
| 16 | MockTrafficMonitor(); |
| 17 | virtual ~MockTrafficMonitor(); |
| 18 | |
| 19 | MOCK_METHOD0(Start, void()); |
| 20 | MOCK_METHOD0(Stop, void()); |
| 21 | |
Alex Vakulenko | 8a53229 | 2014-06-16 17:18:44 -0700 | [diff] [blame] | 22 | private: |
Ben Chan | b061f89 | 2013-02-27 17:46:55 -0800 | [diff] [blame] | 23 | DISALLOW_COPY_AND_ASSIGN(MockTrafficMonitor); |
| 24 | }; |
| 25 | |
| 26 | } // namespace shill |
| 27 | |
| 28 | #endif // SHILL_MOCK_TRAFFIC_MONITOR_H_ |