Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: mock_mount.h

Issue 2645008: Update on feedback, update dbus API, add unit tests. TEST=manual,unit,BVT BUG=3628 323 (Closed) Base URL: ssh://git@chromiumos-git/cryptohome.git
Patch Set: Address second round of feedback. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « make_tests.sh ('k') | mount.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CRYPTOHOME_MOCK_MOUNT_H_ 5 #ifndef CRYPTOHOME_MOCK_MOUNT_H_
6 #define CRYPTOHOME_MOCK_MOUNT_H_ 6 #define CRYPTOHOME_MOCK_MOUNT_H_
7 7
8 #include "cryptohome/mount.h" 8 #include "mount.h"
9 9
10 #include <gmock/gmock.h> 10 #include <gmock/gmock.h>
11 11
12 namespace cryptohome { 12 namespace cryptohome {
13 class Credentials; 13 class Credentials;
14 14
15 class MockMount : public Mount { 15 class MockMount : public Mount {
16 public: 16 public:
17 MockMount() {} 17 MockMount() {}
18 ~MockMount() {} 18 ~MockMount() {}
19 MOCK_METHOD0(Init, bool()); 19 MOCK_METHOD0(Init, bool());
20 MOCK_METHOD1(TestCredentials, bool(const Credentials&)); 20 MOCK_METHOD1(TestCredentials, bool(const Credentials&));
21 }; 21 };
22 } // namespace cryptohome 22 } // namespace cryptohome
23 23
24 #endif // CRYPTOHOME_MOCK_MOUNT_H_ 24 #endif // CRYPTOHOME_MOCK_MOUNT_H_
OLDNEW
« no previous file with comments | « make_tests.sh ('k') | mount.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698