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

Side by Side Diff: net/spdy/core/spdy_pinnable_buffer_piece_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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_pinnable_buffer_piece.h" 5 #include "net/spdy/core/spdy_pinnable_buffer_piece.h"
6 6
7 #include "net/spdy/core/spdy_prefixed_buffer_reader.h"
7 #include "net/spdy/platform/api/spdy_string.h" 8 #include "net/spdy/platform/api/spdy_string.h"
8 #include "net/spdy/spdy_prefixed_buffer_reader.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 namespace test { 13 namespace test {
14 14
15 class SpdyPinnableBufferPieceTest : public ::testing::Test { 15 class SpdyPinnableBufferPieceTest : public ::testing::Test {
16 protected: 16 protected:
17 SpdyPrefixedBufferReader Build(const SpdyString& prefix, 17 SpdyPrefixedBufferReader Build(const SpdyString& prefix,
18 const SpdyString& suffix) { 18 const SpdyString& suffix) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 SpdyPinnableBufferPiece empty; 70 SpdyPinnableBufferPiece empty;
71 piece2.Swap(&empty); 71 piece2.Swap(&empty);
72 72
73 EXPECT_EQ(SpdyStringPiece(""), SpdyStringPiece(piece2)); 73 EXPECT_EQ(SpdyStringPiece(""), SpdyStringPiece(piece2));
74 EXPECT_FALSE(piece2.IsPinned()); 74 EXPECT_FALSE(piece2.IsPinned());
75 } 75 }
76 76
77 } // namespace test 77 } // namespace test
78 78
79 } // namespace net 79 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_pinnable_buffer_piece.cc ('k') | net/spdy/core/spdy_prefixed_buffer_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698