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

Side by Side Diff: net/quic/quic_session_test.cc

Issue 127553002: QUIC - Syncing with internal source code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/quic/quic_connection_test.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_session.h" 5 #include "net/quic/quic_session.h"
6 6
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
11 #include "net/quic/crypto/crypto_handshake.h" 11 #include "net/quic/quic_crypto_stream.h"
12 #include "net/quic/quic_connection.h"
13 #include "net/quic/quic_protocol.h" 12 #include "net/quic/quic_protocol.h"
13 #include "net/quic/reliable_quic_stream.h"
14 #include "net/quic/test_tools/quic_connection_peer.h" 14 #include "net/quic/test_tools/quic_connection_peer.h"
15 #include "net/quic/test_tools/quic_data_stream_peer.h" 15 #include "net/quic/test_tools/quic_data_stream_peer.h"
16 #include "net/quic/test_tools/quic_session_peer.h" 16 #include "net/quic/test_tools/quic_session_peer.h"
17 #include "net/quic/test_tools/quic_test_utils.h" 17 #include "net/quic/test_tools/quic_test_utils.h"
18 #include "net/quic/test_tools/reliable_quic_stream_peer.h" 18 #include "net/quic/test_tools/reliable_quic_stream_peer.h"
19 #include "net/spdy/spdy_framer.h" 19 #include "net/spdy/spdy_framer.h"
20 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 using base::hash_map; 23 using base::hash_map;
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 } 504 }
505 505
506 QuicRstStreamFrame rst1(stream_id1, QUIC_STREAM_NO_ERROR); 506 QuicRstStreamFrame rst1(stream_id1, QUIC_STREAM_NO_ERROR);
507 session_.OnRstStream(rst1); 507 session_.OnRstStream(rst1);
508 EXPECT_EQ(0u, session_.GetNumOpenStreams()); 508 EXPECT_EQ(0u, session_.GetNumOpenStreams());
509 } 509 }
510 510
511 } // namespace 511 } // namespace
512 } // namespace test 512 } // namespace test
513 } // namespace net 513 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698