blob: f81fb6f4a62cf8eb32d4e04e8ec0eb898684230b [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
Ben Chancc67c522014-09-03 07:19:18 -070010#include <base/macros.h>
Ben Chanbac5bc82013-04-12 17:15:43 -070011#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();
Ben Chan5ea763b2014-08-13 11:07:54 -070022 ~MockConnectionInfoReader() override;
Ben Chanbac5bc82013-04-12 17:15:43 -070023
24 MOCK_METHOD1(LoadConnectionInfo,
Paul Stewart1e006c62015-06-16 12:29:06 -070025 bool(std::vector<ConnectionInfo>* info_list));
Ben Chanbac5bc82013-04-12 17:15:43 -070026
27 private:
28 DISALLOW_COPY_AND_ASSIGN(MockConnectionInfoReader);
29};
30
31} // namespace shill
32
33#endif // SHILL_MOCK_CONNECTION_INFO_READER_H_