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

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

Issue 1345433002: Add RTC_ prefix to contructormagic macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Formatting fix. Created 5 years, 3 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/base/constructormagic.h"
12 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_singl e_stream.h" 12 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_singl e_stream.h"
13 #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"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 16
17 class RemoteBitrateEstimatorSingleTest : 17 class RemoteBitrateEstimatorSingleTest :
18 public RemoteBitrateEstimatorTest { 18 public RemoteBitrateEstimatorTest {
19 public: 19 public:
20 static const uint32_t kRemoteBitrateEstimatorMinBitrateBps = 30000; 20 static const uint32_t kRemoteBitrateEstimatorMinBitrateBps = 30000;
21 21
22 RemoteBitrateEstimatorSingleTest() {} 22 RemoteBitrateEstimatorSingleTest() {}
23 virtual void SetUp() { 23 virtual void SetUp() {
24 bitrate_estimator_.reset(new RemoteBitrateEstimatorSingleStream( 24 bitrate_estimator_.reset(new RemoteBitrateEstimatorSingleStream(
25 bitrate_observer_.get(), &clock_, 25 bitrate_observer_.get(), &clock_,
26 kRemoteBitrateEstimatorMinBitrateBps)); 26 kRemoteBitrateEstimatorMinBitrateBps));
27 } 27 }
28 protected: 28 protected:
29 DISALLOW_COPY_AND_ASSIGN(RemoteBitrateEstimatorSingleTest); 29 RTC_DISALLOW_COPY_AND_ASSIGN(RemoteBitrateEstimatorSingleTest);
30 }; 30 };
31 31
32 TEST_F(RemoteBitrateEstimatorSingleTest, InitialBehavior) { 32 TEST_F(RemoteBitrateEstimatorSingleTest, InitialBehavior) {
33 InitialBehaviorTestHelper(508017); 33 InitialBehaviorTestHelper(508017);
34 } 34 }
35 35
36 TEST_F(RemoteBitrateEstimatorSingleTest, RateIncreaseReordering) { 36 TEST_F(RemoteBitrateEstimatorSingleTest, RateIncreaseReordering) {
37 RateIncreaseReorderingTestHelper(506422); 37 RateIncreaseReorderingTestHelper(506422);
38 } 38 }
39 39
(...skipping 26 matching lines...) Expand all
66 } 66 }
67 67
68 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThirtyStreamsWrap) { 68 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThirtyStreamsWrap) {
69 CapacityDropTestHelper(30, true, 700); 69 CapacityDropTestHelper(30, true, 700);
70 } 70 }
71 71
72 TEST_F(RemoteBitrateEstimatorSingleTest, TestTimestampGrouping) { 72 TEST_F(RemoteBitrateEstimatorSingleTest, TestTimestampGrouping) {
73 TestTimestampGroupingTestHelper(); 73 TestTimestampGroupingTestHelper();
74 } 74 }
75 } // namespace webrtc 75 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698