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

Unified Diff: net/quic/quic_http_stream_test.cc

Issue 1320683003: Move logic to figure out if a socket can be reused into HttpStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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_http_stream_test.cc
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc
index 625b33b89db284c9175bc67bb705c375053088fc..43ad62b8098b2b01c8cdeb8409d52e25eccbc87e 100644
--- a/net/quic/quic_http_stream_test.cc
+++ b/net/quic/quic_http_stream_test.cc
@@ -340,14 +340,9 @@ TEST_P(QuicHttpStreamTest, RenewStreamForAuth) {
EXPECT_EQ(nullptr, stream_->RenewStreamForAuth());
}
-TEST_P(QuicHttpStreamTest, CanFindEndOfResponse) {
+TEST_P(QuicHttpStreamTest, CanReuseConnection) {
Initialize();
- EXPECT_TRUE(stream_->CanFindEndOfResponse());
-}
-
-TEST_P(QuicHttpStreamTest, IsConnectionReusable) {
- Initialize();
- EXPECT_FALSE(stream_->IsConnectionReusable());
+ EXPECT_FALSE(stream_->CanReuseConnection());
}
TEST_P(QuicHttpStreamTest, GetRequest) {

Powered by Google App Engine
This is Rietveld 408576698