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

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

Issue 2862563003: Landing Recent QUIC changes until Sat Apr 29 00:22:04 2017 +0000 (Closed)
Patch Set: rebase and fix test bugs detected by swarm bot. Created 3 years, 7 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/tools/quic/quic_spdy_client_stream_test.cc ('k') | net/tools/quic/test_tools/quic_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_spdy_server_stream_base_test.cc
diff --git a/net/tools/quic/quic_spdy_server_stream_base_test.cc b/net/tools/quic/quic_spdy_server_stream_base_test.cc
index a808691e8a3b8c456b28d04ab235a8bd0e859b48..0955fbe5efe7be642a0fd6c9b9893bcf1679cf35 100644
--- a/net/tools/quic/quic_spdy_server_stream_base_test.cc
+++ b/net/tools/quic/quic_spdy_server_stream_base_test.cc
@@ -6,6 +6,7 @@
#include "net/quic/platform/api/quic_ptr_util.h"
#include "net/quic/platform/api/quic_test.h"
+#include "net/quic/test_tools/quic_spdy_session_peer.h"
#include "net/quic/test_tools/quic_test_utils.h"
using testing::_;
@@ -28,7 +29,9 @@ class QuicSpdyServerStreamBaseTest : public QuicTest {
: session_(new MockQuicConnection(&helper_,
&alarm_factory_,
Perspective::IS_SERVER)) {
- stream_ = new TestQuicSpdyServerStream(kClientDataStreamId1, &session_);
+ stream_ = new TestQuicSpdyServerStream(
+ QuicSpdySessionPeer::GetNthClientInitiatedStreamId(session_, 0),
+ &session_);
session_.ActivateStream(QuicWrapUnique(stream_));
}
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream_test.cc ('k') | net/tools/quic/test_tools/quic_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698