OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CRYPTOHOME_MOCK_MOUNT_H_ |
| 6 #define CRYPTOHOME_MOCK_MOUNT_H_ |
| 7 |
| 8 #include "cryptohome/mount.h" |
| 9 |
| 10 #include <gmock/gmock.h> |
| 11 |
| 12 namespace cryptohome { |
| 13 class Credentials; |
| 14 |
| 15 class MockMount : public Mount { |
| 16 public: |
| 17 MockMount() {} |
| 18 ~MockMount() {} |
| 19 MOCK_METHOD0(Init, bool()); |
| 20 MOCK_METHOD1(TestCredentials, bool(const Credentials&)); |
| 21 }; |
| 22 } // namespace cryptohome |
| 23 |
| 24 #endif // CRYPTOHOME_MOCK_MOUNT_H_ |
OLD | NEW |