From 85bd53e7c9498b93b4ff3a9a2fa84f01535ca547 Mon Sep 17 00:00:00 2001 From: "pbos@webrtc.org" Date: Wed, 10 Dec 2014 10:36:20 +0000 Subject: [PATCH] Add AbsSendTime unittests to rampup_tests.cc. R=stefan@webrtc.org BUG= Review URL: https://webrtc-codereview.appspot.com/28229004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7862 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/video/rampup_tests.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/webrtc/video/rampup_tests.cc b/webrtc/video/rampup_tests.cc index b7d699f2c..704115a60 100644 --- a/webrtc/video/rampup_tests.cc +++ b/webrtc/video/rampup_tests.cc @@ -507,4 +507,20 @@ TEST_F(RampUpTest, UpDownUpOneStreamRtx) { RunRampUpDownUpTest(1, true); } TEST_F(RampUpTest, UpDownUpThreeStreamsRtx) { RunRampUpDownUpTest(3, true); } +TEST_F(RampUpTest, AbsSendTimeSingleStream) { + RunRampUpTest(false, 1, 0, RtpExtension::kAbsSendTime); +} + +TEST_F(RampUpTest, AbsSendTimeSimulcast) { + RunRampUpTest(false, 3, 0, RtpExtension::kAbsSendTime); +} + +TEST_F(RampUpTest, AbsSendTimeSimulcastWithRtx) { + RunRampUpTest(true, 3, 0, RtpExtension::kAbsSendTime); +} + +TEST_F(RampUpTest, AbsSendTimeSingleStreamWithHighStartBitrate) { + RunRampUpTest(false, 1, 0.9 * kSingleStreamTargetBps, + RtpExtension::kAbsSendTime); +} } // namespace webrtc