Remove the check for audio codec num in WebRtcVoiceEngineTest.HasCorrectCodecs.
R=mallinath@webrtc.org Review URL: https://webrtc-codereview.appspot.com/7589004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5430 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -2902,9 +2902,6 @@ TEST(WebRtcVoiceEngineTest, HasCorrectCodecs) {
|
||||
EXPECT_FALSE(engine.FindCodec(cricket::AudioCodec(0, "", 0, 0, 2, 0)));
|
||||
EXPECT_FALSE(engine.FindCodec(cricket::AudioCodec(0, "", 5000, 0, 1, 0)));
|
||||
EXPECT_FALSE(engine.FindCodec(cricket::AudioCodec(0, "", 0, 5000, 1, 0)));
|
||||
// Check that there aren't any extra codecs lying around.
|
||||
size_t codecs_num = 12;
|
||||
EXPECT_EQ(codecs_num, engine.codecs().size());
|
||||
// Verify the payload id of common audio codecs, including CN, ISAC, and G722.
|
||||
for (std::vector<cricket::AudioCodec>::const_iterator it =
|
||||
engine.codecs().begin(); it != engine.codecs().end(); ++it) {
|
||||
|
Reference in New Issue
Block a user