blob: 8d1ff372b6b4f9df3123bd0cf93e15bbf43bc482 [file] [log] [blame]
Ben Chanbac5bc82013-04-12 17:15:43 -07001// 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_CONNECTION_INFO_READER_H_
6#define SHILL_MOCK_CONNECTION_INFO_READER_H_
7
8#include <vector>
9
10#include <base/basictypes.h>
11#include <gmock/gmock.h>
12
13#include "shill/connection_info_reader.h"
14
15namespace shill {
16
17class ConnectionInfo;
18
19class MockConnectionInfoReader : public ConnectionInfoReader {
20 public:
21 MockConnectionInfoReader();
22 virtual ~MockConnectionInfoReader();
23
24 MOCK_METHOD1(LoadConnectionInfo,
25 bool(std::vector<ConnectionInfo> *info_list));
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(MockConnectionInfoReader);
29};
30
31} // namespace shill
32
33#endif // SHILL_MOCK_CONNECTION_INFO_READER_H_