blob: 0035dfecc42a7776463860f17421c822e279fd24 [file] [log] [blame]
Arman Uguray72fab6a2013-01-10 19:32:42 -08001// Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
Ben Chan15786032012-11-04 21:28:02 -08002// 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
14namespace shill {
15
16class MockCellularOperatorInfo : public CellularOperatorInfo {
17 public:
18 MockCellularOperatorInfo();
19 virtual ~MockCellularOperatorInfo();
20
Albert Chaulk0e1cdea2013-02-27 15:32:55 -080021 MOCK_METHOD1(Load, bool(const base::FilePath &info_file_path));
Arman Uguray73a83e62013-02-12 18:51:33 -080022 MOCK_CONST_METHOD1(GetOLPByMCCMNC,
23 const CellularService::OLP *(const std::string &mccmnc));
24 MOCK_CONST_METHOD1(GetCellularOperatorByMCCMNC,
25 const CellularOperator *(const std::string &mccmnc));
Arman Uguray72fab6a2013-01-10 19:32:42 -080026 MOCK_CONST_METHOD1(GetOLPBySID,
27 const CellularService::OLP *(const std::string &sid));
28 MOCK_CONST_METHOD1(GetCellularOperatorBySID,
29 const CellularOperator *(const std::string &sid));
Ben Chan15786032012-11-04 21:28:02 -080030};
31
32} // namespace shill
33
34#endif // SHILL_MOCK_CELLULAR_OPERATOR_INFO_H_