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

Unified Diff: native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc

Issue 1335783005: [NaCl SDK] nacl_io: Add support for basic socketpairs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/tests/nacl_io_test/kernel_proxy_test.cc
diff --git a/native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc b/native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc
index 24a0fd10c2de818d047e11785d567427e7f38af4..52f6eeb2fd3ca9439f1ad0b45b154804d3a33371 100644
--- a/native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc
+++ b/native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc
@@ -1116,6 +1116,7 @@ TEST_F(KernelProxyErrorTest, ReadError) {
.WillOnce(DoAll(SetArgPointee<3>(0), // Read 0 bytes.
Return(1234))); // Returned error 1234.
+ EXPECT_CALL(*mock_node, GetType()).WillRepeatedly(Return(S_IFDIR));
EXPECT_CALL(*mock_node, Destroy()).Times(1);
int fd = ki_open("/dummy", O_RDONLY, 0);
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/socket/unix_node.cc ('k') | native_client_sdk/src/tests/nacl_io_test/mock_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698