| 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 2172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2183 1, test::NumHistogramSamples("WebRTC.Call.VideoBitrateReceivedInKbps")); | 2183 1, test::NumHistogramSamples("WebRTC.Call.VideoBitrateReceivedInKbps")); |
| 2184 EXPECT_EQ(1, | 2184 EXPECT_EQ(1, |
| 2185 test::NumHistogramSamples("WebRTC.Call.RtcpBitrateReceivedInBps")); | 2185 test::NumHistogramSamples("WebRTC.Call.RtcpBitrateReceivedInBps")); |
| 2186 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Call.BitrateReceivedInKbps")); | 2186 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Call.BitrateReceivedInKbps")); |
| 2187 EXPECT_EQ( | 2187 EXPECT_EQ( |
| 2188 1, test::NumHistogramSamples("WebRTC.Call.EstimatedSendBitrateInKbps")); | 2188 1, test::NumHistogramSamples("WebRTC.Call.EstimatedSendBitrateInKbps")); |
| 2189 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Call.PacerBitrateInKbps")); | 2189 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Call.PacerBitrateInKbps")); |
| 2190 | 2190 |
| 2191 EXPECT_EQ(1, test::NumHistogramSamples( | 2191 EXPECT_EQ(1, test::NumHistogramSamples( |
| 2192 "WebRTC.Video.NackPacketsSentPerMinute")); | 2192 "WebRTC.Video.NackPacketsSentPerMinute")); |
| 2193 EXPECT_EQ(1, test::NumHistogramSamples( | 2193 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + |
| 2194 "WebRTC.Video.NackPacketsReceivedPerMinute")); | 2194 "NackPacketsReceivedPerMinute")); |
| 2195 EXPECT_EQ(1, test::NumHistogramSamples( | 2195 EXPECT_EQ(1, test::NumHistogramSamples( |
| 2196 "WebRTC.Video.FirPacketsSentPerMinute")); | 2196 "WebRTC.Video.FirPacketsSentPerMinute")); |
| 2197 EXPECT_EQ(1, test::NumHistogramSamples( | 2197 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + |
| 2198 "WebRTC.Video.FirPacketsReceivedPerMinute")); | 2198 "FirPacketsReceivedPerMinute")); |
| 2199 EXPECT_EQ(1, test::NumHistogramSamples( | 2199 EXPECT_EQ(1, test::NumHistogramSamples( |
| 2200 "WebRTC.Video.PliPacketsSentPerMinute")); | 2200 "WebRTC.Video.PliPacketsSentPerMinute")); |
| 2201 EXPECT_EQ(1, test::NumHistogramSamples( | 2201 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + |
| 2202 "WebRTC.Video.PliPacketsReceivedPerMinute")); | 2202 "PliPacketsReceivedPerMinute")); |
| 2203 | 2203 |
| 2204 EXPECT_EQ( | 2204 EXPECT_EQ( |
| 2205 1, test::NumHistogramSamples(video_prefix + "KeyFramesSentInPermille")); | 2205 1, test::NumHistogramSamples(video_prefix + "KeyFramesSentInPermille")); |
| 2206 EXPECT_EQ(1, test::NumHistogramSamples( | 2206 EXPECT_EQ(1, test::NumHistogramSamples( |
| 2207 "WebRTC.Video.KeyFramesReceivedInPermille")); | 2207 "WebRTC.Video.KeyFramesReceivedInPermille")); |
| 2208 | 2208 |
| 2209 EXPECT_EQ( | 2209 EXPECT_EQ( |
| 2210 1, test::NumHistogramSamples(video_prefix + "SentPacketsLostInPercent")); | 2210 1, test::NumHistogramSamples(video_prefix + "SentPacketsLostInPercent")); |
| 2211 EXPECT_EQ(1, test::NumHistogramSamples( | 2211 EXPECT_EQ(1, test::NumHistogramSamples( |
| 2212 "WebRTC.Video.ReceivedPacketsLostInPercent")); | 2212 "WebRTC.Video.ReceivedPacketsLostInPercent")); |
| (...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3526 private: | 3526 private: |
| 3527 bool video_observed_; | 3527 bool video_observed_; |
| 3528 bool audio_observed_; | 3528 bool audio_observed_; |
| 3529 SequenceNumberUnwrapper unwrapper_; | 3529 SequenceNumberUnwrapper unwrapper_; |
| 3530 std::set<int64_t> received_packet_ids_; | 3530 std::set<int64_t> received_packet_ids_; |
| 3531 } test; | 3531 } test; |
| 3532 | 3532 |
| 3533 RunBaseTest(&test); | 3533 RunBaseTest(&test); |
| 3534 } | 3534 } |
| 3535 } // namespace webrtc | 3535 } // namespace webrtc |
| OLD | NEW |