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

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

Issue 1343093003: Landing Recent QUIC changes until 9/2/2015 17:00 UTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with TOT Created 5 years, 3 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/quic_session_test.cc ('k') | net/tools/quic/quic_server_session.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 (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"
6
5 #include <dirent.h> 7 #include <dirent.h>
6 #include <stdio.h> 8 #include <stdio.h>
7 9
8 #include "base/basictypes.h" 10 #include "base/basictypes.h"
9 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
10 #include "net/quic/test_tools/quic_test_utils.h" 12 #include "net/quic/test_tools/quic_test_utils.h"
11 #include "net/tools/epoll_server/epoll_server.h" 13 #include "net/tools/epoll_server/epoll_server.h"
12 #include "net/tools/quic/quic_client.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 using net::EpollServer; 16 using net::EpollServer;
16 17
17 namespace net { 18 namespace net {
18 namespace tools { 19 namespace tools {
19 namespace test { 20 namespace test {
20 namespace { 21 namespace {
21 22
22 int NumOpenFDs() { 23 int NumOpenFDs() {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 66 }
66 67
67 // The FDs created by the QuicClients should now be closed. 68 // The FDs created by the QuicClients should now be closed.
68 EXPECT_EQ(number_of_open_fds, NumOpenFDs()); 69 EXPECT_EQ(number_of_open_fds, NumOpenFDs());
69 } 70 }
70 71
71 } // namespace 72 } // namespace
72 } // namespace test 73 } // namespace test
73 } // namespace tools 74 } // namespace tools
74 } // namespace net 75 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_session_test.cc ('k') | net/tools/quic/quic_server_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698