blob: 0035dfecc42a7776463860f17421c822e279fd24 [file] [log] [blame]
// Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_MOCK_CELLULAR_OPERATOR_INFO_H_
#define SHILL_MOCK_CELLULAR_OPERATOR_INFO_H_
#include <string>
#include <gmock/gmock.h>
#include "shill/cellular_operator_info.h"
namespace shill {
class MockCellularOperatorInfo : public CellularOperatorInfo {
public:
MockCellularOperatorInfo();
virtual ~MockCellularOperatorInfo();
MOCK_METHOD1(Load, bool(const base::FilePath &info_file_path));
MOCK_CONST_METHOD1(GetOLPByMCCMNC,
const CellularService::OLP *(const std::string &mccmnc));
MOCK_CONST_METHOD1(GetCellularOperatorByMCCMNC,
const CellularOperator *(const std::string &mccmnc));
MOCK_CONST_METHOD1(GetOLPBySID,
const CellularService::OLP *(const std::string &sid));
MOCK_CONST_METHOD1(GetCellularOperatorBySID,
const CellularOperator *(const std::string &sid));
};
} // namespace shill
#endif // SHILL_MOCK_CELLULAR_OPERATOR_INFO_H_