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

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

Issue 2782423003: Major updates to the echo removal functionality in AEC3 (Closed)
Patch Set: Added initialization of uninitialized vector Created 3 years, 8 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/power_echo_model_unittest.cc
diff --git a/webrtc/modules/audio_processing/aec3/power_echo_model_unittest.cc b/webrtc/modules/audio_processing/aec3/power_echo_model_unittest.cc
deleted file mode 100644
index f3c3634cb7bc7f9b976ae5c5c0211815c2c6f2ca..0000000000000000000000000000000000000000
--- a/webrtc/modules/audio_processing/aec3/power_echo_model_unittest.cc
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#include "webrtc/modules/audio_processing/aec3/power_echo_model.h"
-
-#include <array>
-#include <string>
-#include <vector>
-
-#include "webrtc/base/random.h"
-#include "webrtc/modules/audio_processing/aec3/aec_state.h"
-#include "webrtc/modules/audio_processing/aec3/aec3_common.h"
-#include "webrtc/modules/audio_processing/aec3/aec3_fft.h"
-#include "webrtc/modules/audio_processing/aec3/echo_path_variability.h"
-#include "webrtc/modules/audio_processing/test/echo_canceller_test_tools.h"
-
-#include "webrtc/test/gtest.h"
-
-namespace webrtc {
-
-#if RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
-
-// Verifies that the check for non-null output parameter works.
-TEST(PowerEchoModel, NullEstimateEchoOutput) {
- PowerEchoModel model;
- std::array<float, kFftLengthBy2Plus1> Y2;
- AecState aec_state;
- RenderBuffer X_buffer(Aec3Optimization::kNone, 3,
- model.MinFarendBufferLength(),
- std::vector<size_t>(1, model.MinFarendBufferLength()));
-
- EXPECT_DEATH(model.EstimateEcho(X_buffer, Y2, aec_state, nullptr), "");
-}
-
-#endif
-
-
-} // namespace webrtc
« no previous file with comments | « webrtc/modules/audio_processing/aec3/power_echo_model.cc ('k') | webrtc/modules/audio_processing/aec3/render_delay_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698