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

Unified Diff: net/quic/quic_chromium_client_stream_test.cc

Issue 1692253004: QUIC - chromium server push support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial for-review version Created 4 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/quic_chromium_client_stream_test.cc
diff --git a/net/quic/quic_chromium_client_stream_test.cc b/net/quic/quic_chromium_client_stream_test.cc
index 2e0ce9000da6941258779c91ad96430c27c9c212..6138ce151a720b3a34e81319022a3d617d366578 100644
--- a/net/quic/quic_chromium_client_stream_test.cc
+++ b/net/quic/quic_chromium_client_stream_test.cc
@@ -250,11 +250,12 @@ TEST_P(QuicChromiumClientStreamTest, OnDataAvailable) {
TEST_P(QuicChromiumClientStreamTest, ProcessHeadersWithError) {
std::string bad_headers = "...";
+ EXPECT_CALL(session_,
+ SendRstStream(kTestStreamId, QUIC_BAD_APPLICATION_PAYLOAD, 0));
+
stream_->OnStreamHeaders(StringPiece(bad_headers));
stream_->OnStreamHeadersComplete(false, bad_headers.length());
- EXPECT_CALL(session_,
- SendRstStream(kTestStreamId, QUIC_BAD_APPLICATION_PAYLOAD, 0));
base::MessageLoop::current()->RunUntilIdle();
EXPECT_CALL(delegate_, OnClose(QUIC_NO_ERROR));

Powered by Google App Engine
This is Rietveld 408576698