Chromium Code Reviews| Index: webrtc/video/receive_statistics_proxy_unittest.cc |
| diff --git a/webrtc/video/receive_statistics_proxy_unittest.cc b/webrtc/video/receive_statistics_proxy_unittest.cc |
| index 528ef09c88003d42a65f8e997d9f689e7ea36644..c51e349cf8cc31157d6919a4017013eb321be01e 100644 |
| --- a/webrtc/video/receive_statistics_proxy_unittest.cc |
| +++ b/webrtc/video/receive_statistics_proxy_unittest.cc |
| @@ -98,6 +98,16 @@ TEST_F(ReceiveStatisticsProxyTest, OnDecodedFrameIncreasesQpSum) { |
| statistics_proxy_->GetStats().qp_sum); |
| } |
| +TEST_F(ReceiveStatisticsProxyTest, ReportsContentType) { |
| + EXPECT_EQ("realtime", statistics_proxy_->GetStats().content_type); |
| + statistics_proxy_->OnDecodedFrame(rtc::Optional<uint8_t>(3u), |
| + VideoContentType::SCREENSHARE); |
|
tommi
2017/08/30 15:03:28
indentation seems off. can you run git cl format?
ilnik
2017/08/30 15:30:24
Done.
|
| + EXPECT_EQ("screen", statistics_proxy_->GetStats().content_type); |
| + statistics_proxy_->OnDecodedFrame(rtc::Optional<uint8_t>(3u), |
| + VideoContentType::UNSPECIFIED); |
| + EXPECT_EQ("realtime", statistics_proxy_->GetStats().content_type); |
| +} |
| + |
| TEST_F(ReceiveStatisticsProxyTest, ReportsMaxInterframeDelay) { |
| const int64_t kInterframeDelayMs1 = 100; |
| const int64_t kInterframeDelayMs2 = 200; |