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

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: Merge 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 8f9957c7d7917ee7b563c4ae6f47138d4e6e523f..75469c72c9168042f02281636a83c1e20090af63 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