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

Side by Side Diff: net/quic/chromium/quic_network_transaction_unittest.cc

Issue 2848203002: Add a platform implementation of QuicTest and QuicTestWithParam (Closed)
Patch Set: net/quic/platform/impl/quic_test_impl.cc Created 3 years, 7 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/BUILD.gn ('k') | net/quic/chromium/quic_utils_chromium_test.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <memory> 5 #include <memory>
6 #include <ostream> 6 #include <ostream>
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "net/quic/chromium/mock_quic_data.h" 43 #include "net/quic/chromium/mock_quic_data.h"
44 #include "net/quic/chromium/quic_chromium_alarm_factory.h" 44 #include "net/quic/chromium/quic_chromium_alarm_factory.h"
45 #include "net/quic/chromium/quic_http_utils.h" 45 #include "net/quic/chromium/quic_http_utils.h"
46 #include "net/quic/chromium/quic_stream_factory_peer.h" 46 #include "net/quic/chromium/quic_stream_factory_peer.h"
47 #include "net/quic/chromium/quic_test_packet_maker.h" 47 #include "net/quic/chromium/quic_test_packet_maker.h"
48 #include "net/quic/chromium/test_task_runner.h" 48 #include "net/quic/chromium/test_task_runner.h"
49 #include "net/quic/core/crypto/quic_decrypter.h" 49 #include "net/quic/core/crypto/quic_decrypter.h"
50 #include "net/quic/core/crypto/quic_encrypter.h" 50 #include "net/quic/core/crypto/quic_encrypter.h"
51 #include "net/quic/core/quic_framer.h" 51 #include "net/quic/core/quic_framer.h"
52 #include "net/quic/platform/api/quic_string_piece.h" 52 #include "net/quic/platform/api/quic_string_piece.h"
53 #include "net/quic/platform/impl/quic_test_impl.h"
53 #include "net/quic/test_tools/crypto_test_utils.h" 54 #include "net/quic/test_tools/crypto_test_utils.h"
54 #include "net/quic/test_tools/mock_clock.h" 55 #include "net/quic/test_tools/mock_clock.h"
55 #include "net/quic/test_tools/mock_random.h" 56 #include "net/quic/test_tools/mock_random.h"
56 #include "net/quic/test_tools/quic_test_utils.h" 57 #include "net/quic/test_tools/quic_test_utils.h"
57 #include "net/socket/client_socket_factory.h" 58 #include "net/socket/client_socket_factory.h"
58 #include "net/socket/mock_client_socket_pool_manager.h" 59 #include "net/socket/mock_client_socket_pool_manager.h"
59 #include "net/socket/next_proto.h" 60 #include "net/socket/next_proto.h"
60 #include "net/socket/socket_performance_watcher.h" 61 #include "net/socket/socket_performance_watcher.h"
61 #include "net/socket/socket_performance_watcher_factory.h" 62 #include "net/socket/socket_performance_watcher_factory.h"
62 #include "net/socket/socket_test_util.h" 63 #include "net/socket/socket_test_util.h"
(...skipping 4560 matching lines...) Expand 10 before | Expand all | Expand 10 after
4623 4624
4624 request_.url = GURL("https://mail.example.org/pushed.jpg"); 4625 request_.url = GURL("https://mail.example.org/pushed.jpg");
4625 ChunkedUploadDataStream upload_data(0); 4626 ChunkedUploadDataStream upload_data(0);
4626 upload_data.AppendData("1", 1, true); 4627 upload_data.AppendData("1", 1, true);
4627 request_.upload_data_stream = &upload_data; 4628 request_.upload_data_stream = &upload_data;
4628 SendRequestAndExpectQuicResponse("and hello!"); 4629 SendRequestAndExpectQuicResponse("and hello!");
4629 } 4630 }
4630 4631
4631 } // namespace test 4632 } // namespace test
4632 } // namespace net 4633 } // namespace net
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/quic/chromium/quic_utils_chromium_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698