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

Side by Side Diff: webrtc/voice_engine/test/auto_test/standard/codec_test.cc

Issue 1227923005: Split webrtc/video into webrtc/{audio,call,video}. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 <stdio.h> 11 #include <stdio.h>
12 #include <string> 12 #include <string>
13 13
14 #include "webrtc/call/rtc_event_log.h"
14 #include "webrtc/test/test_suite.h" 15 #include "webrtc/test/test_suite.h"
15 #include "webrtc/test/testsupport/fileutils.h" 16 #include "webrtc/test/testsupport/fileutils.h"
16 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h" 17 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h"
17 #include "webrtc/voice_engine/voice_engine_defines.h" 18 #include "webrtc/voice_engine/voice_engine_defines.h"
18 #include "webrtc/video/rtc_event_log.h"
19 19
20 class CodecTest : public AfterStreamingFixture { 20 class CodecTest : public AfterStreamingFixture {
21 protected: 21 protected:
22 void SetUp() { 22 void SetUp() {
23 memset(&codec_instance_, 0, sizeof(codec_instance_)); 23 memset(&codec_instance_, 0, sizeof(codec_instance_));
24 } 24 }
25 25
26 void SetArbitrarySendCodec() { 26 void SetArbitrarySendCodec() {
27 // Just grab the first codec. 27 // Just grab the first codec.
28 EXPECT_EQ(0, voe_codec_->GetCodec(0, codec_instance_)); 28 EXPECT_EQ(0, voe_codec_->GetCodec(0, codec_instance_));
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 TEST_LOG("%d ", packet_size); 242 TEST_LOG("%d ", packet_size);
243 TEST_LOG_FLUSH; 243 TEST_LOG_FLUSH;
244 at_least_one_succeeded = true; 244 at_least_one_succeeded = true;
245 Sleep(CODEC_TEST_TIME); 245 Sleep(CODEC_TEST_TIME);
246 } 246 }
247 } 247 }
248 TEST_LOG("\n"); 248 TEST_LOG("\n");
249 EXPECT_TRUE(at_least_one_succeeded); 249 EXPECT_TRUE(at_least_one_succeeded);
250 } 250 }
251 } 251 }
OLDNEW
« no previous file with comments | « webrtc/voice_engine/channel_manager.h ('k') | webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698