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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts_test/kernel_proxy_mock.h

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_mounts_test/kernel_proxy_mock.h
diff --git a/native_client_sdk/src/libraries/nacl_mounts_test/kernel_proxy_mock.h b/native_client_sdk/src/libraries/nacl_mounts_test/kernel_proxy_mock.h
deleted file mode 100644
index 5c1da163e7efa1233739f4d2fc10f1255b3357c2..0000000000000000000000000000000000000000
--- a/native_client_sdk/src/libraries/nacl_mounts_test/kernel_proxy_mock.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef LIBRARIES_NACL_MOUNTS_TEST_KERNEL_PROXY_MOCK_H_
-#define LIBRARIES_NACL_MOUNTS_TEST_KERNEL_PROXY_MOCK_H_
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "gmock/gmock.h"
-
-#include "nacl_mounts/kernel_proxy.h"
-
-class KernelProxyMock : public KernelProxy {
- public:
- KernelProxyMock();
- virtual ~KernelProxyMock();
-
- MOCK_METHOD2(access, int(const char*, int));
- MOCK_METHOD1(chdir, int(const char*));
- MOCK_METHOD2(chmod, int(const char*, mode_t));
- MOCK_METHOD1(close, int(int));
- MOCK_METHOD1(dup, int(int));
- MOCK_METHOD2(dup2, int(int, int));
- MOCK_METHOD2(fstat, int(int, struct stat*));
- MOCK_METHOD1(fsync, int(int));
- MOCK_METHOD2(getcwd, char*(char*, size_t));
- MOCK_METHOD3(getdents, int(int, void*, unsigned int));
- MOCK_METHOD1(getwd, char*(char*));
- MOCK_METHOD1(isatty, int(int));
- MOCK_METHOD3(lseek, off_t(int, off_t, int));
- MOCK_METHOD2(mkdir, int(const char*, mode_t));
- MOCK_METHOD5(mount, int(const char*, const char*, const char*, unsigned long,
- const void*));
- MOCK_METHOD2(open, int(const char*, int));
- MOCK_METHOD3(read, ssize_t(int, void*, size_t));
- MOCK_METHOD1(remove, int(const char*));
- MOCK_METHOD1(rmdir, int(const char*));
- MOCK_METHOD2(stat, int(const char*, struct stat*));
- MOCK_METHOD1(umount, int(const char*));
- MOCK_METHOD1(unlink, int(const char*));
- MOCK_METHOD3(write, ssize_t(int, const void*, size_t));
- MOCK_METHOD2(link, int(const char*, const char*));
- MOCK_METHOD2(symlink, int(const char*, const char*));
-};
-
-#endif // LIBRARIES_NACL_MOUNTS_TEST_KERNEL_PROXY_MOCK_H_

Powered by Google App Engine
This is Rietveld 408576698