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

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

Issue 99933002: [NaCl SDK] nacl_io: implement getaddrinfo() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/host_resolver_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/tests/nacl_io_test/socket_test.cc
diff --git a/native_client_sdk/src/tests/nacl_io_test/socket_test.cc b/native_client_sdk/src/tests/nacl_io_test/socket_test.cc
index 70a02e0958dc797dd2746a758e0926a9e5236d8c..3b0eab30c93ca2c571997ad27b41c0bd771cb81f 100644
--- a/native_client_sdk/src/tests/nacl_io_test/socket_test.cc
+++ b/native_client_sdk/src/tests/nacl_io_test/socket_test.cc
@@ -12,7 +12,6 @@
#include <sys/stat.h>
#include <map>
-#include <string>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
@@ -260,17 +259,6 @@ TEST_F(SocketTest, Socketpair) {
EXPECT_EQ(errno, EPROTONOSUPPORT);
}
-// These utility functions are only used for newlib (glibc provides its own
-// implementations of these functions).
-#if !defined(__GLIBC__)
-
-TEST(SocketUtilityFunctions, Hstrerror) {
- EXPECT_STREQ(hstrerror(2718),
- "Unknown error in gethostbyname: 2718.");
-}
-
-#endif // !defined(__GLIBC__)
-
TEST(SocketUtilityFunctions, Htonl) {
uint32_t host_long = 0x44332211;
uint32_t network_long = htonl(host_long);
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/host_resolver_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698