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

Side by Side Diff: modules/audio_coding/test/target_delay_unittest.cc

Issue 3019543002: Remove various IDs (Closed)
Patch Set: rebase+build error Created 3 years, 2 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 <memory> 11 #include <memory>
12 12
13 #include "common_types.h" // NOLINT(build/include) 13 #include "common_types.h" // NOLINT(build/include)
14 #include "modules/audio_coding/codecs/pcm16b/pcm16b.h" 14 #include "modules/audio_coding/codecs/pcm16b/pcm16b.h"
15 #include "modules/audio_coding/include/audio_coding_module.h" 15 #include "modules/audio_coding/include/audio_coding_module.h"
16 #include "modules/audio_coding/test/utility.h" 16 #include "modules/audio_coding/test/utility.h"
17 #include "modules/include/module_common_types.h" 17 #include "modules/include/module_common_types.h"
18 #include "test/gtest.h" 18 #include "test/gtest.h"
19 #include "test/testsupport/fileutils.h" 19 #include "test/testsupport/fileutils.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
23 class TargetDelayTest : public ::testing::Test { 23 class TargetDelayTest : public ::testing::Test {
24 protected: 24 protected:
25 TargetDelayTest() : acm_(AudioCodingModule::Create(0)) {} 25 TargetDelayTest() : acm_(AudioCodingModule::Create()) {}
26 26
27 ~TargetDelayTest() {} 27 ~TargetDelayTest() {}
28 28
29 void SetUp() { 29 void SetUp() {
30 EXPECT_TRUE(acm_.get() != NULL); 30 EXPECT_TRUE(acm_.get() != NULL);
31 31
32 ASSERT_EQ(0, acm_->InitializeReceiver()); 32 ASSERT_EQ(0, acm_->InitializeReceiver());
33 constexpr int pltype = 108; 33 constexpr int pltype = 108;
34 ASSERT_EQ(true, 34 ASSERT_EQ(true,
35 acm_->RegisterReceiveCodec(pltype, {"L16", kSampleRateHz, 1})); 35 acm_->RegisterReceiveCodec(pltype, {"L16", kSampleRateHz, 1}));
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS) 246 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
247 #define MAYBE_TargetDelayBufferMinMax DISABLED_TargetDelayBufferMinMax 247 #define MAYBE_TargetDelayBufferMinMax DISABLED_TargetDelayBufferMinMax
248 #else 248 #else
249 #define MAYBE_TargetDelayBufferMinMax TargetDelayBufferMinMax 249 #define MAYBE_TargetDelayBufferMinMax TargetDelayBufferMinMax
250 #endif 250 #endif
251 TEST_F(TargetDelayTest, MAYBE_TargetDelayBufferMinMax) { 251 TEST_F(TargetDelayTest, MAYBE_TargetDelayBufferMinMax) {
252 TargetDelayBufferMinMax(); 252 TargetDelayBufferMinMax();
253 } 253 }
254 254
255 } // namespace webrtc 255 } // namespace webrtc
OLDNEW
« no previous file with comments | « modules/audio_coding/test/opus_test.cc ('k') | modules/audio_mixer/audio_mixer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698