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

Side by Side Diff: net/spdy/core/spdy_protocol_test_utils.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_protocol_test_utils.h ('k') | net/spdy/core/spdy_test_utils.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "net/spdy/core/spdy_protocol_test_utils.h"
7 #include "net/spdy/platform/api/spdy_string_piece.h" 8 #include "net/spdy/platform/api/spdy_string_piece.h"
8 #include "net/spdy/spdy_protocol_test_utils.h"
9 9
10 namespace net { 10 namespace net {
11 namespace test { 11 namespace test {
12 12
13 // TODO(jamessynge): Where it makes sense in these functions, it would be nice 13 // TODO(jamessynge): Where it makes sense in these functions, it would be nice
14 // to make use of the existing gMock matchers here, instead of rolling our own. 14 // to make use of the existing gMock matchers here, instead of rolling our own.
15 15
16 ::testing::AssertionResult VerifySpdyFrameWithHeaderBlockIREquals( 16 ::testing::AssertionResult VerifySpdyFrameWithHeaderBlockIREquals(
17 const SpdyFrameWithHeaderBlockIR& expected, 17 const SpdyFrameWithHeaderBlockIR& expected,
18 const SpdyFrameWithHeaderBlockIR& actual) { 18 const SpdyFrameWithHeaderBlockIR& actual) {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 if (expected.stream_id() != actual.stream_id()) 183 if (expected.stream_id() != actual.stream_id())
184 return ::testing::AssertionFailure(); 184 return ::testing::AssertionFailure();
185 if (expected.delta() != actual.delta()) 185 if (expected.delta() != actual.delta())
186 return ::testing::AssertionFailure(); 186 return ::testing::AssertionFailure();
187 187
188 return ::testing::AssertionSuccess(); 188 return ::testing::AssertionSuccess();
189 } 189 }
190 190
191 } // namespace test 191 } // namespace test
192 } // namespace net 192 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_protocol_test_utils.h ('k') | net/spdy/core/spdy_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698