OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 <fstream> | 11 #include <fstream> |
12 #include <iostream> | 12 #include <iostream> |
13 | 13 |
14 #include "webrtc/base/checks.h" | 14 #include "webrtc/rtc_base/checks.h" |
15 | 15 |
16 namespace webrtc { | 16 namespace webrtc { |
17 namespace test { | 17 namespace test { |
18 namespace { | 18 namespace { |
19 | 19 |
20 const char* const kErrorMessage = "-Out /path/to/output/file is mandatory"; | 20 const char* const kErrorMessage = "-Out /path/to/output/file is mandatory"; |
21 | 21 |
22 // Writes fake output intended to be parsed by | 22 // Writes fake output intended to be parsed by |
23 // quality_assessment.eval_scores.PolqaScore. | 23 // quality_assessment.eval_scores.PolqaScore. |
24 void WriteOutputFile(const std::string& output_file_path) { | 24 void WriteOutputFile(const std::string& output_file_path) { |
(...skipping 20 matching lines...) Expand all Loading... |
45 } | 45 } |
46 FATAL() << kErrorMessage; | 46 FATAL() << kErrorMessage; |
47 } | 47 } |
48 | 48 |
49 } // namespace test | 49 } // namespace test |
50 } // namespace webrtc | 50 } // namespace webrtc |
51 | 51 |
52 int main(int argc, char* argv[]) { | 52 int main(int argc, char* argv[]) { |
53 return webrtc::test::main(argc, argv); | 53 return webrtc::test::main(argc, argv); |
54 } | 54 } |
OLD | NEW |