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

Unified Diff: media/audio/mac/audio_auhal_mac_unittest.cc

Issue 290003002: Remove OnMoreIOData() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed the media unittests on mac. Created 6 years, 7 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 | « media/audio/mac/audio_auhal_mac.cc ('k') | media/audio/mock_audio_source_callback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/audio_auhal_mac_unittest.cc
diff --git a/media/audio/mac/audio_auhal_mac_unittest.cc b/media/audio/mac/audio_auhal_mac_unittest.cc
index fd0ffffbdfd16db50cce77fb14d2532a13e629d1..69179d56078a5178490b49a27a2b5c5d2cef4e1b 100644
--- a/media/audio/mac/audio_auhal_mac_unittest.cc
+++ b/media/audio/mac/audio_auhal_mac_unittest.cc
@@ -23,7 +23,7 @@ using testing::Return;
namespace media {
ACTION(ZeroBuffer) {
- arg1->Zero();
+ arg0->Zero();
}
ACTION_P(SignalEvent, event) {
@@ -93,7 +93,7 @@ TEST_F(AUHALStreamTest, CreateOpenStartStopClose) {
// Wait for the first data callback from the OS.
base::WaitableEvent event(false, false);
- EXPECT_CALL(source_, OnMoreIOData(_, _, _))
+ EXPECT_CALL(source_, OnMoreData(_, _))
.WillOnce(DoAll(ZeroBuffer(), SignalEvent(&event), Return(0)));
EXPECT_CALL(source_, OnError(_)).Times(0);
stream->Start(&source_);
« no previous file with comments | « media/audio/mac/audio_auhal_mac.cc ('k') | media/audio/mock_audio_source_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698