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

Unified Diff: net/tools/quic/quic_server_session_test.cc

Issue 242593002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Use uint32 instead of int Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/test_tools/reliable_quic_stream_peer.cc ('k') | net/tools/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server_session_test.cc
diff --git a/net/tools/quic/quic_server_session_test.cc b/net/tools/quic/quic_server_session_test.cc
index 8690886f0d7cf44b13901e3d5ef2c53fa3a86d33..507ac8dab3218ab15d23ef22fe0982998f323f7f 100644
--- a/net/tools/quic/quic_server_session_test.cc
+++ b/net/tools/quic/quic_server_session_test.cc
@@ -85,7 +85,7 @@ TEST_P(QuicServerSessionTest, CloseStreamDueToReset) {
QuicRstStreamFrame rst1(stream_id, QUIC_STREAM_NO_ERROR, 0);
if (version() > QUIC_VERSION_13) {
EXPECT_CALL(*connection_,
- SendRstStream(stream_id, QUIC_STREAM_NO_ERROR, 0));
+ SendRstStream(stream_id, QUIC_RST_FLOW_CONTROL_ACCOUNTING, 0));
}
visitor_->OnRstStream(rst1);
EXPECT_EQ(0u, session_->GetNumOpenStreams());
@@ -104,7 +104,7 @@ TEST_P(QuicServerSessionTest, NeverOpenStreamDueToReset) {
QuicRstStreamFrame rst1(stream_id, QUIC_STREAM_NO_ERROR, 0);
if (version() > QUIC_VERSION_13) {
EXPECT_CALL(*connection_,
- SendRstStream(stream_id, QUIC_STREAM_NO_ERROR, 0));
+ SendRstStream(stream_id, QUIC_RST_FLOW_CONTROL_ACCOUNTING, 0));
}
visitor_->OnRstStream(rst1);
EXPECT_EQ(0u, session_->GetNumOpenStreams());
@@ -134,7 +134,7 @@ TEST_P(QuicServerSessionTest, AcceptClosedStream) {
QuicRstStreamFrame rst(stream_id, QUIC_STREAM_NO_ERROR, 0);
if (version() > QUIC_VERSION_13) {
EXPECT_CALL(*connection_,
- SendRstStream(stream_id, QUIC_STREAM_NO_ERROR, 0));
+ SendRstStream(stream_id, QUIC_RST_FLOW_CONTROL_ACCOUNTING, 0));
}
visitor_->OnRstStream(rst);
« no previous file with comments | « net/quic/test_tools/reliable_quic_stream_peer.cc ('k') | net/tools/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698