blob: d7cfe3a70ac5ca6d7b2ede158ec84918cd49f0c3 [file] [log] [blame]
// Copyright (c) 2011 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_PROFILE_
#define SHILL_MOCK_PROFILE_
#include <string>
#include <gmock/gmock.h>
#include "shill/profile.h"
namespace shill {
class MockProfile : public Profile {
public:
MockProfile(ControlInterface *control, Manager *manager);
MockProfile(ControlInterface *control,
Manager *manager,
const std::string &identifier);
virtual ~MockProfile();
MOCK_METHOD1(GetStoragePath, bool(FilePath *));
MOCK_METHOD0(Save, bool());
private:
DISALLOW_COPY_AND_ASSIGN(MockProfile);
};
} // namespace shill
#endif // SHILL_MOCK_PROFILE_