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

Unified Diff: webrtc/test/fake_audio_device.cc

Issue 2054373002: FileWrapper[Impl] modifications and actually remove the "Impl" class. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix use of ASSERT instead of ASSERT_TRUE in test Created 4 years, 6 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 | « webrtc/system_wrappers/system_wrappers.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/fake_audio_device.cc
diff --git a/webrtc/test/fake_audio_device.cc b/webrtc/test/fake_audio_device.cc
index 435c53f8783fc7f9ecb6bd8d149d9c0e6cd4215f..43c2933ba76b9ae3a220170fad05870c60043950 100644
--- a/webrtc/test/fake_audio_device.cc
+++ b/webrtc/test/fake_audio_device.cc
@@ -39,8 +39,7 @@ FakeAudioDevice::FakeAudioDevice(Clock* clock,
memset(captured_audio_, 0, sizeof(captured_audio_));
memset(playout_buffer_, 0, sizeof(playout_buffer_));
// Open audio input file as read-only and looping.
- EXPECT_EQ(0, input_stream_->OpenFile(filename.c_str(), true, true))
- << filename;
+ EXPECT_TRUE(input_stream_->OpenFile(filename.c_str(), true)) << filename;
}
FakeAudioDevice::~FakeAudioDevice() {
« no previous file with comments | « webrtc/system_wrappers/system_wrappers.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698