diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-25 09:15:43 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-25 09:15:43 +0000 |
commit | 09f9487db3d03167e334733a946dac16bb1e26b0 (patch) | |
tree | 6ce5139e16c1c7a163729a2dc69ddfe90bd93e59 /native_client_sdk | |
parent | 320d2ac8ade38a161e6a11839bb9aece2e4618b5 (diff) | |
download | chromium_src-09f9487db3d03167e334733a946dac16bb1e26b0.zip chromium_src-09f9487db3d03167e334733a946dac16bb1e26b0.tar.gz chromium_src-09f9487db3d03167e334733a946dac16bb1e26b0.tar.bz2 |
[NaCl SDK] Rename Inet_ptoa* tests to Inet_pton*
The tests were not named correctly.
Review URL: https://codereview.chromium.org/133993012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247103 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
-rw-r--r-- | native_client_sdk/src/tests/nacl_io_test/socket_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 883a5ec..fb13de9 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 @@ -395,7 +395,7 @@ TEST(SocketUtilityFunctions, Inet_ntop_failure) { EXPECT_EQ(errno, ENOSPC); } -TEST(SocketUtilityFunctions, Inet_ptoa) { +TEST(SocketUtilityFunctions, Inet_pton) { struct { int family; const char* input; @@ -433,7 +433,7 @@ TEST(SocketUtilityFunctions, Inet_ptoa) { } } -TEST(SocketUtilityFunctions, Inet_ptoa_failure) { +TEST(SocketUtilityFunctions, Inet_pton_failure) { uint8_t addr[16]; EXPECT_EQ(0, inet_pton(AF_INET, "127.127.12.24312", &addr)); EXPECT_EQ(0, inet_pton(AF_INET, "127.127.12.24 ", &addr)); |