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

Unified Diff: net/quic/quic_flow_controller_test.cc

Issue 1541263002: Landing Recent QUIC changes until 12/18/2015 13:57 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: replace -1 with 0xff for InvalidPathId Created 5 years 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_flow_controller.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_flow_controller_test.cc
diff --git a/net/quic/quic_flow_controller_test.cc b/net/quic/quic_flow_controller_test.cc
index 474d18237f43698f3e915f8b025aabb25a3281d8..877175f595e8d56adbdf116194090caf83ac9358 100644
--- a/net/quic/quic_flow_controller_test.cc
+++ b/net/quic/quic_flow_controller_test.cc
@@ -15,6 +15,8 @@
#include "net/test/gtest_util.h"
#include "testing/gmock/include/gmock/gmock.h"
+using testing::_;
+
namespace net {
namespace test {
@@ -75,8 +77,8 @@ TEST_F(QuicFlowControllerTest, SendingBytes) {
EXPECT_EQ(send_window_, flow_controller_->SendWindowSize());
// Try to send more bytes, violating flow control.
- EXPECT_CALL(connection_,
- SendConnectionClose(QUIC_FLOW_CONTROL_SENT_TOO_MUCH_DATA));
+ EXPECT_CALL(connection_, SendConnectionCloseWithDetails(
+ QUIC_FLOW_CONTROL_SENT_TOO_MUCH_DATA, _));
EXPECT_DFATAL(flow_controller_->AddBytesSent(send_window_ * 10),
base::StringPrintf("Trying to send an extra %" PRIu64 " bytes",
send_window_ * 10));
« no previous file with comments | « net/quic/quic_flow_controller.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698