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

Unified Diff: webrtc/modules/audio_processing/aec3/block_processor_unittest.cc

Issue 2644123002: Adding full initial version of delay estimation functionality in echo canceller 3 (Closed)
Patch Set: Rebase Created 3 years, 10 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
Index: webrtc/modules/audio_processing/aec3/block_processor_unittest.cc
diff --git a/webrtc/modules/audio_processing/aec3/block_processor_unittest.cc b/webrtc/modules/audio_processing/aec3/block_processor_unittest.cc
index b5d6a1432f4a9d6891020d1d8a61d4e1cc5c0138..ac3af6afb12da84c160cc827e188916536a15882 100644
--- a/webrtc/modules/audio_processing/aec3/block_processor_unittest.cc
+++ b/webrtc/modules/audio_processing/aec3/block_processor_unittest.cc
@@ -252,6 +252,12 @@ TEST(BlockProcessor, NullBufferRenderParameter) {
"");
}
+// Verifies the check for correct sample rate.
+TEST(BlockProcessor, WrongSampleRate) {
+ EXPECT_DEATH(std::unique_ptr<BlockProcessor>(BlockProcessor::Create(8001)),
+ "");
+}
+
#endif
} // namespace webrtc
« no previous file with comments | « webrtc/modules/audio_processing/aec3/block_processor.cc ('k') | webrtc/modules/audio_processing/aec3/decimator_by_4.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698