| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_KERNEL_PROXY_MOCK_H_ | 5 #ifndef LIBRARIES_NACL_IO_TEST_KERNEL_PROXY_MOCK_H_ |
| 7 #define LIBRARIES_NACL_IO_TEST_KERNEL_PROXY_MOCK_H_ | 6 #define LIBRARIES_NACL_IO_TEST_KERNEL_PROXY_MOCK_H_ |
| 8 | 7 |
| 9 #include <sys/types.h> | 8 #include <sys/types.h> |
| 10 #include <sys/stat.h> | 9 #include <sys/stat.h> |
| 11 #include "gmock/gmock.h" | 10 #include "gmock/gmock.h" |
| 12 | 11 |
| 13 #include "nacl_io/kernel_proxy.h" | 12 #include "nacl_io/kernel_proxy.h" |
| 14 | 13 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 MOCK_METHOD1(unlink, int(const char*)); | 46 MOCK_METHOD1(unlink, int(const char*)); |
| 48 MOCK_METHOD2(utime, int(const char*, const struct utimbuf*)); | 47 MOCK_METHOD2(utime, int(const char*, const struct utimbuf*)); |
| 49 MOCK_METHOD3(write, ssize_t(int, const void*, size_t)); | 48 MOCK_METHOD3(write, ssize_t(int, const void*, size_t)); |
| 50 MOCK_METHOD2(link, int(const char*, const char*)); | 49 MOCK_METHOD2(link, int(const char*, const char*)); |
| 51 MOCK_METHOD2(symlink, int(const char*, const char*)); | 50 MOCK_METHOD2(symlink, int(const char*, const char*)); |
| 52 MOCK_METHOD6(mmap, void*(void*, size_t, int, int, int, size_t)); | 51 MOCK_METHOD6(mmap, void*(void*, size_t, int, int, int, size_t)); |
| 53 MOCK_METHOD1(open_resource, int(const char*)); | 52 MOCK_METHOD1(open_resource, int(const char*)); |
| 54 }; | 53 }; |
| 55 | 54 |
| 56 #endif // LIBRARIES_NACL_IO_TEST_KERNEL_PROXY_MOCK_H_ | 55 #endif // LIBRARIES_NACL_IO_TEST_KERNEL_PROXY_MOCK_H_ |
| OLD | NEW |