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

Side by Side Diff: net/tools/flip_server/spdy_interface_test.cc

Issue 25085002: Break out balsa and epoll_server from net/tools/flip_server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/flip_server/spdy_interface.h ('k') | net/tools/flip_server/split.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/tools/flip_server/spdy_interface.h" 5 #include "net/tools/flip_server/spdy_interface.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
11 #include "net/spdy/buffered_spdy_framer.h" 11 #include "net/spdy/buffered_spdy_framer.h"
12 #include "net/tools/flip_server/balsa_enums.h" 12 #include "net/tools/balsa/balsa_enums.h"
13 #include "net/tools/flip_server/balsa_headers.h" 13 #include "net/tools/balsa/balsa_headers.h"
14 #include "net/tools/flip_server/flip_config.h" 14 #include "net/tools/flip_server/flip_config.h"
15 #include "net/tools/flip_server/flip_test_utils.h" 15 #include "net/tools/flip_server/flip_test_utils.h"
16 #include "net/tools/flip_server/mem_cache.h" 16 #include "net/tools/flip_server/mem_cache.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 using ::base::StringPiece; 22 using ::base::StringPiece;
23 using ::testing::_; 23 using ::testing::_;
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 ASSERT_EQ(2, spdy_framer_->frames_received()); 625 ASSERT_EQ(2, spdy_framer_->frames_received());
626 ASSERT_EQ(2u, actual_header_block.size()); 626 ASSERT_EQ(2u, actual_header_block.size());
627 ASSERT_EQ("404 Not Found", actual_header_block["status"]); 627 ASSERT_EQ("404 Not Found", actual_header_block["status"]);
628 ASSERT_EQ("HTTP/1.1", actual_header_block["version"]); 628 ASSERT_EQ("HTTP/1.1", actual_header_block["version"]);
629 ASSERT_EQ("wtf?", StringPiece(actual_data, actual_size)); 629 ASSERT_EQ("wtf?", StringPiece(actual_data, actual_size));
630 } 630 }
631 631
632 } // namespace 632 } // namespace
633 633
634 } // namespace net 634 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/flip_server/spdy_interface.h ('k') | net/tools/flip_server/split.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698