Ben Chan | bac5bc8 | 2013-04-12 17:15:43 -0700 | [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_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 | |
| 15 | namespace shill { |
| 16 | |
| 17 | class ConnectionInfo; |
| 18 | |
| 19 | class 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_ |