Index: webrtc/modules/audio_processing/audio_processing_unittest.cc |
diff --git a/webrtc/modules/audio_processing/audio_processing_unittest.cc b/webrtc/modules/audio_processing/audio_processing_unittest.cc |
index f865c87c3baa54f72b491ab16675c212a2139df7..d4faa812055eac5a0f9808a89a3e06f7aa2a9763 100644 |
--- a/webrtc/modules/audio_processing/audio_processing_unittest.cc |
+++ b/webrtc/modules/audio_processing/audio_processing_unittest.cc |
@@ -929,25 +929,12 @@ |
EXPECT_EQ(apm_->kNotEnabledError, |
apm_->echo_cancellation()->GetMetrics(&metrics)); |
- EXPECT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(true)); |
- EXPECT_TRUE(apm_->echo_cancellation()->is_enabled()); |
- |
EXPECT_EQ(apm_->kNoError, |
apm_->echo_cancellation()->enable_metrics(true)); |
EXPECT_TRUE(apm_->echo_cancellation()->are_metrics_enabled()); |
EXPECT_EQ(apm_->kNoError, |
apm_->echo_cancellation()->enable_metrics(false)); |
EXPECT_FALSE(apm_->echo_cancellation()->are_metrics_enabled()); |
- |
- EXPECT_EQ(apm_->kNoError, |
- apm_->echo_cancellation()->enable_delay_logging(true)); |
- EXPECT_TRUE(apm_->echo_cancellation()->is_delay_logging_enabled()); |
- EXPECT_EQ(apm_->kNoError, |
- apm_->echo_cancellation()->enable_delay_logging(false)); |
- EXPECT_FALSE(apm_->echo_cancellation()->is_delay_logging_enabled()); |
- |
- EXPECT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(false)); |
- EXPECT_FALSE(apm_->echo_cancellation()->is_enabled()); |
int median = 0; |
int std = 0; |
@@ -955,6 +942,13 @@ |
EXPECT_EQ(apm_->kNotEnabledError, |
apm_->echo_cancellation()->GetDelayMetrics(&median, &std, |
&poor_fraction)); |
+ |
+ EXPECT_EQ(apm_->kNoError, |
+ apm_->echo_cancellation()->enable_delay_logging(true)); |
+ EXPECT_TRUE(apm_->echo_cancellation()->is_delay_logging_enabled()); |
+ EXPECT_EQ(apm_->kNoError, |
+ apm_->echo_cancellation()->enable_delay_logging(false)); |
+ EXPECT_FALSE(apm_->echo_cancellation()->is_delay_logging_enabled()); |
EXPECT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(true)); |
EXPECT_TRUE(apm_->echo_cancellation()->is_enabled()); |