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

Side by Side Diff: trunk/src/content/browser/media/webrtc_browsertest.cc

Issue 466983002: Revert 288702 "Content browsertest for verifying that a black fr..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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 | trunk/src/content/test/data/media/peerconnection-call.html » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/process/process_handle.h" 7 #include "base/process/process_handle.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/threading/platform_thread.h" 10 #include "base/threading/platform_thread.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, 118 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest,
119 CanSetupVideoCallWith1To1AspectRatio) { 119 CanSetupVideoCallWith1To1AspectRatio) {
120 const std::string javascript = 120 const std::string javascript =
121 "callAndExpectResolution({video: {mandatory: {minWidth: 320," 121 "callAndExpectResolution({video: {mandatory: {minWidth: 320,"
122 " maxWidth: 320, minHeight: 320, maxHeight: 320}}}, 320, 320);"; 122 " maxWidth: 320, minHeight: 320, maxHeight: 320}}}, 320, 320);";
123 MakeTypicalPeerConnectionCall(javascript); 123 MakeTypicalPeerConnectionCall(javascript);
124 } 124 }
125 125
126 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, 126 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest,
127 CanSetupVideoCallAndDisableLocalVideo) {
128 const std::string javascript =
129 "callAndDisableLocalVideo({video: true});";
130 MakeTypicalPeerConnectionCall(javascript);
131 }
132
133 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest,
134 CanSetupVideoCallWith16To9AspectRatio) { 127 CanSetupVideoCallWith16To9AspectRatio) {
135 const std::string javascript = 128 const std::string javascript =
136 "callAndExpectResolution({video: {mandatory: {minWidth: 640," 129 "callAndExpectResolution({video: {mandatory: {minWidth: 640,"
137 " maxWidth: 640, minAspectRatio: 1.777}}}, 640, 360);"; 130 " maxWidth: 640, minAspectRatio: 1.777}}}, 640, 360);";
138 MakeTypicalPeerConnectionCall(javascript); 131 MakeTypicalPeerConnectionCall(javascript);
139 } 132 }
140 133
141 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, 134 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest,
142 CanSetupVideoCallWith4To3AspectRatio) { 135 CanSetupVideoCallWith4To3AspectRatio) {
143 const std::string javascript = 136 const std::string javascript =
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 538
546 base::DeleteFile(unique_dump_file, false); 539 base::DeleteFile(unique_dump_file, false);
547 } 540 }
548 } 541 }
549 542
550 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, CreateOfferWithOfferOptions) { 543 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, CreateOfferWithOfferOptions) {
551 MakeTypicalPeerConnectionCall("testCreateOfferOptions();"); 544 MakeTypicalPeerConnectionCall("testCreateOfferOptions();");
552 } 545 }
553 546
554 } // namespace content 547 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | trunk/src/content/test/data/media/peerconnection-call.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698