| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |