blob: d9c7c0db72c6b79b2ae1a57a6e35e70216bbf2c8 [file] [log] [blame]
Thieu Le3426c8f2012-01-11 17:35:11 -08001// 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_METRICS_
6#define SHILL_MOCK_METRICS_
7
Thieu Lea20cbc22012-01-09 22:01:43 +00008#include <gmock/gmock.h>
9
Thieu Le3426c8f2012-01-11 17:35:11 -080010#include "shill/metrics.h"
11
12namespace shill {
13
14class MockMetrics : public Metrics {
15 public:
16 MockMetrics();
17 virtual ~MockMetrics();
18
Thieu Lea20cbc22012-01-09 22:01:43 +000019 MOCK_METHOD1(NotifyDefaultServiceChanged, void(const Service *service));
20
Thieu Le3426c8f2012-01-11 17:35:11 -080021 private:
22 DISALLOW_COPY_AND_ASSIGN(MockMetrics);
23};
24
25}
26
27#endif // SHILL_MOCK_METRICS_