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

Unified Diff: net/tools/quic/spdy_balsa_utils_test.cc

Issue 1281463002: Preparation for changing SpdyHeaderBlock to be ordered. This just (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Close_QUIC_connections_99369742
Patch Set: 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
« no previous file with comments | « net/quic/test_tools/quic_test_packet_maker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/spdy_balsa_utils_test.cc
diff --git a/net/tools/quic/spdy_balsa_utils_test.cc b/net/tools/quic/spdy_balsa_utils_test.cc
index 3d11c94cc19fc4bb471bc0d6dde0860f9e2228fc..98589d713a7507ff480e8872919daf1cdd5a4438 100644
--- a/net/tools/quic/spdy_balsa_utils_test.cc
+++ b/net/tools/quic/spdy_balsa_utils_test.cc
@@ -20,9 +20,9 @@ TEST(SpdyBalsaUtilsTest, RequestHeadersToSpdyHeaders) {
SpdyHeaderBlock expected_headers;
expected_headers[":authority"] = "www.google.com";
- expected_headers[":method"] = "GET";
expected_headers[":path"] = "/foo";
expected_headers[":scheme"] = "https";
+ expected_headers[":method"] = "GET";
EXPECT_EQ(expected_headers, spdy_headers);
}
@@ -44,9 +44,9 @@ TEST(SpdyBalsaUtilsTest, SpdyHeadersToRequestHeaders) {
// Test :authority header.
SpdyHeaderBlock spdy_headers;
spdy_headers[":authority"] = "www.google.com";
- spdy_headers[":method"] = "GET";
spdy_headers[":path"] = "/foo";
spdy_headers[":scheme"] = "https";
+ spdy_headers[":method"] = "GET";
BalsaHeaders request_headers;
SpdyBalsaUtils::SpdyHeadersToRequestHeaders(spdy_headers, &request_headers,
« no previous file with comments | « net/quic/test_tools/quic_test_packet_maker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698