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

Side by Side Diff: ppapi/tests/test_net_address.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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 unified diff | Download patch
« no previous file with comments | « ppapi/tests/test_nacl_irt_stack_alignment.cc ('k') | ppapi/tests/test_net_address_private.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/tests/test_net_address.h" 5 #include "ppapi/tests/test_net_address.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <cstring> 10 #include <cstring>
8 11
9 #include "ppapi/cpp/net_address.h" 12 #include "ppapi/cpp/net_address.h"
10 #include "ppapi/tests/test_utils.h" 13 #include "ppapi/tests/test_utils.h"
11 #include "ppapi/tests/testing_instance.h" 14 #include "ppapi/tests/testing_instance.h"
12 15
13 using pp::NetAddress; 16 using pp::NetAddress;
14 17
15 REGISTER_TEST_CASE(NetAddress); 18 REGISTER_TEST_CASE(NetAddress);
16 19
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 ipv6_test_cases[i].host_order_port); 167 ipv6_test_cases[i].host_order_port);
165 ASSERT_EQ(ipv6_test_cases[i].expected_without_port, 168 ASSERT_EQ(ipv6_test_cases[i].expected_without_port,
166 addr.DescribeAsString(false).AsString()); 169 addr.DescribeAsString(false).AsString());
167 ASSERT_EQ(ipv6_test_cases[i].expected_with_port, 170 ASSERT_EQ(ipv6_test_cases[i].expected_with_port,
168 addr.DescribeAsString(true).AsString()); 171 addr.DescribeAsString(true).AsString());
169 } 172 }
170 } 173 }
171 174
172 PASS(); 175 PASS();
173 } 176 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_nacl_irt_stack_alignment.cc ('k') | ppapi/tests/test_net_address_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698