Ben Chan | 1578603 | 2012-11-04 21:28:02 -0800 | [diff] [blame] | 1 | // 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_CELLULAR_OPERATOR_INFO_H_ |
| 6 | #define SHILL_MOCK_CELLULAR_OPERATOR_INFO_H_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | #include <gmock/gmock.h> |
| 11 | |
| 12 | #include "shill/cellular_operator_info.h" |
| 13 | |
| 14 | namespace shill { |
| 15 | |
| 16 | class MockCellularOperatorInfo : public CellularOperatorInfo { |
| 17 | public: |
| 18 | MockCellularOperatorInfo(); |
| 19 | virtual ~MockCellularOperatorInfo(); |
| 20 | |
Albert Chaulk | 0e1cdea | 2013-02-27 15:32:55 -0800 | [diff] [blame^] | 21 | MOCK_METHOD1(Load, bool(const base::FilePath &info_file_path)); |
Arman Uguray | 73a83e6 | 2013-02-12 18:51:33 -0800 | [diff] [blame] | 22 | MOCK_CONST_METHOD1(GetOLPByMCCMNC, |
| 23 | const CellularService::OLP *(const std::string &mccmnc)); |
| 24 | MOCK_CONST_METHOD1(GetCellularOperatorByMCCMNC, |
| 25 | const CellularOperator *(const std::string &mccmnc)); |
Ben Chan | 1578603 | 2012-11-04 21:28:02 -0800 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | } // namespace shill |
| 29 | |
| 30 | #endif // SHILL_MOCK_CELLULAR_OPERATOR_INFO_H_ |