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

Side by Side Diff: net/quic/core/quic_socket_address_coder_test.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_socket_address_coder.cc ('k') | net/quic/core/quic_spdy_session.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "net/quic/quic_socket_address_coder.h" 5 #include "net/quic/core/quic_socket_address_coder.h"
6 6
7 #include "net/base/sys_addrinfo.h" 7 #include "net/base/sys_addrinfo.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 using std::string; 10 using std::string;
11 11
12 namespace net { 12 namespace net {
13 namespace test { 13 namespace test {
14 14
15 TEST(QuicSocketAddressCoderTest, EncodeIPv4) { 15 TEST(QuicSocketAddressCoderTest, EncodeIPv4) {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 QuicSocketAddressCoder decoder; 118 QuicSocketAddressCoder decoder;
119 ASSERT_TRUE(decoder.Decode(serialized.data(), serialized.length())); 119 ASSERT_TRUE(decoder.Decode(serialized.data(), serialized.length()));
120 EXPECT_EQ(encoder.ip(), decoder.ip()); 120 EXPECT_EQ(encoder.ip(), decoder.ip());
121 EXPECT_EQ(encoder.port(), decoder.port()); 121 EXPECT_EQ(encoder.port(), decoder.port());
122 } 122 }
123 } 123 }
124 124
125 } // namespace test 125 } // namespace test
126 } // namespace net 126 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_socket_address_coder.cc ('k') | net/quic/core/quic_spdy_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698