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

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

Issue 23902032: Roll webrtc 4699:4745 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « DEPS ('k') | third_party/libjingle/README.chromium » ('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/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "content/browser/web_contents/web_contents_impl.h" 8 #include "content/browser/web_contents/web_contents_impl.h"
9 #include "content/public/common/content_switches.h" 9 #include "content/public/common/content_switches.h"
10 #include "content/public/test/browser_test_utils.h" 10 #include "content/public/test/browser_test_utils.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, MANUAL_CanSetupCallAndSendDtmf) { 145 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, MANUAL_CanSetupCallAndSendDtmf) {
146 GURL url(embedded_test_server()->GetURL("/media/peerconnection-call.html")); 146 GURL url(embedded_test_server()->GetURL("/media/peerconnection-call.html"));
147 NavigateToURL(shell(), url); 147 NavigateToURL(shell(), url);
148 148
149 EXPECT_TRUE( 149 EXPECT_TRUE(
150 ExecuteJavascript("callAndSendDtmf('123,abc');")); 150 ExecuteJavascript("callAndSendDtmf('123,abc');"));
151 } 151 }
152 152
153 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, 153 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest,
154 CanMakeEmptyCallThenAddStreamsAndRenegotiate) { 154 DISABLED_CanMakeEmptyCallThenAddStreamsAndRenegotiate) {
155 GURL url(embedded_test_server()->GetURL("/media/peerconnection-call.html")); 155 GURL url(embedded_test_server()->GetURL("/media/peerconnection-call.html"));
156 NavigateToURL(shell(), url); 156 NavigateToURL(shell(), url);
157 157
158 const char* kJavascript = 158 const char* kJavascript =
159 "callEmptyThenAddOneStreamAndRenegotiate({video: true, audio: true});"; 159 "callEmptyThenAddOneStreamAndRenegotiate({video: true, audio: true});";
160 EXPECT_TRUE(ExecuteJavascript(kJavascript)); 160 EXPECT_TRUE(ExecuteJavascript(kJavascript));
161 ExpectTitle("OK"); 161 ExpectTitle("OK");
162 } 162 }
163 163
164 // This test will make a complete PeerConnection-based call but remove the 164 // This test will make a complete PeerConnection-based call but remove the
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, AddTwoMediaStreamsToOnePC) { 317 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, AddTwoMediaStreamsToOnePC) {
318 GURL url(embedded_test_server()->GetURL("/media/peerconnection-call.html")); 318 GURL url(embedded_test_server()->GetURL("/media/peerconnection-call.html"));
319 NavigateToURL(shell(), url); 319 NavigateToURL(shell(), url);
320 320
321 EXPECT_TRUE( 321 EXPECT_TRUE(
322 ExecuteJavascript("addTwoMediaStreamsToOneConnection();")); 322 ExecuteJavascript("addTwoMediaStreamsToOneConnection();"));
323 ExpectTitle("OK"); 323 ExpectTitle("OK");
324 } 324 }
325 325
326 } // namespace content 326 } // namespace content
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/libjingle/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698