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

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

Issue 966663002: Fixing misnamed variables, re-enabling CallAndModifyStream test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | 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/files/file_util.h" 6 #include "base/files/file_util.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/threading/platform_thread.h" 8 #include "base/threading/platform_thread.h"
9 #include "content/browser/web_contents/web_contents_impl.h" 9 #include "content/browser/web_contents/web_contents_impl.h"
10 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // getUserMedia. 364 // getUserMedia.
365 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, 365 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest,
366 MAYBE_CallWithNewVideoMediaStream) { 366 MAYBE_CallWithNewVideoMediaStream) {
367 MakeTypicalPeerConnectionCall("callWithNewVideoMediaStream();"); 367 MakeTypicalPeerConnectionCall("callWithNewVideoMediaStream();");
368 } 368 }
369 369
370 // This test will make a PeerConnection-based call and send a new Video 370 // This test will make a PeerConnection-based call and send a new Video
371 // MediaStream that has been created based on a MediaStream created with 371 // MediaStream that has been created based on a MediaStream created with
372 // getUserMedia. When video is flowing, the VideoTrack is removed and an 372 // getUserMedia. When video is flowing, the VideoTrack is removed and an
373 // AudioTrack is added instead. 373 // AudioTrack is added instead.
374 // TODO(phoglund): This test is manual since not all buildbots has an audio 374 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CallAndModifyStream) {
375 // input.
376 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, MANUAL_CallAndModifyStream) {
377 MakeTypicalPeerConnectionCall( 375 MakeTypicalPeerConnectionCall(
378 "callWithNewVideoMediaStreamLaterSwitchToAudio();"); 376 "callWithNewVideoMediaStreamLaterSwitchToAudio();");
379 } 377 }
380 378
381 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, AddTwoMediaStreamsToOnePC) { 379 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, AddTwoMediaStreamsToOnePC) {
382 MakeTypicalPeerConnectionCall("addTwoMediaStreamsToOneConnection();"); 380 MakeTypicalPeerConnectionCall("addTwoMediaStreamsToOneConnection();");
383 } 381 }
384 382
385 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, 383 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest,
386 EstablishAudioVideoCallAndEnsureAudioIsPlaying) { 384 EstablishAudioVideoCallAndEnsureAudioIsPlaying) {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 438
441 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CallAndVerifyVideoMutingWorks) { 439 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CallAndVerifyVideoMutingWorks) {
442 MakeTypicalPeerConnectionCall("callAndEnsureVideoTrackMutingWorks();"); 440 MakeTypicalPeerConnectionCall("callAndEnsureVideoTrackMutingWorks();");
443 } 441 }
444 442
445 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CreateOfferWithOfferOptions) { 443 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CreateOfferWithOfferOptions) {
446 MakeTypicalPeerConnectionCall("testCreateOfferOptions();"); 444 MakeTypicalPeerConnectionCall("testCreateOfferOptions();");
447 } 445 }
448 446
449 } // namespace content 447 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/test/data/media/peerconnection-call.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698