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

Side by Side Diff: net/spdy/core/hpack/hpack_encoder_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_encoder.cc ('k') | net/spdy/core/hpack/hpack_entry.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 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/hpack/hpack_encoder.h" 5 #include "net/spdy/core/hpack/hpack_encoder.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/rand_util.h" 9 #include "base/rand_util.h"
10 #include "net/base/arena.h" 10 #include "net/base/arena.h"
11 #include "net/spdy/hpack/hpack_huffman_table.h" 11 #include "net/spdy/core/hpack/hpack_huffman_table.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 using testing::ElementsAre; 17 using testing::ElementsAre;
18 18
19 namespace test { 19 namespace test {
20 20
21 class HpackHeaderTablePeer { 21 class HpackHeaderTablePeer {
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 CompareWithExpectedEncoding(headers); 578 CompareWithExpectedEncoding(headers);
579 579
580 HpackEntry* new_entry = &peer_.table_peer().dynamic_entries()->front(); 580 HpackEntry* new_entry = &peer_.table_peer().dynamic_entries()->front();
581 EXPECT_EQ(new_entry->name(), "key3"); 581 EXPECT_EQ(new_entry->name(), "key3");
582 EXPECT_EQ(new_entry->value(), "value3"); 582 EXPECT_EQ(new_entry->value(), "value3");
583 } 583 }
584 584
585 } // namespace 585 } // namespace
586 586
587 } // namespace net 587 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/hpack/hpack_encoder.cc ('k') | net/spdy/core/hpack/hpack_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698