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

Side by Side Diff: chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc

Issue 307253002: Temporarily disabling audio quality test on win 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/media/webrtc_browsertest_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/process/launch.h" 10 #include "base/process/launch.h"
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 #else 346 #else
347 #define MAYBE_MANUAL_TestAudioQuality DISABLED_MANUAL_TestAudioQuality 347 #define MAYBE_MANUAL_TestAudioQuality DISABLED_MANUAL_TestAudioQuality
348 #endif 348 #endif
349 349
350 IN_PROC_BROWSER_TEST_P(WebRtcAudioQualityBrowserTest, 350 IN_PROC_BROWSER_TEST_P(WebRtcAudioQualityBrowserTest,
351 MAYBE_MANUAL_TestAudioQuality) { 351 MAYBE_MANUAL_TestAudioQuality) {
352 if (OnWinXp()) { 352 if (OnWinXp()) {
353 LOG(ERROR) << "This test is not implemented for Windows XP."; 353 LOG(ERROR) << "This test is not implemented for Windows XP.";
354 return; 354 return;
355 } 355 }
356 if (OnWin8()) {
357 // http://crbug.com/379798.
358 LOG(ERROR) << "Temporarily disabled for Win 8.";
359 return;
360 }
356 ASSERT_TRUE(test::HasReferenceFilesInCheckout()); 361 ASSERT_TRUE(test::HasReferenceFilesInCheckout());
357 ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady()); 362 ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady());
358 363
359 ASSERT_TRUE(ForceMicrophoneVolumeTo100Percent()); 364 ASSERT_TRUE(ForceMicrophoneVolumeTo100Percent());
360 365
361 ui_test_utils::NavigateToURL( 366 ui_test_utils::NavigateToURL(
362 browser(), embedded_test_server()->GetURL(kMainWebrtcTestHtmlPage)); 367 browser(), embedded_test_server()->GetURL(kMainWebrtcTestHtmlPage));
363 content::WebContents* left_tab = 368 content::WebContents* left_tab =
364 browser()->tab_strip_model()->GetActiveWebContents(); 369 browser()->tab_strip_model()->GetActiveWebContents();
365 370
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 test::GetReferenceFilesDir().Append(kReferenceFile); 417 test::GetReferenceFilesDir().Append(kReferenceFile);
413 ASSERT_TRUE(RunPesq(reference_file_in_test_dir, trimmed_recording, 16000, 418 ASSERT_TRUE(RunPesq(reference_file_in_test_dir, trimmed_recording, 16000,
414 &raw_mos, &mos_lqo)); 419 &raw_mos, &mos_lqo));
415 420
416 perf_test::PrintResult("audio_pesq", "", "raw_mos", raw_mos, "score", true); 421 perf_test::PrintResult("audio_pesq", "", "raw_mos", raw_mos, "score", true);
417 perf_test::PrintResult("audio_pesq", "", "mos_lqo", mos_lqo, "score", true); 422 perf_test::PrintResult("audio_pesq", "", "mos_lqo", mos_lqo, "score", true);
418 423
419 EXPECT_TRUE(base::DeleteFile(recording, false)); 424 EXPECT_TRUE(base::DeleteFile(recording, false));
420 EXPECT_TRUE(base::DeleteFile(trimmed_recording, false)); 425 EXPECT_TRUE(base::DeleteFile(trimmed_recording, false));
421 } 426 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/webrtc_browsertest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698