blob: b65488c1ed5012709829b6881954f2e0e7371857 [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 CellularOperatorInfo::OLP *(const std::string &mccmnc));
MOCK_CONST_METHOD1(GetCellularOperatorByMCCMNC,
const CellularOperator *(const std::string &mccmnc));
MOCK_CONST_METHOD1(GetOLPBySID,
const CellularOperatorInfo::OLP *(const std::string &sid));
MOCK_CONST_METHOD1(GetCellularOperatorBySID,
const CellularOperator *(const std::string &sid));
};
} // namespace shill
#endif // SHILL_MOCK_CELLULAR_OPERATOR_INFO_H_