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

Side by Side Diff: webrtc/video/end_to_end_tests.cc

Issue 1169543005: Add sent framerates to histogram stats: (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | webrtc/video/send_statistics_proxy.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 /* 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 1616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1627 EXPECT_EQ(1, test::NumHistogramSamples( 1627 EXPECT_EQ(1, test::NumHistogramSamples(
1628 "WebRTC.Video.KeyFramesSentInPermille")); 1628 "WebRTC.Video.KeyFramesSentInPermille"));
1629 EXPECT_EQ(1, test::NumHistogramSamples( 1629 EXPECT_EQ(1, test::NumHistogramSamples(
1630 "WebRTC.Video.KeyFramesReceivedInPermille")); 1630 "WebRTC.Video.KeyFramesReceivedInPermille"));
1631 1631
1632 EXPECT_EQ(1, test::NumHistogramSamples( 1632 EXPECT_EQ(1, test::NumHistogramSamples(
1633 "WebRTC.Video.SentPacketsLostInPercent")); 1633 "WebRTC.Video.SentPacketsLostInPercent"));
1634 EXPECT_EQ(1, test::NumHistogramSamples( 1634 EXPECT_EQ(1, test::NumHistogramSamples(
1635 "WebRTC.Video.ReceivedPacketsLostInPercent")); 1635 "WebRTC.Video.ReceivedPacketsLostInPercent"));
1636 1636
1637 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.InputFramesPerSecond"));
1638 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SentFramesPerSecond"));
1637 EXPECT_EQ(1, test::NumHistogramSamples( 1639 EXPECT_EQ(1, test::NumHistogramSamples(
1638 "WebRTC.Video.DecodedFramesPerSecond")); 1640 "WebRTC.Video.DecodedFramesPerSecond"));
1639 1641
1640 EXPECT_EQ(1, test::NumHistogramSamples( 1642 EXPECT_EQ(1, test::NumHistogramSamples(
1641 "WebRTC.Video.BitrateSentInKbps")); 1643 "WebRTC.Video.BitrateSentInKbps"));
1642 EXPECT_EQ(1, test::NumHistogramSamples( 1644 EXPECT_EQ(1, test::NumHistogramSamples(
1643 "WebRTC.Video.BitrateReceivedInKbps")); 1645 "WebRTC.Video.BitrateReceivedInKbps"));
1644 EXPECT_EQ(1, test::NumHistogramSamples( 1646 EXPECT_EQ(1, test::NumHistogramSamples(
1645 "WebRTC.Video.MediaBitrateSentInKbps")); 1647 "WebRTC.Video.MediaBitrateSentInKbps"));
1646 EXPECT_EQ(1, test::NumHistogramSamples( 1648 EXPECT_EQ(1, test::NumHistogramSamples(
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
2829 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) 2831 EXPECT_TRUE(default_receive_config.rtp.rtx.empty())
2830 << "Enabling RTX requires rtpmap: rtx negotiation."; 2832 << "Enabling RTX requires rtpmap: rtx negotiation.";
2831 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) 2833 EXPECT_TRUE(default_receive_config.rtp.extensions.empty())
2832 << "Enabling RTP extensions require negotiation."; 2834 << "Enabling RTP extensions require negotiation.";
2833 2835
2834 VerifyEmptyNackConfig(default_receive_config.rtp.nack); 2836 VerifyEmptyNackConfig(default_receive_config.rtp.nack);
2835 VerifyEmptyFecConfig(default_receive_config.rtp.fec); 2837 VerifyEmptyFecConfig(default_receive_config.rtp.fec);
2836 } 2838 }
2837 2839
2838 } // namespace webrtc 2840 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/send_statistics_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698