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

Side by Side Diff: net/spdy/core/spdy_frame_reader_test.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « net/spdy/core/spdy_frame_reader.cc ('k') | net/spdy/core/spdy_framer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/spdy/spdy_frame_reader.h" 5 #include "net/spdy/core/spdy_frame_reader.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iostream> 8 #include <iostream>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/sys_byteorder.h" 11 #include "base/sys_byteorder.h"
12 #include "testing/platform_test.h" 12 #include "testing/platform_test.h"
13 13
14 namespace net { 14 namespace net {
15 15
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData)); 243 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData));
244 EXPECT_FALSE(frame_reader.IsDoneReading()); 244 EXPECT_FALSE(frame_reader.IsDoneReading());
245 245
246 char dest[arraysize(kFrameData) + 2] = {}; 246 char dest[arraysize(kFrameData) + 2] = {};
247 EXPECT_FALSE(frame_reader.ReadBytes(&dest, arraysize(kFrameData) + 1)); 247 EXPECT_FALSE(frame_reader.ReadBytes(&dest, arraysize(kFrameData) + 1));
248 EXPECT_STREQ("", dest); 248 EXPECT_STREQ("", dest);
249 } 249 }
250 250
251 } // namespace net 251 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_frame_reader.cc ('k') | net/spdy/core/spdy_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698