blob: 7978c1f27d5d79e0775e9d575afd76c54a8988ad [file] [log] [blame]
Arman Uguray41cc6342013-03-29 16:34:39 -07001// Copyright (c) 2013 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_PENDING_ACTIVATION_STORE_H_
6#define SHILL_MOCK_PENDING_ACTIVATION_STORE_H_
7
8#include <string>
9
10#include <base/file_path.h>
11#include <gmock/gmock.h>
12
13#include "shill/pending_activation_store.h"
14
15namespace shill {
16
17class MockPendingActivationStore : public PendingActivationStore {
18 public:
19 MockPendingActivationStore();
20 virtual ~MockPendingActivationStore();
21
22 MOCK_METHOD2(InitStorage,
23 bool(GLib *glib,const base::FilePath &storage_path));
24 MOCK_CONST_METHOD2(GetActivationState,
25 State(IdentifierType type, const std::string &iccid));
26 MOCK_METHOD3(SetActivationState,
27 bool(IdentifierType type,
28 const std::string &iccid,
29 State state));
30 MOCK_METHOD2(RemoveEntry,
31 bool(IdentifierType type, const std::string &iccid));
32};
33
34} // namespace shill
35
36#endif // SHILL_MOCK_PENDING_ACTIVATION_STORE_H_