| 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_NODE_MOCK_H_ | 5 #ifndef LIBRARIES_NACL_IO_TEST_MOUNT_NODE_MOCK_H_ |
| 7 #define LIBRARIES_NACL_IO_TEST_MOUNT_NODE_MOCK_H_ | 6 #define LIBRARIES_NACL_IO_TEST_MOUNT_NODE_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 MountNodeMock : public nacl_io::MountNode { | 12 class MountNodeMock : public nacl_io::MountNode { |
| 14 public: | 13 public: |
| (...skipping 22 matching lines...) Expand all Loading... |
| 37 MOCK_METHOD0(IsaTTY, bool()); | 36 MOCK_METHOD0(IsaTTY, bool()); |
| 38 MOCK_METHOD0(ChildCount, int()); | 37 MOCK_METHOD0(ChildCount, int()); |
| 39 MOCK_METHOD2(AddChild, Error(const std::string&, const ScopedMountNode&)); | 38 MOCK_METHOD2(AddChild, Error(const std::string&, const ScopedMountNode&)); |
| 40 MOCK_METHOD1(RemoveChild, Error(const std::string&)); | 39 MOCK_METHOD1(RemoveChild, Error(const std::string&)); |
| 41 MOCK_METHOD2(FindChild, Error(const std::string&, ScopedMountNode*)); | 40 MOCK_METHOD2(FindChild, Error(const std::string&, ScopedMountNode*)); |
| 42 MOCK_METHOD0(Link, void()); | 41 MOCK_METHOD0(Link, void()); |
| 43 MOCK_METHOD0(Unlink, void()); | 42 MOCK_METHOD0(Unlink, void()); |
| 44 }; | 43 }; |
| 45 | 44 |
| 46 #endif // LIBRARIES_NACL_IO_TEST_MOUNT_NODE_MOCK_H_ | 45 #endif // LIBRARIES_NACL_IO_TEST_MOUNT_NODE_MOCK_H_ |
| 47 | |
| OLD | NEW |