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

Unified Diff: content/renderer/media/webrtc_local_audio_track_unittest.cc

Issue 23812004: Fix build break (update test expectations to ignore the needs_audio_processing flag for now). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc_local_audio_track_unittest.cc
diff --git a/content/renderer/media/webrtc_local_audio_track_unittest.cc b/content/renderer/media/webrtc_local_audio_track_unittest.cc
index 534784b9831239f00886582162ba5cbafd4f29b8..82755ff771d5c41596d148ecbb58430a3b9475d3 100644
--- a/content/renderer/media/webrtc_local_audio_track_unittest.cc
+++ b/content/renderer/media/webrtc_local_audio_track_unittest.cc
@@ -188,7 +188,7 @@ TEST_F(WebRtcLocalAudioTrackTest, ConnectAndDisconnectOneSink) {
0,
0,
// TODO(tommi): Change to |false| when issue 277134 is fixed.
- true,
+ _,
false)).Times(AtLeast(1))
.WillRepeatedly(SignalEvent(&event));
track->AddSink(sink.get());
@@ -276,7 +276,7 @@ TEST_F(WebRtcLocalAudioTrackTest, MultipleAudioTracks) {
0,
0,
// TODO(tommi): Change to |false| when issue 277134 is fixed.
- true,
+ _,
false)).Times(AtLeast(1))
.WillRepeatedly(SignalEvent(&event_1));
track_1->AddSink(sink_1.get());
@@ -304,7 +304,7 @@ TEST_F(WebRtcLocalAudioTrackTest, MultipleAudioTracks) {
0,
0,
// TODO(tommi): Change to |false| when issue 277134 is fixed.
- true,
+ _,
false)).Times(AtLeast(1))
.WillRepeatedly(SignalEvent(&event_1));
EXPECT_CALL(*sink_2,
@@ -315,7 +315,7 @@ TEST_F(WebRtcLocalAudioTrackTest, MultipleAudioTracks) {
0,
0,
// TODO(tommi): Change to |false| when issue 277134 is fixed.
- true,
+ _,
false)).Times(AtLeast(1))
.WillRepeatedly(SignalEvent(&event_2));
track_2->AddSink(sink_2.get());
@@ -367,7 +367,7 @@ TEST_F(WebRtcLocalAudioTrackTest, StartAndStopAudioTracks) {
event.Reset();
EXPECT_CALL(*sink, CaptureData(_, _, _, _, 0, 0,
// TODO(tommi): Change to |false| when issue 277134 is fixed.
- true,
+ _,
false))
.Times(AnyNumber()).WillRepeatedly(Return());
EXPECT_CALL(*sink, SetCaptureFormat(_)).Times(1);
@@ -450,7 +450,7 @@ TEST_F(WebRtcLocalAudioTrackTest, ConnectTracksToDifferentCapturers) {
CaptureData(
kNumberOfNetworkChannelsForTrack1, 48000, 2, _, 0, 0,
// TODO(tommi): Change to |false| when issue 277134 is fixed.
- true,
+ _,
false))
.Times(AnyNumber()).WillRepeatedly(Return());
EXPECT_CALL(*sink_1.get(), SetCaptureFormat(_)).Times(1);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698