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

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

Issue 25085002: Break out balsa and epoll_server from net/tools/flip_server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/quic/quic_server.h ('k') | net/tools/quic/quic_time_wait_list_manager.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 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 "net/tools/quic/quic_server_session.h" 5 #include "net/tools/quic/quic_server_session.h"
6 6
7 7
8 #include "net/quic/crypto/crypto_server_config.h" 8 #include "net/quic/crypto/crypto_server_config.h"
9 #include "net/quic/crypto/quic_random.h" 9 #include "net/quic/crypto/quic_random.h"
10 #include "net/quic/quic_connection.h" 10 #include "net/quic/quic_connection.h"
11 #include "net/quic/test_tools/quic_connection_peer.h" 11 #include "net/quic/test_tools/quic_connection_peer.h"
12 #include "net/quic/test_tools/quic_test_utils.h" 12 #include "net/quic/test_tools/quic_test_utils.h"
13 #include "net/quic/test_tools/reliable_quic_stream_peer.h" 13 #include "net/quic/test_tools/reliable_quic_stream_peer.h"
14 #include "net/tools/flip_server/epoll_server.h" 14 #include "net/tools/epoll_server/epoll_server.h"
15 #include "net/tools/quic/quic_spdy_server_stream.h" 15 #include "net/tools/quic/quic_spdy_server_stream.h"
16 #include "net/tools/quic/test_tools/quic_test_utils.h" 16 #include "net/tools/quic/test_tools/quic_test_utils.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using __gnu_cxx::vector; 20 using __gnu_cxx::vector;
21 using net::test::MockConnection; 21 using net::test::MockConnection;
22 using net::test::QuicConnectionPeer; 22 using net::test::QuicConnectionPeer;
23 using net::test::ReliableQuicStreamPeer; 23 using net::test::ReliableQuicStreamPeer;
24 using testing::_; 24 using testing::_;
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // Incoming streams on the server session must be odd. 246 // Incoming streams on the server session must be odd.
247 EXPECT_EQ(NULL, 247 EXPECT_EQ(NULL,
248 QuicServerSessionPeer::GetIncomingReliableStream( 248 QuicServerSessionPeer::GetIncomingReliableStream(
249 session_.get(), 2)); 249 session_.get(), 2));
250 } 250 }
251 251
252 } // namespace 252 } // namespace
253 } // namespace test 253 } // namespace test
254 } // namespace tools 254 } // namespace tools
255 } // namespace net 255 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_server.h ('k') | net/tools/quic/quic_time_wait_list_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698