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

Side by Side Diff: net/quic/core/quic_multipath_transmissions_map_test.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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/quic/core/quic_multipath_transmissions_map.cc ('k') | net/quic/core/quic_one_block_arena.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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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/quic/quic_multipath_transmissions_map.h" 5 #include "net/quic/core/quic_multipath_transmissions_map.h"
6 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
7 7
8 namespace net { 8 namespace net {
9 namespace test { 9 namespace test {
10 namespace { 10 namespace {
11 11
12 TEST(QuicAcrossPathsTransmissionMapTest, OnPacketRetransmittedOnDifferentPath) { 12 TEST(QuicAcrossPathsTransmissionMapTest, OnPacketRetransmittedOnDifferentPath) {
13 QuicMultipathTransmissionsMap transmission_map; 13 QuicMultipathTransmissionsMap transmission_map;
14 // Packet0's original transmission sent on path 1 with packet number 1. 14 // Packet0's original transmission sent on path 1 with packet number 1.
15 QuicPathIdPacketNumber packet0_0(1, 1); 15 QuicPathIdPacketNumber packet0_0(1, 1);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 EXPECT_EQ(nullptr, 105 EXPECT_EQ(nullptr,
106 transmission_map.MaybeGetTransmissionsOnOtherPaths(packet1_0)); 106 transmission_map.MaybeGetTransmissionsOnOtherPaths(packet1_0));
107 EXPECT_EQ(nullptr, 107 EXPECT_EQ(nullptr,
108 transmission_map.MaybeGetTransmissionsOnOtherPaths(packet1_1)); 108 transmission_map.MaybeGetTransmissionsOnOtherPaths(packet1_1));
109 // Make sure there is no memory leakage. 109 // Make sure there is no memory leakage.
110 } 110 }
111 111
112 } // namespace 112 } // namespace
113 } // namespace test 113 } // namespace test
114 } // namespace net 114 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_multipath_transmissions_map.cc ('k') | net/quic/core/quic_one_block_arena.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698