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

Unified Diff: net/spdy/spdy_framer_test.cc

Issue 992613005: Revert of Test dead code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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_headers_block_parser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer_test.cc
diff --git a/net/spdy/spdy_framer_test.cc b/net/spdy/spdy_framer_test.cc
index 9c19520884f879dd8db64683217ed64c572008c6..c2979131cf9d1e03845340d26c073061b5682797 100644
--- a/net/spdy/spdy_framer_test.cc
+++ b/net/spdy/spdy_framer_test.cc
@@ -3283,19 +3283,18 @@
const char kDescription[] = "CONTINUATION frame";
const unsigned char kFrameData[] = {
- 0x00, 0x00, 0x12, 0x09, // CONTINUATION
- 0x04, 0x00, 0x00, 0x00, // end_headers = true
- 0x2a, 0x00, 0x03, 0x62, // Stream 42, @.b
- 0x61, 0x72, 0x03, 0x66, // ar.f
- 0x6f, 0x6f, 0x00, 0x03, // oo@.
- 0x66, 0x6f, 0x6f, 0x03, // foo.
- 0x62, 0x61, 0x72, // bar
+ 0x00, 0x00, 0x12, 0x09, 0x00, // CONTINUATION
+ 0x00, 0x00, 0x00, 0x2a, // Stream 42
+ 0x00, 0x03, 0x62, 0x61, // @.ba
+ 0x72, 0x03, 0x66, 0x6f, // r.fo
+ 0x6f, 0x00, 0x03, 0x66, // o@.f
+ 0x6f, 0x6f, 0x03, 0x62, // oo.b
+ 0x61, 0x72, // ar
};
SpdyContinuationIR continuation(42);
continuation.SetHeader("bar", "foo");
continuation.SetHeader("foo", "bar");
- continuation.set_end_headers(true);
scoped_ptr<SpdySerializedFrame> frame(
framer.SerializeContinuation(continuation));
CompareFrame(kDescription, *frame, kFrameData, arraysize(kFrameData));
@@ -3451,12 +3450,6 @@
};
SpdyPriorityIR priority_ir(2, 1, 16, true);
scoped_ptr<SpdySerializedFrame> frame(framer.SerializeFrame(priority_ir));
- CompareFrame(kDescription, *frame, kFrameData, arraysize(kFrameData));
- SpdyPriorityIR priority2(2);
- priority2.set_parent_stream_id(1);
- priority2.set_weight(16);
- priority2.set_exclusive(true);
- frame.reset(framer.SerializeFrame(priority2));
CompareFrame(kDescription, *frame, kFrameData, arraysize(kFrameData));
}
« no previous file with comments | « no previous file | net/spdy/spdy_headers_block_parser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698