OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 | 12 |
13 #include "webrtc/base/flags.h" | 13 #include "webrtc/rtc_base/flags.h" |
14 #include "webrtc/test/field_trial.h" | 14 #include "webrtc/test/field_trial.h" |
15 #include "webrtc/test/gtest.h" | 15 #include "webrtc/test/gtest.h" |
16 #include "webrtc/test/run_test.h" | 16 #include "webrtc/test/run_test.h" |
17 #include "webrtc/video/video_quality_test.h" | 17 #include "webrtc/video/video_quality_test.h" |
18 | 18 |
19 namespace webrtc { | 19 namespace webrtc { |
20 namespace flags { | 20 namespace flags { |
21 | 21 |
22 // Flags common with screenshare loopback, with different default values. | 22 // Flags common with screenshare loopback, with different default values. |
23 DEFINE_int(width, 640, "Video width."); | 23 DEFINE_int(width, 640, "Video width."); |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 return 0; | 314 return 0; |
315 } | 315 } |
316 | 316 |
317 // InitFieldTrialsFromString needs a reference to an std::string instance, | 317 // InitFieldTrialsFromString needs a reference to an std::string instance, |
318 // with a scope that outlives the test. | 318 // with a scope that outlives the test. |
319 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; | 319 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; |
320 webrtc::test::InitFieldTrialsFromString(field_trials); | 320 webrtc::test::InitFieldTrialsFromString(field_trials); |
321 webrtc::test::RunTest(webrtc::Loopback); | 321 webrtc::test::RunTest(webrtc::Loopback); |
322 return 0; | 322 return 0; |
323 } | 323 } |
OLD | NEW |