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

Side by Side Diff: webrtc/voice_engine/test/auto_test/voe_standard_test.cc

Issue 2995363002: Replace gflags usages with rtc_base/flags in all targets based on test_main (Closed)
Patch Set: Fix string use after free Created 3 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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/voice_engine/test/auto_test/voe_standard_test.h" 11 #include "webrtc/voice_engine/test/auto_test/voe_standard_test.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 #include <stdio.h> 14 #include <stdio.h>
15 #include <string.h> 15 #include <string.h>
16 16
17 #include "gflags/gflags.h"
17 #include "webrtc/system_wrappers/include/event_wrapper.h" 18 #include "webrtc/system_wrappers/include/event_wrapper.h"
18 #include "webrtc/typedefs.h" 19 #include "webrtc/typedefs.h"
19 #include "webrtc/voice_engine/test/auto_test/automated_mode.h" 20 #include "webrtc/voice_engine/test/auto_test/automated_mode.h"
20 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" 21 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h"
21 #include "webrtc/voice_engine/voice_engine_defines.h" 22 #include "webrtc/voice_engine/voice_engine_defines.h"
22 23
23 DEFINE_bool(include_timing_dependent_tests, true, 24 DEFINE_bool(include_timing_dependent_tests, true,
24 "If true, we will include tests / parts of tests that are known " 25 "If true, we will include tests / parts of tests that are known "
25 "to break in slow execution environments (such as valgrind)."); 26 "to break in slow execution environments (such as valgrind).");
26 DEFINE_bool(automated, false, 27 DEFINE_bool(automated, false,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 webrtc::voetest::InitializeGoogleTest(&argc, argv); 104 webrtc::voetest::InitializeGoogleTest(&argc, argv);
104 google::ParseCommandLineFlags(&argc, &argv, true); 105 google::ParseCommandLineFlags(&argc, &argv, true);
105 106
106 if (FLAGS_automated) { 107 if (FLAGS_automated) {
107 return webrtc::voetest::RunInAutomatedMode(); 108 return webrtc::voetest::RunInAutomatedMode();
108 } 109 }
109 110
110 return webrtc::voetest::RunInManualMode(); 111 return webrtc::voetest::RunInManualMode();
111 } 112 }
112 #endif //#if !defined(WEBRTC_IOS) 113 #endif //#if !defined(WEBRTC_IOS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698