| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 2158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2169 EXPECT_EQ(1, test::NumHistogramSamples( | 2169 EXPECT_EQ(1, test::NumHistogramSamples( |
| 2170 "WebRTC.Video.PaddingBitrateReceivedInKbps")); | 2170 "WebRTC.Video.PaddingBitrateReceivedInKbps")); |
| 2171 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + | 2171 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + |
| 2172 "RetransmittedBitrateSentInKbps")); | 2172 "RetransmittedBitrateSentInKbps")); |
| 2173 EXPECT_EQ(1, test::NumHistogramSamples( | 2173 EXPECT_EQ(1, test::NumHistogramSamples( |
| 2174 "WebRTC.Video.RetransmittedBitrateReceivedInKbps")); | 2174 "WebRTC.Video.RetransmittedBitrateReceivedInKbps")); |
| 2175 | 2175 |
| 2176 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + "SendSideDelayInMs")); | 2176 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + "SendSideDelayInMs")); |
| 2177 EXPECT_EQ(1, | 2177 EXPECT_EQ(1, |
| 2178 test::NumHistogramSamples(video_prefix + "SendSideDelayMaxInMs")); | 2178 test::NumHistogramSamples(video_prefix + "SendSideDelayMaxInMs")); |
| 2179 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SendDelayInMs")); |
| 2179 | 2180 |
| 2180 int num_rtx_samples = use_rtx ? 1 : 0; | 2181 int num_rtx_samples = use_rtx ? 1 : 0; |
| 2181 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( | 2182 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( |
| 2182 "WebRTC.Video.RtxBitrateSentInKbps")); | 2183 "WebRTC.Video.RtxBitrateSentInKbps")); |
| 2183 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( | 2184 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( |
| 2184 "WebRTC.Video.RtxBitrateReceivedInKbps")); | 2185 "WebRTC.Video.RtxBitrateReceivedInKbps")); |
| 2185 | 2186 |
| 2186 int num_red_samples = use_red ? 1 : 0; | 2187 int num_red_samples = use_red ? 1 : 0; |
| 2187 EXPECT_EQ(num_red_samples, test::NumHistogramSamples( | 2188 EXPECT_EQ(num_red_samples, test::NumHistogramSamples( |
| 2188 "WebRTC.Video.FecBitrateSentInKbps")); | 2189 "WebRTC.Video.FecBitrateSentInKbps")); |
| (...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3501 private: | 3502 private: |
| 3502 bool video_observed_; | 3503 bool video_observed_; |
| 3503 bool audio_observed_; | 3504 bool audio_observed_; |
| 3504 SequenceNumberUnwrapper unwrapper_; | 3505 SequenceNumberUnwrapper unwrapper_; |
| 3505 std::set<int64_t> received_packet_ids_; | 3506 std::set<int64_t> received_packet_ids_; |
| 3506 } test; | 3507 } test; |
| 3507 | 3508 |
| 3508 RunBaseTest(&test); | 3509 RunBaseTest(&test); |
| 3509 } | 3510 } |
| 3510 } // namespace webrtc | 3511 } // namespace webrtc |
| OLD | NEW |