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

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

Issue 1378123003: Adding SSL ETS Tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ets
Patch Set: Rebase. Created 5 years, 1 month 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
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 "base/base64.h" 5 #include "base/base64.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/environment.h" 7 #include "base/environment.h"
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 304
305 IN_PROC_BROWSER_TEST_P(WebRtcVideoQualityBrowserTest, 305 IN_PROC_BROWSER_TEST_P(WebRtcVideoQualityBrowserTest,
306 MANUAL_TestVideoQuality) { 306 MANUAL_TestVideoQuality) {
307 if (OnWinXp()) 307 if (OnWinXp())
308 return; // Fails on XP. http://crbug.com/353078. 308 return; // Fails on XP. http://crbug.com/353078.
309 309
310 ASSERT_GE(TestTimeouts::action_max_timeout().InSeconds(), 150) << 310 ASSERT_GE(TestTimeouts::action_max_timeout().InSeconds(), 150) <<
311 "This is a long-running test; you must specify " 311 "This is a long-running test; you must specify "
312 "--ui-test-action-max-timeout to have a value of at least 150000."; 312 "--ui-test-action-max-timeout to have a value of at least 150000.";
313 ASSERT_TRUE(test::HasReferenceFilesInCheckout()); 313 ASSERT_TRUE(test::HasReferenceFilesInCheckout());
314 ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady()); 314 ASSERT_TRUE(embedded_test_server()->Start());
315 315
316 content::WebContents* left_tab = 316 content::WebContents* left_tab =
317 OpenPageAndGetUserMediaInNewTabWithConstraints( 317 OpenPageAndGetUserMediaInNewTabWithConstraints(
318 embedded_test_server()->GetURL(kMainWebrtcTestHtmlPage), 318 embedded_test_server()->GetURL(kMainWebrtcTestHtmlPage),
319 test_config_.constraints); 319 test_config_.constraints);
320 content::WebContents* right_tab = 320 content::WebContents* right_tab =
321 OpenPageAndGetUserMediaInNewTabWithConstraints( 321 OpenPageAndGetUserMediaInNewTabWithConstraints(
322 embedded_test_server()->GetURL(kCapturingWebrtcHtmlPage), 322 embedded_test_server()->GetURL(kCapturingWebrtcHtmlPage),
323 test_config_.constraints); 323 test_config_.constraints);
324 324
(...skipping 26 matching lines...) Expand all
351 ASSERT_TRUE(CompareVideosAndPrintResult( 351 ASSERT_TRUE(CompareVideosAndPrintResult(
352 test_config_.test_name, 352 test_config_.test_name,
353 test_config_.width, 353 test_config_.width,
354 test_config_.height, 354 test_config_.height,
355 GetWorkingDir().Append(kCapturedYuvFileName), 355 GetWorkingDir().Append(kCapturedYuvFileName),
356 test::GetReferenceFilesDir() 356 test::GetReferenceFilesDir()
357 .Append(test_config_.reference_video) 357 .Append(test_config_.reference_video)
358 .AddExtension(test::kYuvFileExtension), 358 .AddExtension(test::kYuvFileExtension),
359 GetWorkingDir().Append(kStatsFileName))); 359 GetWorkingDir().Append(kStatsFileName)));
360 } 360 }
OLDNEW
« no previous file with comments | « chrome/browser/media/chrome_webrtc_simulcast_browsertest.cc ('k') | chrome/browser/media/chrome_webrtc_webcam_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698