blob: e1e86111e7cc3c2b978796b21642f8d1cbe5e515 [file] [log] [blame]
Ben Chanb061f892013-02-27 17:46:55 -08001// 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
12namespace shill {
13
14class MockTrafficMonitor : public TrafficMonitor {
15 public:
16 MockTrafficMonitor();
Ben Chan5ea763b2014-08-13 11:07:54 -070017 ~MockTrafficMonitor() override;
Ben Chanb061f892013-02-27 17:46:55 -080018
19 MOCK_METHOD0(Start, void());
20 MOCK_METHOD0(Stop, void());
21
Alex Vakulenko8a532292014-06-16 17:18:44 -070022 private:
Ben Chanb061f892013-02-27 17:46:55 -080023 DISALLOW_COPY_AND_ASSIGN(MockTrafficMonitor);
24};
25
26} // namespace shill
27
28#endif // SHILL_MOCK_TRAFFIC_MONITOR_H_