Index: webrtc/voice_engine/test/auto_test/standard/codec_test.cc |
diff --git a/webrtc/voice_engine/test/auto_test/standard/codec_test.cc b/webrtc/voice_engine/test/auto_test/standard/codec_test.cc |
index eeb12aba04ecb06cedc8962a56457fea877a3abd..5ab6d58c1d92eccbbd11ed46b870280866fd486d 100644 |
--- a/webrtc/voice_engine/test/auto_test/standard/codec_test.cc |
+++ b/webrtc/voice_engine/test/auto_test/standard/codec_test.cc |
@@ -153,17 +153,6 @@ TEST_F(CodecTest, OpusMaxPlaybackRateCanBeSet) { |
} |
} |
-TEST_F(CodecTest, OpusMaxPlaybackRateCannotBeSetForNonOpus) { |
- for (int i = 0; i < voe_codec_->NumOfCodecs(); ++i) { |
- voe_codec_->GetCodec(i, codec_instance_); |
- if (!_stricmp("opus", codec_instance_.plname)) { |
- continue; |
- } |
- voe_codec_->SetSendCodec(channel_, codec_instance_); |
- EXPECT_EQ(-1, voe_codec_->SetOpusMaxPlaybackRate(channel_, 16000)); |
- } |
-} |
- |
TEST_F(CodecTest, OpusDtxCanBeSetForOpus) { |
for (int i = 0; i < voe_codec_->NumOfCodecs(); ++i) { |
voe_codec_->GetCodec(i, codec_instance_); |
@@ -183,7 +172,6 @@ TEST_F(CodecTest, OpusDtxCannotBeSetForNonOpus) { |
continue; |
} |
voe_codec_->SetSendCodec(channel_, codec_instance_); |
- EXPECT_EQ(-1, voe_codec_->SetOpusDtx(channel_, false)); |
EXPECT_EQ(-1, voe_codec_->SetOpusDtx(channel_, true)); |
} |
} |