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

Side by Side Diff: net/spdy/core/hpack/hpack_decoder3_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/hpack/hpack_decoder3.cc ('k') | net/spdy/core/hpack/hpack_decoder_interface.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/hpack/hpack_decoder3.h" 5 #include "net/spdy/core/hpack/hpack_decoder3.h"
6 6
7 // Tests of HpackDecoder3. 7 // Tests of HpackDecoder3.
8 8
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <tuple> 11 #include <tuple>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
17 #include "net/http2/hpack/decoder/hpack_decoder_state.h" 17 #include "net/http2/hpack/decoder/hpack_decoder_state.h"
18 #include "net/http2/hpack/decoder/hpack_decoder_tables.h" 18 #include "net/http2/hpack/decoder/hpack_decoder_tables.h"
19 #include "net/http2/hpack/tools/hpack_block_builder.h" 19 #include "net/http2/hpack/tools/hpack_block_builder.h"
20 #include "net/http2/tools/http2_random.h" 20 #include "net/http2/tools/http2_random.h"
21 #include "net/spdy/hpack/hpack_constants.h" 21 #include "net/spdy/chromium/spdy_flags.h"
22 #include "net/spdy/hpack/hpack_encoder.h" 22 #include "net/spdy/core/hpack/hpack_constants.h"
23 #include "net/spdy/hpack/hpack_huffman_table.h" 23 #include "net/spdy/core/hpack/hpack_encoder.h"
24 #include "net/spdy/hpack/hpack_output_stream.h" 24 #include "net/spdy/core/hpack/hpack_huffman_table.h"
25 #include "net/spdy/core/hpack/hpack_output_stream.h"
26 #include "net/spdy/core/spdy_test_utils.h"
25 #include "net/spdy/platform/api/spdy_string.h" 27 #include "net/spdy/platform/api/spdy_string.h"
26 #include "net/spdy/spdy_flags.h"
27 #include "net/spdy/spdy_test_utils.h"
28 #include "testing/gmock/include/gmock/gmock.h" 28 #include "testing/gmock/include/gmock/gmock.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
30 30
31 using ::testing::ElementsAre; 31 using ::testing::ElementsAre;
32 using ::testing::Pair; 32 using ::testing::Pair;
33 33
34 namespace net { 34 namespace net {
35 namespace test { 35 namespace test {
36 36
37 class HpackDecoderStatePeer { 37 class HpackDecoderStatePeer {
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 if (start_choice_ == START_WITH_HANDLER) { 1065 if (start_choice_ == START_WITH_HANDLER) {
1066 EXPECT_EQ(handler_.header_bytes_parsed(), 1066 EXPECT_EQ(handler_.header_bytes_parsed(),
1067 6 * name.size() + 2 * value1.size() + 2 * value2.size() + 1067 6 * name.size() + 2 * value1.size() + 2 * value2.size() +
1068 2 * value3.size()); 1068 2 * value3.size());
1069 } 1069 }
1070 } 1070 }
1071 1071
1072 } // namespace 1072 } // namespace
1073 } // namespace test 1073 } // namespace test
1074 } // namespace net 1074 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/hpack/hpack_decoder3.cc ('k') | net/spdy/core/hpack/hpack_decoder_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698