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

Side by Side Diff: net/tools/quic/quic_client_test.cc

Issue 1908103002: Landing Recent QUIC changes until 4/15/2016 17:20 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 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/tools/quic/quic_client_session_test.cc ('k') | net/tools/quic/quic_dispatcher.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 (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/tools/quic/quic_client.h" 5 #include "net/tools/quic/quic_client.h"
6 6
7 #include <dirent.h> 7 #include <dirent.h>
8 #include <stdio.h> 8 #include <stdio.h>
9 9
10 #include <memory>
11
10 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
11 #include "net/quic/test_tools/crypto_test_utils.h" 13 #include "net/quic/test_tools/crypto_test_utils.h"
12 #include "net/quic/test_tools/quic_test_utils.h" 14 #include "net/quic/test_tools/quic_test_utils.h"
13 #include "net/tools/epoll_server/epoll_server.h" 15 #include "net/tools/epoll_server/epoll_server.h"
14 #include "net/tools/quic/test_tools/quic_client_peer.h" 16 #include "net/tools/quic/test_tools/quic_client_peer.h"
15 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
16 18
17 using net::EpollServer; 19 using net::EpollServer;
18 using net::test::CryptoTestUtils; 20 using net::test::CryptoTestUtils;
19 21
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Clean up UDP sockets. 98 // Clean up UDP sockets.
97 QuicClientPeer::CleanUpUDPSocket(client.get(), client->GetLatestFD()); 99 QuicClientPeer::CleanUpUDPSocket(client.get(), client->GetLatestFD());
98 EXPECT_EQ(number_of_open_fds + 2, NumOpenFDs()); 100 EXPECT_EQ(number_of_open_fds + 2, NumOpenFDs());
99 QuicClientPeer::CleanUpUDPSocket(client.get(), client->GetLatestFD()); 101 QuicClientPeer::CleanUpUDPSocket(client.get(), client->GetLatestFD());
100 EXPECT_EQ(number_of_open_fds + 1, NumOpenFDs()); 102 EXPECT_EQ(number_of_open_fds + 1, NumOpenFDs());
101 } 103 }
102 104
103 } // namespace 105 } // namespace
104 } // namespace test 106 } // namespace test
105 } // namespace net 107 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client_session_test.cc ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698