OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |