| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 */ | |
| 5 | 4 |
| 6 #ifndef LIBRARIES_NACL_IO_TEST_MOUNT_MOCK_H_ | 5 #ifndef LIBRARIES_NACL_IO_TEST_MOUNT_MOCK_H_ |
| 7 #define LIBRARIES_NACL_IO_TEST_MOUNT_MOCK_H_ | 6 #define LIBRARIES_NACL_IO_TEST_MOUNT_MOCK_H_ |
| 8 | 7 |
| 9 #include "gmock/gmock.h" | 8 #include "gmock/gmock.h" |
| 10 | 9 |
| 11 #include "nacl_io/mount.h" | 10 #include "nacl_io/mount.h" |
| 12 | 11 |
| 13 class MountMock : public nacl_io::Mount { | 12 class MountMock : public nacl_io::Mount { |
| 14 public: | 13 public: |
| (...skipping 11 matching lines...) Expand all Loading... |
| 26 MOCK_METHOD2(Access, Error(const Path&, int)); | 25 MOCK_METHOD2(Access, Error(const Path&, int)); |
| 27 MOCK_METHOD3(Open, Error(const Path&, int, ScopedMountNode*)); | 26 MOCK_METHOD3(Open, Error(const Path&, int, ScopedMountNode*)); |
| 28 MOCK_METHOD2(OpenResource, Error(const Path&, ScopedMountNode*)); | 27 MOCK_METHOD2(OpenResource, Error(const Path&, ScopedMountNode*)); |
| 29 MOCK_METHOD1(Unlink, Error(const Path&)); | 28 MOCK_METHOD1(Unlink, Error(const Path&)); |
| 30 MOCK_METHOD2(Mkdir, Error(const Path&, int)); | 29 MOCK_METHOD2(Mkdir, Error(const Path&, int)); |
| 31 MOCK_METHOD1(Rmdir, Error(const Path&)); | 30 MOCK_METHOD1(Rmdir, Error(const Path&)); |
| 32 MOCK_METHOD1(Remove, Error(const Path&)); | 31 MOCK_METHOD1(Remove, Error(const Path&)); |
| 33 }; | 32 }; |
| 34 | 33 |
| 35 #endif // LIBRARIES_NACL_IO_TEST_MOUNT_MOCK_H_ | 34 #endif // LIBRARIES_NACL_IO_TEST_MOUNT_MOCK_H_ |
| 36 | |
| OLD | NEW |