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

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

Issue 23498015: [NaCl SDK] Support non blocking TCP/UDP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove event friends, rename EventListenerPoll Created 7 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_wrap_test.cc
diff --git a/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc b/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc
index 4472d8c592a3c47962fe630b7557c7e84afbecf3..29e17f25470e490fc2b0050f3a494287aadbfb36 100644
--- a/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc
+++ b/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc
@@ -252,6 +252,13 @@ TEST_F(KernelWrapTest, open) {
open("open", 3456);
}
+TEST_F(KernelWrapTest, pipe) {
+ int fds[2] = { 1, 2 };
+
+ EXPECT_CALL(mock, pipe(fds)).Times(1);
+ pipe(fds);
+}
+
TEST_F(KernelWrapTest, read) {
EXPECT_CALL(mock, read(4567, NULL, 5678)).Times(1);
read(4567, NULL, 5678);

Powered by Google App Engine
This is Rietveld 408576698