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

Side by Side Diff: net/quic/core/congestion_control/rtt_stats_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
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/quic/congestion_control/rtt_stats.h" 5 #include "net/quic/core/congestion_control/rtt_stats.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/test/mock_log.h" 10 #include "base/test/mock_log.h"
11 #include "net/quic/quic_flags.h" 11 #include "net/quic/core/quic_flags.h"
12 #include "net/quic/test_tools/rtt_stats_peer.h" 12 #include "net/quic/test_tools/rtt_stats_peer.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using logging::LOG_WARNING; 15 using logging::LOG_WARNING;
16 using std::vector; 16 using std::vector;
17 using testing::HasSubstr; 17 using testing::HasSubstr;
18 using testing::Message; 18 using testing::Message;
19 using testing::_; 19 using testing::_;
20 20
21 namespace net { 21 namespace net {
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // Reset rtt stats on connection migrations. 193 // Reset rtt stats on connection migrations.
194 rtt_stats_.OnConnectionMigration(); 194 rtt_stats_.OnConnectionMigration();
195 EXPECT_EQ(QuicTime::Delta::Zero(), rtt_stats_.latest_rtt()); 195 EXPECT_EQ(QuicTime::Delta::Zero(), rtt_stats_.latest_rtt());
196 EXPECT_EQ(QuicTime::Delta::Zero(), rtt_stats_.smoothed_rtt()); 196 EXPECT_EQ(QuicTime::Delta::Zero(), rtt_stats_.smoothed_rtt());
197 EXPECT_EQ(QuicTime::Delta::Zero(), rtt_stats_.min_rtt()); 197 EXPECT_EQ(QuicTime::Delta::Zero(), rtt_stats_.min_rtt());
198 EXPECT_EQ(QuicTime::Delta::Zero(), rtt_stats_.WindowedMinRtt()); 198 EXPECT_EQ(QuicTime::Delta::Zero(), rtt_stats_.WindowedMinRtt());
199 } 199 }
200 200
201 } // namespace test 201 } // namespace test
202 } // namespace net 202 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/congestion_control/rtt_stats.cc ('k') | net/quic/core/congestion_control/send_algorithm_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698