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

Side by Side Diff: native_client_sdk/src/tests/nacl_io_test/mock_node.h

Issue 59883020: [NaCl SDK] nacl_io: Enable isatty running under sel_ldr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 4
5 #ifndef TESTS_NACL_IO_TEST_MOCK_NODE_H_ 5 #ifndef TESTS_NACL_IO_TEST_MOCK_NODE_H_
6 #define TESTS_NACL_IO_TEST_MOCK_NODE_H_ 6 #define TESTS_NACL_IO_TEST_MOCK_NODE_H_
7 7
8 #include "gmock/gmock.h" 8 #include "gmock/gmock.h"
9 9
10 #include "nacl_io/filesystem.h" 10 #include "nacl_io/filesystem.h"
(...skipping 17 matching lines...) Expand all
28 MOCK_METHOD2(Ioctl, Error(int, va_list)); 28 MOCK_METHOD2(Ioctl, Error(int, va_list));
29 MOCK_METHOD4(Read, Error(const HandleAttr&, void*, size_t, int*)); 29 MOCK_METHOD4(Read, Error(const HandleAttr&, void*, size_t, int*));
30 MOCK_METHOD4(Write, Error(const HandleAttr&, const void*, size_t, int*)); 30 MOCK_METHOD4(Write, Error(const HandleAttr&, const void*, size_t, int*));
31 MOCK_METHOD6(MMap, Error(void*, size_t, int, int, size_t, void**)); 31 MOCK_METHOD6(MMap, Error(void*, size_t, int, int, size_t, void**));
32 MOCK_METHOD0(GetLinks, int()); 32 MOCK_METHOD0(GetLinks, int());
33 MOCK_METHOD0(GetMode, int()); 33 MOCK_METHOD0(GetMode, int());
34 MOCK_METHOD0(GetType, int()); 34 MOCK_METHOD0(GetType, int());
35 MOCK_METHOD1(GetSize, Error(size_t*)); 35 MOCK_METHOD1(GetSize, Error(size_t*));
36 MOCK_METHOD0(IsaDir, bool()); 36 MOCK_METHOD0(IsaDir, bool());
37 MOCK_METHOD0(IsaFile, bool()); 37 MOCK_METHOD0(IsaFile, bool());
38 MOCK_METHOD0(IsaTTY, bool()); 38 MOCK_METHOD0(Isatty, Error());
39 MOCK_METHOD0(ChildCount, int()); 39 MOCK_METHOD0(ChildCount, int());
40 MOCK_METHOD2(AddChild, Error(const std::string&, const ScopedNode&)); 40 MOCK_METHOD2(AddChild, Error(const std::string&, const ScopedNode&));
41 MOCK_METHOD1(RemoveChild, Error(const std::string&)); 41 MOCK_METHOD1(RemoveChild, Error(const std::string&));
42 MOCK_METHOD2(FindChild, Error(const std::string&, ScopedNode*)); 42 MOCK_METHOD2(FindChild, Error(const std::string&, ScopedNode*));
43 MOCK_METHOD0(Link, void()); 43 MOCK_METHOD0(Link, void());
44 MOCK_METHOD0(Unlink, void()); 44 MOCK_METHOD0(Unlink, void());
45 }; 45 };
46 46
47 #endif // TESTS_NACL_IO_TEST_MOCK_NODE_H_ 47 #endif // TESTS_NACL_IO_TEST_MOCK_NODE_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698