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

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

Issue 2540693002: Replace test_support_main by test_main and get rid of test_support_main_threaded_mac (Closed)
Patch Set: Adressed comments. Created 4 years 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
« no previous file with comments | « webrtc/voice_engine/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/test/test_suite.h"
15 #include "webrtc/test/testsupport/fileutils.h" 14 #include "webrtc/test/testsupport/fileutils.h"
16 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h" 15 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h"
17 #include "webrtc/voice_engine/voice_engine_defines.h" 16 #include "webrtc/voice_engine/voice_engine_defines.h"
18 17
19 class CodecTest : public AfterStreamingFixture { 18 class CodecTest : public AfterStreamingFixture {
20 protected: 19 protected:
21 void SetUp() { 20 void SetUp() {
22 memset(&codec_instance_, 0, sizeof(codec_instance_)); 21 memset(&codec_instance_, 0, sizeof(codec_instance_));
23 } 22 }
24 23
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 TEST_LOG("%d ", packet_size); 204 TEST_LOG("%d ", packet_size);
206 TEST_LOG_FLUSH; 205 TEST_LOG_FLUSH;
207 at_least_one_succeeded = true; 206 at_least_one_succeeded = true;
208 Sleep(CODEC_TEST_TIME); 207 Sleep(CODEC_TEST_TIME);
209 } 208 }
210 } 209 }
211 TEST_LOG("\n"); 210 TEST_LOG("\n");
212 EXPECT_TRUE(at_least_one_succeeded); 211 EXPECT_TRUE(at_least_one_succeeded);
213 } 212 }
214 } 213 }
OLDNEW
« no previous file with comments | « webrtc/voice_engine/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698