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

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

Issue 147763009: Add the client address to the Public Reset packet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove crypto_handshake_message.* from the CL; they were committed separately Created 6 years, 10 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_dispatcher_test.cc ('k') | net/tools/quic/quic_time_wait_list_manager.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 "net/tools/quic/quic_server_session.h" 5 #include "net/tools/quic/quic_server_session.h"
6 6
7 #include "net/quic/crypto/quic_crypto_server_config.h" 7 #include "net/quic/crypto/quic_crypto_server_config.h"
8 #include "net/quic/crypto/quic_random.h" 8 #include "net/quic/crypto/quic_random.h"
9 #include "net/quic/quic_connection.h" 9 #include "net/quic/quic_connection.h"
10 #include "net/quic/quic_utils.h"
10 #include "net/quic/test_tools/quic_connection_peer.h" 11 #include "net/quic/test_tools/quic_connection_peer.h"
11 #include "net/quic/test_tools/quic_data_stream_peer.h" 12 #include "net/quic/test_tools/quic_data_stream_peer.h"
12 #include "net/quic/test_tools/quic_test_utils.h" 13 #include "net/quic/test_tools/quic_test_utils.h"
13 #include "net/tools/epoll_server/epoll_server.h" 14 #include "net/tools/epoll_server/epoll_server.h"
14 #include "net/tools/quic/quic_spdy_server_stream.h" 15 #include "net/tools/quic/quic_spdy_server_stream.h"
15 #include "net/tools/quic/test_tools/quic_test_utils.h" 16 #include "net/tools/quic/test_tools/quic_test_utils.h"
16 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
19 using __gnu_cxx::vector; 20 using __gnu_cxx::vector;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // Incoming streams on the server session must be odd. 250 // Incoming streams on the server session must be odd.
250 EXPECT_CALL(*connection_, SendConnectionClose(QUIC_INVALID_STREAM_ID)); 251 EXPECT_CALL(*connection_, SendConnectionClose(QUIC_INVALID_STREAM_ID));
251 EXPECT_EQ(NULL, 252 EXPECT_EQ(NULL,
252 QuicServerSessionPeer::GetIncomingDataStream(session_.get(), 4)); 253 QuicServerSessionPeer::GetIncomingDataStream(session_.get(), 4));
253 } 254 }
254 255
255 } // namespace 256 } // namespace
256 } // namespace test 257 } // namespace test
257 } // namespace tools 258 } // namespace tools
258 } // namespace net 259 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_dispatcher_test.cc ('k') | net/tools/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698