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

Unified Diff: net/quic/quic_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/quic_session.cc ('k') | net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session_test.cc
diff --git a/net/quic/quic_session_test.cc b/net/quic/quic_session_test.cc
index 0c963d46aa95d988f13da0a5a9dee47e954e4aa0..42b9e04d64ae1d6b6e613a038734ca99eb21fa8c 100644
--- a/net/quic/quic_session_test.cc
+++ b/net/quic/quic_session_test.cc
@@ -580,9 +580,9 @@ TEST_P(QuicSessionTest, HandshakeUnblocksFlowControlBlockedStream) {
// Create a stream, and send enough data to make it flow control blocked.
TestStream* stream2 = session_.CreateOutgoingDataStream();
string body(kDefaultFlowControlSendWindow, '.');
- EXPECT_FALSE(stream2->IsFlowControlBlocked());
+ EXPECT_FALSE(stream2->flow_controller()->IsBlocked());
stream2->SendBody(body, false);
- EXPECT_TRUE(stream2->IsFlowControlBlocked());
+ EXPECT_TRUE(stream2->flow_controller()->IsBlocked());
// Now complete the crypto handshake, resulting in an increased flow control
// send window.
@@ -590,7 +590,7 @@ TEST_P(QuicSessionTest, HandshakeUnblocksFlowControlBlockedStream) {
session_.GetCryptoStream()->OnHandshakeMessage(msg);
// Stream is now unblocked.
- EXPECT_FALSE(stream2->IsFlowControlBlocked());
+ EXPECT_FALSE(stream2->flow_controller()->IsBlocked());
}
TEST_P(QuicSessionTest, InvalidFlowControlWindowInHandshake) {
« no previous file with comments | « net/quic/quic_session.cc ('k') | net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698