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

Unified Diff: net/spdy/spdy_network_transaction_unittest.cc

Issue 1637033002: Remove HTTP/2 status text from SpdyTestUtil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_network_transaction_unittest.cc
diff --git a/net/spdy/spdy_network_transaction_unittest.cc b/net/spdy/spdy_network_transaction_unittest.cc
index 851abce1b9990bd0772d0ae31647a3152aaffb2f..7def3baa79617f6d98173647a87e49f108020e92 100644
--- a/net/spdy/spdy_network_transaction_unittest.cc
+++ b/net/spdy/spdy_network_transaction_unittest.cc
@@ -2539,7 +2539,7 @@ TEST_P(SpdyNetworkTransactionTest, ServerPushSingleDataFrame) {
// Verify the pushed stream.
EXPECT_TRUE(response2.headers.get() != NULL);
- EXPECT_EQ("HTTP/1.1 200 OK", response2.headers->GetStatusLine());
+ EXPECT_EQ("HTTP/1.1 200", response2.headers->GetStatusLine());
}
TEST_P(SpdyNetworkTransactionTest, ServerPushBeforeSynReply) {
@@ -2582,7 +2582,7 @@ TEST_P(SpdyNetworkTransactionTest, ServerPushBeforeSynReply) {
// Verify the pushed stream.
EXPECT_TRUE(response2.headers.get() != NULL);
- EXPECT_EQ("HTTP/1.1 200 OK", response2.headers->GetStatusLine());
+ EXPECT_EQ("HTTP/1.1 200", response2.headers->GetStatusLine());
}
TEST_P(SpdyNetworkTransactionTest, ServerPushSingleDataFrame2) {
@@ -2625,7 +2625,7 @@ TEST_P(SpdyNetworkTransactionTest, ServerPushSingleDataFrame2) {
// Verify the pushed stream.
EXPECT_TRUE(response2.headers.get() != NULL);
- EXPECT_EQ("HTTP/1.1 200 OK", response2.headers->GetStatusLine());
+ EXPECT_EQ("HTTP/1.1 200", response2.headers->GetStatusLine());
}
TEST_P(SpdyNetworkTransactionTest, ServerPushServerAborted) {
@@ -2725,7 +2725,7 @@ TEST_P(SpdyNetworkTransactionTest, ServerPushDuplicate) {
// Verify the pushed stream.
EXPECT_TRUE(response2.headers.get() != NULL);
- EXPECT_EQ("HTTP/1.1 200 OK", response2.headers->GetStatusLine());
+ EXPECT_EQ("HTTP/1.1 200", response2.headers->GetStatusLine());
}
TEST_P(SpdyNetworkTransactionTest, ServerPushMultipleDataFrame) {
@@ -2779,7 +2779,7 @@ TEST_P(SpdyNetworkTransactionTest, ServerPushMultipleDataFrame) {
// Verify the pushed stream.
EXPECT_TRUE(response2.headers.get() != NULL);
- EXPECT_EQ("HTTP/1.1 200 OK", response2.headers->GetStatusLine());
+ EXPECT_EQ("HTTP/1.1 200", response2.headers->GetStatusLine());
}
TEST_P(SpdyNetworkTransactionTest, ServerPushMultipleDataFrameInterrupted) {
@@ -2832,7 +2832,7 @@ TEST_P(SpdyNetworkTransactionTest, ServerPushMultipleDataFrameInterrupted) {
// Verify the pushed stream.
EXPECT_TRUE(response2.headers.get() != NULL);
- EXPECT_EQ("HTTP/1.1 200 OK", response2.headers->GetStatusLine());
+ EXPECT_EQ("HTTP/1.1 200", response2.headers->GetStatusLine());
}
TEST_P(SpdyNetworkTransactionTest, ServerPushInvalidAssociatedStreamID0) {
« no previous file with comments | « no previous file | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698