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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time_unittest.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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
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 10
11 #include "webrtc/base/constructormagic.h"
11 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_s end_time.h" 12 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_s end_time.h"
12 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unitt est_helper.h" 13 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unitt est_helper.h"
13 #include "webrtc/rtc_base/constructormagic.h"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 16
17 class RemoteBitrateEstimatorAbsSendTimeTest : 17 class RemoteBitrateEstimatorAbsSendTimeTest :
18 public RemoteBitrateEstimatorTest { 18 public RemoteBitrateEstimatorTest {
19 public: 19 public:
20 RemoteBitrateEstimatorAbsSendTimeTest() {} 20 RemoteBitrateEstimatorAbsSendTimeTest() {}
21 virtual void SetUp() { 21 virtual void SetUp() {
22 bitrate_estimator_.reset(new RemoteBitrateEstimatorAbsSendTime( 22 bitrate_estimator_.reset(new RemoteBitrateEstimatorAbsSendTime(
23 bitrate_observer_.get(), &clock_)); 23 bitrate_observer_.get(), &clock_));
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 } 280 }
281 281
282 // Wait long enough so that we can call Process again. 282 // Wait long enough so that we can call Process again.
283 clock_.AdvanceTimeMilliseconds(1000); 283 clock_.AdvanceTimeMilliseconds(1000);
284 284
285 bitrate_estimator_->Process(); 285 bitrate_estimator_->Process();
286 EXPECT_TRUE(bitrate_observer_->updated()); 286 EXPECT_TRUE(bitrate_observer_->updated());
287 EXPECT_NEAR(bitrate_observer_->latest_bitrate(), 800000u, 10000); 287 EXPECT_NEAR(bitrate_observer_->latest_bitrate(), 800000u, 10000);
288 } 288 }
289 } // namespace webrtc 289 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698