From 9705bb81d67fa7a04bb0f6ee8f537aeb9759e0be Mon Sep 17 00:00:00 2001 From: minyue Date: Tue, 5 Apr 2016 04:39:15 -0700 Subject: [PATCH] Fixing an error in DebugDumpTest. A recent change in DebugDumpTest introduced an error https://codereview.webrtc.org/1810463002/ The file was not fully scanned. This CL fixes it. BUG= Review URL: https://codereview.webrtc.org/1864453002 Cr-Commit-Position: refs/heads/master@{#12236} --- webrtc/modules/audio_processing/test/debug_dump_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_processing/test/debug_dump_test.cc b/webrtc/modules/audio_processing/test/debug_dump_test.cc index 06ec63bcdb..b16144b125 100644 --- a/webrtc/modules/audio_processing/test/debug_dump_test.cc +++ b/webrtc/modules/audio_processing/test/debug_dump_test.cc @@ -241,7 +241,7 @@ class DebugDumpTest : public ::testing::Test { void DebugDumpTest::VerifyDebugDump(const std::string& in_filename) { ASSERT_TRUE(debug_dump_replayer_.SetDumpFile(in_filename)); - if (const rtc::Optional event = + while (const rtc::Optional event = debug_dump_replayer_.GetNextEvent()) { debug_dump_replayer_.RunNextEvent(); if (event->type() == audioproc::Event::STREAM) {