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

Side by Side Diff: net/http2/hpack/decoder/hpack_decoder_string_buffer_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 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 "net/http2/hpack/decoder/hpack_decoder_string_buffer.h" 5 #include "net/http2/hpack/decoder/hpack_decoder_string_buffer.h"
6 6
7 // Tests of HpackDecoderStringBuffer. 7 // Tests of HpackDecoderStringBuffer.
8 8
9 #include <sstream> 9 #include <sstream>
10 #include <string> 10 #include <string>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
14 #include "net/http2/tools/failure.h" 14 #include "net/http2/tools/failure.h"
15 #include "net/spdy/spdy_test_utils.h" 15 #include "net/spdy/core/spdy_test_utils.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 using ::testing::AssertionResult; 19 using ::testing::AssertionResult;
20 using ::testing::AssertionSuccess; 20 using ::testing::AssertionSuccess;
21 using ::testing::HasSubstr; 21 using ::testing::HasSubstr;
22 using base::StringPiece; 22 using base::StringPiece;
23 using std::string; 23 using std::string;
24 24
25 namespace net { 25 namespace net {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 EXPECT_FALSE(buf_.OnEnd()); 246 EXPECT_FALSE(buf_.OnEnd());
247 LOG(INFO) << buf_; 247 LOG(INFO) << buf_;
248 } 248 }
249 249
250 // TODO(jamessynge): Add tests for ReleaseString(). 250 // TODO(jamessynge): Add tests for ReleaseString().
251 251
252 } // namespace 252 } // namespace
253 } // namespace test 253 } // namespace test
254 } // namespace net 254 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_impl_unittest.cc ('k') | net/http2/hpack/huffman/http2_hpack_huffman_decoder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698