| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <ctime> | 5 #include <ctime> |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/path_service.h" | |
| 10 #include "base/process/launch.h" | 9 #include "base/process/launch.h" |
| 11 #include "base/scoped_native_library.h" | 10 #include "base/scoped_native_library.h" |
| 12 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 13 #include "chrome/browser/media/webrtc_browsertest_base.h" | 12 #include "chrome/browser/media/webrtc_browsertest_base.h" |
| 14 #include "chrome/browser/media/webrtc_browsertest_common.h" | 13 #include "chrome/browser/media/webrtc_browsertest_common.h" |
| 15 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
| 16 #include "chrome/browser/ui/browser.h" | 15 #include "chrome/browser/ui/browser.h" |
| 17 #include "chrome/browser/ui/browser_tabstrip.h" | 16 #include "chrome/browser/ui/browser_tabstrip.h" |
| 18 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 17 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 19 #include "chrome/common/chrome_paths.h" | 18 #include "chrome/common/chrome_paths.h" |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 test::GetReferenceFilesDir().Append(kReferenceFile); | 468 test::GetReferenceFilesDir().Append(kReferenceFile); |
| 470 ASSERT_TRUE(RunPesq(reference_file_in_test_dir, trimmed_recording, 16000, | 469 ASSERT_TRUE(RunPesq(reference_file_in_test_dir, trimmed_recording, 16000, |
| 471 &raw_mos, &mos_lqo)); | 470 &raw_mos, &mos_lqo)); |
| 472 | 471 |
| 473 perf_test::PrintResult("audio_pesq", "", "raw_mos", raw_mos, "score", true); | 472 perf_test::PrintResult("audio_pesq", "", "raw_mos", raw_mos, "score", true); |
| 474 perf_test::PrintResult("audio_pesq", "", "mos_lqo", mos_lqo, "score", true); | 473 perf_test::PrintResult("audio_pesq", "", "mos_lqo", mos_lqo, "score", true); |
| 475 | 474 |
| 476 EXPECT_TRUE(base::DeleteFile(recording, false)); | 475 EXPECT_TRUE(base::DeleteFile(recording, false)); |
| 477 EXPECT_TRUE(base::DeleteFile(trimmed_recording, false)); | 476 EXPECT_TRUE(base::DeleteFile(trimmed_recording, false)); |
| 478 } | 477 } |
| OLD | NEW |