OLD | NEW |
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 "webrtc/test/test_suite.h" | 11 #include "webrtc/test/test_suite.h" |
12 | 12 |
13 #include "gflags/gflags.h" | 13 #include "gflags/gflags.h" |
| 14 #include "webrtc/base/logging.h" |
| 15 #include "webrtc/system_wrappers/include/metrics_default.h" |
| 16 #include "webrtc/test/field_trial.h" |
14 #include "webrtc/test/gmock.h" | 17 #include "webrtc/test/gmock.h" |
15 #include "webrtc/test/gtest.h" | 18 #include "webrtc/test/gtest.h" |
16 #include "webrtc/base/logging.h" | |
17 #include "webrtc/system_wrappers/include/metrics_default.h" | |
18 #include "webrtc/test/testsupport/fileutils.h" | 19 #include "webrtc/test/testsupport/fileutils.h" |
19 #include "webrtc/test/testsupport/trace_to_stderr.h" | 20 #include "webrtc/test/testsupport/trace_to_stderr.h" |
20 #include "webrtc/test/field_trial.h" | |
21 | 21 |
22 DEFINE_bool(logs, false, "print logs to stderr"); | 22 DEFINE_bool(logs, false, "print logs to stderr"); |
23 | 23 |
24 DEFINE_string(force_fieldtrials, "", | 24 DEFINE_string(force_fieldtrials, "", |
25 "Field trials control experimental feature code which can be forced. " | 25 "Field trials control experimental feature code which can be forced. " |
26 "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enable/" | 26 "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enable/" |
27 " will assign the group Enable to field trial WebRTC-FooFeature."); | 27 " will assign the group Enable to field trial WebRTC-FooFeature."); |
28 | 28 |
29 namespace webrtc { | 29 namespace webrtc { |
30 namespace test { | 30 namespace test { |
(...skipping 24 matching lines...) Expand all Loading... |
55 rtc::LogMessage::SetLogToStderr(FLAGS_logs); | 55 rtc::LogMessage::SetLogToStderr(FLAGS_logs); |
56 if (FLAGS_logs) | 56 if (FLAGS_logs) |
57 trace_to_stderr_.reset(new TraceToStderr); | 57 trace_to_stderr_.reset(new TraceToStderr); |
58 } | 58 } |
59 | 59 |
60 void TestSuite::Shutdown() { | 60 void TestSuite::Shutdown() { |
61 } | 61 } |
62 | 62 |
63 } // namespace test | 63 } // namespace test |
64 } // namespace webrtc | 64 } // namespace webrtc |
OLD | NEW |